Home
last modified time | relevance | path

Searched refs:ProtobufArrayList (Results 1 – 6 of 6) sorted by relevance

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DProtobufArrayList.java41 final class ProtobufArrayList<E> extends AbstractProtobufList<E> { class
43 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 ProtobufArrayList
59 private ProtobufArrayList(List<E> list) { in ProtobufArrayList() method in ProtobufArrayList
64 public ProtobufArrayList<E> mutableCopyWithCapacity(int capacity) { in mutableCopyWithCapacity()
70 return new ProtobufArrayList<E>(newList); in mutableCopyWithCapacity()
DGeneratedMessageLite.java1287 return ProtobufArrayList.emptyList(); in emptyProtobufList()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DProtobufArrayListTest.java47 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()
/external/protobuf/
Dbuild.gradle66 include 'com/google/protobuf/ProtobufArrayList.java'
DAndroid.bp552 "java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java",
DMakefile.am238 java/core/src/main/java/com/google/protobuf/ProtobufArrayList.java \