Home
last modified time | relevance | path

Searched refs:LongArrayList (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DLongArrayList.java44 final class LongArrayList extends AbstractProtobufList<Long> implements LongList, RandomAccess { class
46 private static final LongArrayList EMPTY_LIST = new LongArrayList();
51 public static LongArrayList emptyList() { in emptyList()
69 LongArrayList() { in LongArrayList() method in LongArrayList
76 private LongArrayList(long[] array, int size) { in LongArrayList() method in LongArrayList
89 LongArrayList other = (LongArrayList) o; in equals()
118 return new LongArrayList(Arrays.copyOf(array, capacity), size); in mutableCopyWithCapacity()
203 if (!(collection instanceof LongArrayList)) { in addAll()
207 LongArrayList list = (LongArrayList) collection; in addAll()
DGeneratedMessageLite.java1247 return LongArrayList.emptyList(); in emptyLongList()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DLongArrayListTest.java48 private static final LongArrayList UNARY_LIST = newImmutableLongArrayList(1);
49 private static final LongArrayList TERTIARY_LIST =
52 private LongArrayList list;
56 list = new LongArrayList(); in setUp()
60 assertSame(LongArrayList.emptyList(), LongArrayList.emptyList()); in testEmptyListReturnsSameInstance()
64 assertImmutable(LongArrayList.emptyList()); in testEmptyListIsImmutable()
144 assertEquals(0, LongArrayList.emptyList().size()); in testSize()
267 assertFalse(list.addAll(LongArrayList.emptyList())); in testAddAll()
298 private void assertImmutable(LongArrayList list) { in assertImmutable()
332 list.addAll(new LongArrayList()); in assertImmutable()
[all …]
/external/protobuf/
Dbuild.gradle59 include 'com/google/protobuf/LongArrayList.java'
DAndroid.bp545 "java/core/src/main/java/com/google/protobuf/LongArrayList.java",
DMakefile.am224 java/core/src/main/java/com/google/protobuf/LongArrayList.java \