Package one.microstream.collections.old
Class AbstractOldGettingSet<E>
- java.lang.Object
-
- one.microstream.collections.old.AbstractOldGettingSet<E>
-
- All Implemented Interfaces:
Iterable<E>
,Collection<E>
,Set<E>
,OldCollection<E>
,OldSet<E>
- Direct Known Subclasses:
AbstractBridgeXSet
,ConstLinearEnum.OldConstEnum
,EnumView.OldEnumView
,SetView.OldSetView
public abstract class AbstractOldGettingSet<E> extends Object implements OldSet<E>
-
-
Constructor Summary
Constructors Constructor Description AbstractOldGettingSet()
-
Method Summary
Modifier and Type Method Description boolean
add(E e)
boolean
addAll(Collection<? extends E> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
boolean
isEmpty()
Iterator<E>
iterator()
XGettingSet<E>
parent()
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
int
size()
Object[]
toArray()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface one.microstream.collections.old.OldCollection
bla, toArray
-
Methods inherited from interface java.util.Set
equals, hashCode, spliterator, toArray
-
-
-
-
Method Detail
-
parent
public XGettingSet<E> parent()
-
add
public boolean add(E e) throws UnsupportedOperationException
- Specified by:
add
in interfaceCollection<E>
- Specified by:
add
in interfaceSet<E>
- Throws:
UnsupportedOperationException
-
addAll
public boolean addAll(Collection<? extends E> c) throws UnsupportedOperationException
- Specified by:
addAll
in interfaceCollection<E>
- Specified by:
addAll
in interfaceSet<E>
- Throws:
UnsupportedOperationException
-
clear
public void clear() throws UnsupportedOperationException
- Specified by:
clear
in interfaceCollection<E>
- Specified by:
clear
in interfaceSet<E>
- Throws:
UnsupportedOperationException
-
contains
public boolean contains(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interfaceCollection<E>
- Specified by:
containsAll
in interfaceSet<E>
-
isEmpty
public boolean isEmpty()
-
remove
public boolean remove(Object o) throws UnsupportedOperationException
- Specified by:
remove
in interfaceCollection<E>
- Specified by:
remove
in interfaceSet<E>
- Throws:
UnsupportedOperationException
-
removeAll
public boolean removeAll(Collection<?> c) throws UnsupportedOperationException
- Specified by:
removeAll
in interfaceCollection<E>
- Specified by:
removeAll
in interfaceSet<E>
- Throws:
UnsupportedOperationException
-
retainAll
public boolean retainAll(Collection<?> c) throws UnsupportedOperationException
- Specified by:
retainAll
in interfaceCollection<E>
- Specified by:
retainAll
in interfaceSet<E>
- Throws:
UnsupportedOperationException
-
size
public int size()
-
toArray
public Object[] toArray()
-
-