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 voidadd(S state, int id)booleanequals(@Nullable Object o)inthashCode()Iterator<S>iterator()booleanremove(@Nullable Object o)intsize()-
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:
sizein interfaceCollection<S>- Specified by:
sizein interfaceSet<S>- Specified by:
sizein classAbstractCollection<S>
-
remove
public boolean remove(@Nullable Object o)
- Specified by:
removein interfaceCollection<S>- Specified by:
removein interfaceSet<S>- Overrides:
removein classAbstractCollection<S>
-
equals
public final boolean equals(@Nullable Object o)
- Specified by:
equalsin interfaceCollection<S>- Specified by:
equalsin interfaceSet<S>- Overrides:
equalsin classAbstractSet<S>
-
hashCode
public final int hashCode()
- Specified by:
hashCodein interfaceCollection<S>- Specified by:
hashCodein interfaceSet<S>- Overrides:
hashCodein classAbstractSet<S>
-
-