Class ProtobufArrayList<E>

All Implemented Interfaces:
Internal.ProtobufList<E>, Iterable<E>, Collection<E>, List<E>, RandomAccess, SequencedCollection<E>

final class ProtobufArrayList<E> extends AbstractProtobufList<E> implements RandomAccess
Implements Internal.ProtobufList for non-primitive and String types.
  • Field Details

    • EMPTY_ARRAY

      private static final Object[] EMPTY_ARRAY
    • EMPTY_LIST

      private static final ProtobufArrayList<Object> EMPTY_LIST
    • array

      private E[] array
    • size

      private int size
  • Constructor Details

    • ProtobufArrayList

      ProtobufArrayList()
    • ProtobufArrayList

      private ProtobufArrayList(E[] array, int size, boolean isMutable)
  • Method Details