Class UnmodifiableMutableCollection<T>

    • Constructor Detail

      • UnmodifiableMutableCollection

        UnmodifiableMutableCollection​(MutableCollection<? extends T> collection)
    • Method Detail

      • of

        public static <E,​C extends java.util.Collection<E>> UnmodifiableMutableCollection<E> of​(C collection)
        This method will take a MutableCollection and wrap it directly in a UnmodifiableMutableCollection. It will take any other non-Eclipse-Collections collection and first adapt it will a CollectionAdapter, and then return a UnmodifiableMutableCollection that wraps the adapter.
      • writeReplace

        protected java.lang.Object writeReplace()