1 /*
2  * Copyright (c) 1997, 2006, Oracle and/or its affiliates. All rights reserved.
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * This code is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 only, as
7  * published by the Free Software Foundation.  Oracle designates this
8  * particular file as subject to the "Classpath" exception as provided
9  * by Oracle in the LICENSE file that accompanied this code.
10  *
11  * This code is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14  * version 2 for more details (a copy is included in the LICENSE file that
15  * accompanied this code).
16  *
17  * You should have received a copy of the GNU General Public License version
18  * 2 along with this work; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20  *
21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22  * or visit www.oracle.com if you need additional information or have any
23  * questions.
24  */
25 
26 package sun.security.util;
27 
28 @SuppressWarnings({"unchecked", "deprecation", "all"})
29 public class BitArray {
30 
BitArray(int length)31     public BitArray(int length) throws java.lang.IllegalArgumentException {
32         throw new RuntimeException("Stub!");
33     }
34 
35     @android.compat.annotation.UnsupportedAppUsage
BitArray(int length, byte[] a)36     public BitArray(int length, byte[] a) throws java.lang.IllegalArgumentException {
37         throw new RuntimeException("Stub!");
38     }
39 
BitArray(boolean[] bits)40     public BitArray(boolean[] bits) {
41         throw new RuntimeException("Stub!");
42     }
43 
BitArray(sun.security.util.BitArray ba)44     private BitArray(sun.security.util.BitArray ba) {
45         throw new RuntimeException("Stub!");
46     }
47 
subscript(int idx)48     private static int subscript(int idx) {
49         throw new RuntimeException("Stub!");
50     }
51 
position(int idx)52     private static int position(int idx) {
53         throw new RuntimeException("Stub!");
54     }
55 
get(int index)56     public boolean get(int index) throws java.lang.ArrayIndexOutOfBoundsException {
57         throw new RuntimeException("Stub!");
58     }
59 
set(int index, boolean value)60     public void set(int index, boolean value) throws java.lang.ArrayIndexOutOfBoundsException {
61         throw new RuntimeException("Stub!");
62     }
63 
length()64     public int length() {
65         throw new RuntimeException("Stub!");
66     }
67 
68     @android.compat.annotation.UnsupportedAppUsage
toByteArray()69     public byte[] toByteArray() {
70         throw new RuntimeException("Stub!");
71     }
72 
equals(java.lang.Object obj)73     public boolean equals(java.lang.Object obj) {
74         throw new RuntimeException("Stub!");
75     }
76 
toBooleanArray()77     public boolean[] toBooleanArray() {
78         throw new RuntimeException("Stub!");
79     }
80 
hashCode()81     public int hashCode() {
82         throw new RuntimeException("Stub!");
83     }
84 
clone()85     public java.lang.Object clone() {
86         throw new RuntimeException("Stub!");
87     }
88 
toString()89     public java.lang.String toString() {
90         throw new RuntimeException("Stub!");
91     }
92 
truncate()93     public sun.security.util.BitArray truncate() {
94         throw new RuntimeException("Stub!");
95     }
96 
97     private static final int BITS_PER_UNIT = 8; // 0x8
98 
99     private static final int BYTES_PER_LINE = 8; // 0x8
100 
101     private static final byte[][] NYBBLE;
102 
103     static {
104         NYBBLE = new byte[0][];
105     }
106 
107     private int length;
108 
109     private byte[] repn;
110 }
111