Package com.google.protobuf
Class ProtobufLists
- java.lang.Object
-
- com.google.protobuf.ProtobufLists
-
@ExperimentalApi @CheckReturnValue final class ProtobufLists extends java.lang.Object
Utility class for construction of lists that extendInternal.ProtobufList
.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
ProtobufLists()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Internal.BooleanList
emptyBooleanList()
static Internal.DoubleList
emptyDoubleList()
static Internal.FloatList
emptyFloatList()
static Internal.IntList
emptyIntList()
static Internal.LongList
emptyLongList()
static <E> Internal.ProtobufList<E>
emptyProtobufList()
static <E> Internal.ProtobufList<E>
mutableCopy(Internal.ProtobufList<E> list)
static Internal.BooleanList
newBooleanList()
static Internal.DoubleList
newDoubleList()
static Internal.FloatList
newFloatList()
static Internal.IntList
newIntList()
static Internal.LongList
newLongList()
-
-
-
Method Detail
-
emptyProtobufList
public static <E> Internal.ProtobufList<E> emptyProtobufList()
-
mutableCopy
public static <E> Internal.ProtobufList<E> mutableCopy(Internal.ProtobufList<E> list)
-
emptyBooleanList
public static Internal.BooleanList emptyBooleanList()
-
newBooleanList
public static Internal.BooleanList newBooleanList()
-
emptyIntList
public static Internal.IntList emptyIntList()
-
newIntList
public static Internal.IntList newIntList()
-
emptyLongList
public static Internal.LongList emptyLongList()
-
newLongList
public static Internal.LongList newLongList()
-
emptyFloatList
public static Internal.FloatList emptyFloatList()
-
newFloatList
public static Internal.FloatList newFloatList()
-
emptyDoubleList
public static Internal.DoubleList emptyDoubleList()
-
newDoubleList
public static Internal.DoubleList newDoubleList()
-
-