Home
last modified time | relevance | path

Searched refs:DoubleArrayList (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/
DDoubleArrayList.java44 final class DoubleArrayList class
48 private static final DoubleArrayList EMPTY_LIST = new DoubleArrayList();
53 public static DoubleArrayList emptyList() { in emptyList()
71 DoubleArrayList() { in DoubleArrayList() method in DoubleArrayList
79 private DoubleArrayList(double[] other, int size) { in DoubleArrayList() method in DoubleArrayList
89 if (!(o instanceof DoubleArrayList)) { in equals()
92 DoubleArrayList other = (DoubleArrayList) o; in equals()
122 return new DoubleArrayList(Arrays.copyOf(array, capacity), size); in mutableCopyWithCapacity()
207 if (!(collection instanceof DoubleArrayList)) { in addAll()
211 DoubleArrayList list = (DoubleArrayList) collection; in addAll()
DGeneratedMessageLite.java1294 return DoubleArrayList.emptyList(); in emptyDoubleList()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDoubleArrayListTest.java48 private static final DoubleArrayList UNARY_LIST =
50 private static final DoubleArrayList TERTIARY_LIST =
53 private DoubleArrayList list;
57 list = new DoubleArrayList(); in setUp()
61 assertSame(DoubleArrayList.emptyList(), DoubleArrayList.emptyList()); in testEmptyListReturnsSameInstance()
65 assertImmutable(DoubleArrayList.emptyList()); in testEmptyListIsImmutable()
145 assertEquals(0, DoubleArrayList.emptyList().size()); in testSize()
270 assertFalse(list.addAll(DoubleArrayList.emptyList())); in testAddAll()
301 private void assertImmutable(DoubleArrayList list) { in assertImmutable()
335 list.addAll(new DoubleArrayList()); in assertImmutable()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/
DMakefile.am207 java/core/src/main/java/com/google/protobuf/DoubleArrayList.java \