|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaitools.media.jai.rangelookup.LookupItem<T,U>
T - type of the source rangeU - type of the destination valuepublic class LookupItem<T extends Number & Comparable<? super T>,U extends Number & Comparable<? super U>>
Used by RangeLookupTable to associate a source value lookup range
with a destination value.
| Constructor Summary | |
|---|---|
LookupItem(Range<T> range,
U value)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Range<T> |
getRange()
Gets the source value lookup range. |
U |
getValue()
Gets the destination value. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LookupItem(Range<T> range,
U value)
range - the source value lookup rangevalue - the destination value associated with this range
IllegalArgumentException - if either arg is null| Method Detail |
|---|
public Range<T> getRange()
public U getValue()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||