Searched refs:ProtobufArrayList (Results 1 – 6 of 6) sorted by relevance
41 final class ProtobufArrayList<E> extends AbstractProtobufList<E> { class43 private static final ProtobufArrayList<Object> EMPTY_LIST = new ProtobufArrayList<Object>();49 public static <E> ProtobufArrayList<E> emptyList() { in emptyList()50 return (ProtobufArrayList<E>) EMPTY_LIST; in emptyList()55 ProtobufArrayList() { in ProtobufArrayList() method in ProtobufArrayList59 private ProtobufArrayList(List<E> list) { in ProtobufArrayList() method in ProtobufArrayList64 public ProtobufArrayList<E> mutableCopyWithCapacity(int capacity) { in mutableCopyWithCapacity()70 return new ProtobufArrayList<E>(newList); in mutableCopyWithCapacity()
1287 return ProtobufArrayList.emptyList(); in emptyProtobufList()
47 private static final ProtobufArrayList<Integer> UNARY_LIST = newImmutableProtoArrayList(1);48 private static final ProtobufArrayList<Integer> TERTIARY_LIST =51 private ProtobufArrayList<Integer> list;55 list = new ProtobufArrayList<Integer>(); in setUp()59 assertSame(ProtobufArrayList.emptyList(), ProtobufArrayList.emptyList()); in testEmptyListReturnsSameInstance()63 assertImmutable(ProtobufArrayList.<Integer>emptyList()); in testEmptyListIsImmutable()176 list.addAll(new ProtobufArrayList<Integer>()); in assertImmutable()281 private static ProtobufArrayList<Integer> newImmutableProtoArrayList(int... elements) { in newImmutableProtoArrayList()282 ProtobufArrayList<Integer> list = new ProtobufArrayList<Integer>(); in newImmutableProtoArrayList()
66 include 'com/google/protobuf/ProtobufArrayList.java'
552 "java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java",
238 java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java \