Package net.automatalib.ts.powerset
Class FastPowersetState<S>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractSet<S>
-
- net.automatalib.ts.powerset.FastPowersetState<S>
-
- All Implemented Interfaces:
Iterable<S>
,Collection<S>
,Set<S>
public class FastPowersetState<S> extends AbstractSet<S>
-
-
Constructor Summary
Constructors Constructor Description FastPowersetState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(S state, int id)
boolean
equals(@Nullable Object o)
int
hashCode()
Iterator<S>
iterator()
boolean
remove(@Nullable Object o)
int
size()
-
Methods inherited from class java.util.AbstractSet
removeAll
-
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
-
-
-
Method Detail
-
add
public void add(S state, int id)
-
size
public int size()
- Specified by:
size
in interfaceCollection<S>
- Specified by:
size
in interfaceSet<S>
- Specified by:
size
in classAbstractCollection<S>
-
remove
public boolean remove(@Nullable Object o)
- Specified by:
remove
in interfaceCollection<S>
- Specified by:
remove
in interfaceSet<S>
- Overrides:
remove
in classAbstractCollection<S>
-
equals
public final boolean equals(@Nullable Object o)
- Specified by:
equals
in interfaceCollection<S>
- Specified by:
equals
in interfaceSet<S>
- Overrides:
equals
in classAbstractSet<S>
-
hashCode
public final int hashCode()
- Specified by:
hashCode
in interfaceCollection<S>
- Specified by:
hashCode
in interfaceSet<S>
- Overrides:
hashCode
in classAbstractSet<S>
-
-