Home
last modified time | relevance | path

Searched refs:BooleanArrayList (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DBooleanArrayList.java44 final class BooleanArrayList class
48 private static final BooleanArrayList EMPTY_LIST = new BooleanArrayList();
53 public static BooleanArrayList emptyList() { in emptyList()
71 BooleanArrayList() { in BooleanArrayList() method in BooleanArrayList
79 private BooleanArrayList(boolean[] other, int size) { in BooleanArrayList() method in BooleanArrayList
89 if (!(o instanceof BooleanArrayList)) { in equals()
92 BooleanArrayList other = (BooleanArrayList) o; in equals()
121 return new BooleanArrayList(Arrays.copyOf(array, capacity), size); in mutableCopyWithCapacity()
206 if (!(collection instanceof BooleanArrayList)) { in addAll()
210 BooleanArrayList list = (BooleanArrayList) collection; in addAll()
DGeneratedMessageLite.java1304 return BooleanArrayList.emptyList(); in emptyBooleanList()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DBooleanArrayListTest.java48 private static final BooleanArrayList UNARY_LIST =
50 private static final BooleanArrayList TERTIARY_LIST =
53 private BooleanArrayList list;
57 list = new BooleanArrayList(); in setUp()
61 assertSame(BooleanArrayList.emptyList(), BooleanArrayList.emptyList()); in testEmptyListReturnsSameInstance()
65 assertImmutable(BooleanArrayList.emptyList()); in testEmptyListIsImmutable()
145 assertEquals(0, BooleanArrayList.emptyList().size()); in testSize()
270 assertFalse(list.addAll(BooleanArrayList.emptyList())); in testAddAll()
301 private void assertImmutable(BooleanArrayList list) { in assertImmutable()
332 list.addAll(new BooleanArrayList()); in assertImmutable()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am200 java/core/src/main/java/com/google/protobuf/BooleanArrayList.java \