Searched refs:LongArrayList (Results 1 – 4 of 4) sorted by relevance
44 final class LongArrayList class48 private static final LongArrayList EMPTY_LIST = new LongArrayList();53 public static LongArrayList emptyList() { in emptyList()71 LongArrayList() { in LongArrayList() method in LongArrayList79 private LongArrayList(long[] other, int size) { in LongArrayList() method in LongArrayList89 if (!(o instanceof LongArrayList)) { in equals()92 LongArrayList other = (LongArrayList) o; in equals()121 return new LongArrayList(Arrays.copyOf(array, capacity), size); in mutableCopyWithCapacity()206 if (!(collection instanceof LongArrayList)) { in addAll()210 LongArrayList list = (LongArrayList) collection; in addAll()
1274 return LongArrayList.emptyList(); in emptyLongList()
48 private static final LongArrayList UNARY_LIST =50 private static final LongArrayList TERTIARY_LIST =53 private LongArrayList list;57 list = new LongArrayList(); in setUp()61 assertSame(LongArrayList.emptyList(), LongArrayList.emptyList()); in testEmptyListReturnsSameInstance()65 assertImmutable(LongArrayList.emptyList()); in testEmptyListIsImmutable()145 assertEquals(0, LongArrayList.emptyList().size()); in testSize()270 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll()301 private void assertImmutable(LongArrayList list) { in assertImmutable()335 list.addAll(new LongArrayList()); in assertImmutable()[all …]
227 java/core/src/main/java/com/google/protobuf/LongArrayList.java \