Package com.floragunn.fluent.collections
Interface UnmodifiableSet<V>
-
- All Superinterfaces:
Collection<V>,Iterable<V>,Set<V>,UnmodifiableCollection<V>
- All Known Subinterfaces:
ImmutableSet<E>
public interface UnmodifiableSet<V> extends Set<V>, UnmodifiableCollection<V>
-
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default booleanadd(V e)Deprecated.default booleanaddAll(Collection<? extends V> c)Deprecated.default voidclear()Deprecated.static <V> UnmodifiableSet<V>of(Set<V> set)default booleanremove(Object o)Deprecated.default booleanremoveAll(Collection<?> c)Deprecated.default booleanretainAll(Collection<?> c)Deprecated.-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from interface java.util.Set
contains, containsAll, equals, hashCode, isEmpty, iterator, size, spliterator, toArray, toArray
-
Methods inherited from interface com.floragunn.fluent.collections.UnmodifiableCollection
iterator
-
-
-
-
Method Detail
-
of
static <V> UnmodifiableSet<V> of(Set<V> set)
-
add
@Deprecated default boolean add(V e)
Deprecated.
-
remove
@Deprecated default boolean remove(Object o)
Deprecated.
-
addAll
@Deprecated default boolean addAll(Collection<? extends V> c)
Deprecated.
-
retainAll
@Deprecated default boolean retainAll(Collection<?> c)
Deprecated.
-
removeAll
@Deprecated default boolean removeAll(Collection<?> c)
Deprecated.
-
clear
@Deprecated default void clear()
Deprecated.
-
-