public interface IBinaryNaturalRelation extends VerboseAction, Iterable<IntPair>
Modifier and Type | Method and Description |
---|---|
boolean |
add(int x,
int y)
Add (x,y) to the relation
|
boolean |
anyRelated(int x) |
boolean |
contains(int x,
int y) |
IntSet |
getRelated(int x) |
int |
getRelatedCount(int x) |
int |
maxKeyValue() |
void |
remove(int x,
int y) |
void |
removeAll(int x) |
performVerboseAction
forEach, iterator, spliterator
boolean add(int x, int y)
IntSet getRelated(int x)
int getRelatedCount(int x)
boolean anyRelated(int x)
void remove(int x, int y)
void removeAll(int x)
boolean contains(int x, int y)
int maxKeyValue()