|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectfleXplorer.Types.Limit<Type>
public class Limit<Type extends java.lang.Comparable<Type>>
Constructor Summary | |
---|---|
Limit(boolean closed,
boolean lower,
Type value)
Constructs a Limit and sets its value, if it is closed, if it is the lower limit of an Interval. |
Method Summary | |
---|---|
int |
compareTo(Limit<Type> another)
Compares this Limit with the specified Limit for order, according their values. |
Limit<Type> |
lower(boolean closed,
Type value)
Constructs and returns a lower Limit of an Interval. |
Limit<Type> |
upper(boolean closed,
Type value)
Constructs and returns a upper Limit of an Interval. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Limit(boolean closed, boolean lower, Type value)
closed
- Defines if Limit is closed.lower
- Defines if Limit is the lower limit of an Interval.value
- The comparable value of Limit.Method Detail |
---|
public Limit<Type> upper(boolean closed, Type value)
closed
- Defines if Limit is closed.value
- The comparable value of Limit.
public Limit<Type> lower(boolean closed, Type value)
closed
- Defines if Limit is closed.value
- The comparable value of Limit.
public int compareTo(Limit<Type> another)
another
- the Limit to be compared.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |