Interface UpdatableSet<E>

  • Type Parameters:
    E - the type of elements in this Set
    All Superinterfaces:
    UpdatableCollection<E>

    public interface UpdatableSet<E>
    extends UpdatableCollection<E>
    Updatable Set; "updatable" means elements can only be added to the Set (no removal, no clear)
    • Method Detail

      • copy

        com.google.common.collect.ImmutableSet<E> copy()
        Creates an immutable Set copy with all the elements currently in this Set
        Specified by:
        copy in interface UpdatableCollection<E>
        Returns:
        immutable copy of the Set