public class FastPowersetState<S> extends AbstractSet<S>
Constructor and Description |
---|
FastPowersetState() |
Modifier and Type | Method and Description |
---|---|
void |
add(S state,
int id) |
boolean |
equals(Object obj) |
int |
hashCode() |
Iterator<S> |
iterator() |
boolean |
remove(Object o) |
int |
size() |
removeAll
add, addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, isEmpty, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public void add(S state, int id)
public int size()
size
in interface Collection<S>
size
in interface Set<S>
size
in class AbstractCollection<S>
public boolean remove(Object o)
remove
in interface Collection<S>
remove
in interface Set<S>
remove
in class AbstractCollection<S>
public boolean equals(Object obj)
equals
in interface Collection<S>
equals
in interface Set<S>
equals
in class AbstractSet<S>
public int hashCode()
hashCode
in interface Collection<S>
hashCode
in interface Set<S>
hashCode
in class AbstractSet<S>
Copyright © 2018. All rights reserved.