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