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