Home
last modified time | relevance | path

Searched refs:LongArrayList (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/
DLongArrayList.java44 final class LongArrayList class
48 private static final LongArrayList EMPTY_LIST = new LongArrayList();
53 public static LongArrayList emptyList() { in emptyList()
71 LongArrayList() { in LongArrayList() method in LongArrayList
79 private LongArrayList(long[] other, int size) { in LongArrayList() method in LongArrayList
89 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()
DGeneratedMessageLite.java1274 return LongArrayList.emptyList(); in emptyLongList()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DLongArrayListTest.java48 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 …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am227 java/core/src/main/java/com/google/protobuf/LongArrayList.java \