|
|
@ -67,12 +67,17 @@ public class LazyStringArrayList extends AbstractProtobufList<String> |
|
|
|
EMPTY_LIST.makeImmutable(); |
|
|
|
EMPTY_LIST.makeImmutable(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
static LazyStringArrayList emptyList() { |
|
|
|
/** Returns an empty immutable {@code LazyStringArrayList} instance */ |
|
|
|
|
|
|
|
public static LazyStringArrayList emptyList() { |
|
|
|
return EMPTY_LIST; |
|
|
|
return EMPTY_LIST; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// For compatibility with older runtimes.
|
|
|
|
/** |
|
|
|
public static final LazyStringList EMPTY = EMPTY_LIST; |
|
|
|
* For compatibility with older runtimes. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @deprecated use {@link emptyList()} instead |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Deprecated public static final LazyStringList EMPTY = EMPTY_LIST; |
|
|
|
|
|
|
|
|
|
|
|
private final List<Object> list; |
|
|
|
private final List<Object> list; |
|
|
|
|
|
|
|
|
|
|
|