Interface Internal.ProtobufList<E>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isModifiable()
      Returns whether this list can be modified via the publicly accessible List methods.
      void makeImmutable()
      Makes this list immutable.
      Internal.ProtobufList<E> mutableCopyWithCapacity​(int capacity)
      Returns a mutable clone of this list with the specified capacity.
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Method Detail

      • makeImmutable

        void makeImmutable()
        Makes this list immutable. All subsequent modifications will throw an UnsupportedOperationException.
      • isModifiable

        boolean isModifiable()
        Returns whether this list can be modified via the publicly accessible List methods.
      • mutableCopyWithCapacity

        Internal.ProtobufList<E> mutableCopyWithCapacity​(int capacity)
        Returns a mutable clone of this list with the specified capacity.