Searched refs:BooleanArrayList (Results 1 – 4 of 4) sorted by relevance
44 final class BooleanArrayList class48 private static final BooleanArrayList EMPTY_LIST = new BooleanArrayList();53 public static BooleanArrayList emptyList() { in emptyList()71 BooleanArrayList() { in BooleanArrayList() method in BooleanArrayList79 private BooleanArrayList(boolean[] other, int size) { in BooleanArrayList() method in BooleanArrayList89 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()
1304 return BooleanArrayList.emptyList(); in emptyBooleanList()
48 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 …]
200 java/core/src/main/java/com/google/protobuf/BooleanArrayList.java \