Interface ImmutableCollection<E>

  • Type Parameters:
    E - The type of element contained in the collection.
    All Superinterfaces:
    java.util.Collection<E>, java.lang.Iterable<E>
    All Known Implementing Classes:
    ObjectList, ObjectSet

    public interface ImmutableCollection<E>
    extends java.util.Collection<E>
    A marker interface indicating that the collection is immutable.
    Author:
    Garret Wilson
    • Method Summary

      • Methods inherited from interface java.util.Collection

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach