public abstract class _UnmodifiableSet extends AbstractSet
Constructor and Description |
---|
_UnmodifiableSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Object o) |
void |
clear() |
boolean |
remove(Object o) |
equals, hashCode, removeAll
addAll, contains, containsAll, isEmpty, iterator, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, isEmpty, iterator, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
public boolean add(Object o)
add
in interface Collection
add
in interface Set
add
in class AbstractCollection
public boolean remove(Object o)
remove
in interface Collection
remove
in interface Set
remove
in class AbstractCollection
public void clear()
clear
in interface Collection
clear
in interface Set
clear
in class AbstractCollection
Copyright © 2016. All Rights Reserved.