public class TreeMapEquivalentRelation<T extends Comparable<T>> extends Object implements EquivalentRelation<T>
Constructor and Description |
---|
TreeMapEquivalentRelation() |
Modifier and Type | Method and Description |
---|---|
int |
addClasse(Iterable<T> elements) |
int |
addClasse(T... elements) |
boolean |
compare(T o1,
T o2) |
int |
getIdClass(T o) |
void |
mergeClasses(T o1,
T o2) |
public int addClasse(Iterable<T> elements)
addClasse
in interface EquivalentRelation<T extends Comparable<T>>
@SafeVarargs public final int addClasse(T... elements)
addClasse
in interface EquivalentRelation<T extends Comparable<T>>
public void mergeClasses(T o1, T o2)
mergeClasses
in interface EquivalentRelation<T extends Comparable<T>>
public boolean compare(T o1, T o2)
compare
in interface EquivalentRelation<T extends Comparable<T>>
public int getIdClass(T o)
getIdClass
in interface EquivalentRelation<T extends Comparable<T>>
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.