public class IntervalRelation extends Object
Modifier and Type | Class and Description |
---|---|
static class |
IntervalRelation.Base |
Modifier and Type | Field and Description |
---|---|
static IntervalRelation |
bottom |
static IntervalRelation |
top |
static IntervalRelation |
unit |
Constructor and Description |
---|
IntervalRelation(Collection<IntervalRelation.Base> base) |
IntervalRelation(EnumSet<IntervalRelation.Base> base) |
IntervalRelation(IntervalRelation.Base... base) |
Modifier and Type | Method and Description |
---|---|
IntervalRelation |
bind(Function<IntervalRelation.Base,IntervalRelation> fun) |
IntervalRelation |
compose(IntervalRelation r) |
IntervalRelation |
converse() |
protected boolean |
equals(IntervalRelation r) |
boolean |
equals(Object o) |
int |
hashCode() |
<B extends Comparable<? super B>> |
instantiate() |
<B> Relation<Interval<B>,Interval<B>> |
instantiate(Comparator<? super B> order) |
IntervalRelation |
intersection(IntervalRelation r) |
IntervalRelation |
map(Function<IntervalRelation.Base,IntervalRelation.Base> fun) |
IntervalRelation |
negate() |
static IntervalRelation |
singleton(IntervalRelation.Base b) |
String |
toString() |
IntervalRelation |
union(IntervalRelation r) |
public static final IntervalRelation top
public static final IntervalRelation bottom
public static final IntervalRelation unit
public IntervalRelation(EnumSet<IntervalRelation.Base> base)
public IntervalRelation(Collection<IntervalRelation.Base> base)
public IntervalRelation(IntervalRelation.Base... base)
protected boolean equals(IntervalRelation r)
public static IntervalRelation singleton(IntervalRelation.Base b)
public IntervalRelation negate()
public IntervalRelation union(IntervalRelation r)
public IntervalRelation intersection(IntervalRelation r)
public IntervalRelation converse()
public IntervalRelation compose(IntervalRelation r)
public IntervalRelation map(Function<IntervalRelation.Base,IntervalRelation.Base> fun)
public IntervalRelation bind(Function<IntervalRelation.Base,IntervalRelation> fun)
public <B extends Comparable<? super B>> Relation<Interval<B>,Interval<B>> instantiate()
public <B> Relation<Interval<B>,Interval<B>> instantiate(Comparator<? super B> order)
see also the complete user documentation .