|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.rwth.domains.Function.Tools
Contains implementations of useful tools for functions.
Constructor Summary | |
Function.Tools()
|
Method Summary | |
static boolean |
equals(Function f,
java.lang.Object o)
The method equals checks if a function and an object are equal. |
static java.lang.String |
toString(Function f)
Creates a String representation of a function. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Function.Tools()
Method Detail |
public static java.lang.String toString(Function f)
String
representation of a function. For each
argument/value combination, it calls the toString
methods of
domain and range and concatenates them with "->"
. All thes are
concatenated with ", "
and surrounded this with
"{"
..."}"
.f
- a Function
valueString
representing this function.public static boolean equals(Function f, java.lang.Object o)
equals
checks if a function and an object are equal.
It does that by checking:
null
f
- a Function
valueo
- a value of type Object
true
iff o
is equal to this function
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |