public class BasicMatching<O> extends Object implements Matching<O>
Matching.Entry<T>
Modifier and Type | Field and Description |
---|---|
private HashMap<O,Set<O>> |
entries |
private Collection<Matching.Entry<O>> |
entriesList |
Constructor and Description |
---|
BasicMatching() |
BasicMatching(Collection<Matching.Entry<O>> s) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Matching.Entry<O> entry) |
boolean |
add(O s,
O t) |
void |
addAll(Set<Matching.Entry<O>> entries) |
void |
clear() |
boolean |
contains(O s,
O t) |
Iterator<Matching.Entry<O>> |
iterator() |
int |
size() |
Matching<O> |
transposeView()
To be modified
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
private Collection<Matching.Entry<O>> entriesList
public BasicMatching()
public BasicMatching(Collection<Matching.Entry<O>> s)
public void addAll(Set<Matching.Entry<O>> entries)
public boolean add(Matching.Entry<O> entry)
public Matching<O> transposeView()
transposeView
in interface Matching<O>
public Iterator<Matching.Entry<O>> iterator()
iterator
in interface Iterable<Matching.Entry<O>>
(C) INRIA, Univ. Grenoble Alpes & friends, 2008-2017