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>> extends Object
RangeLookupTable to associate a source value lookup range
with a destination value.| Constructor and Description |
|---|
LookupItem(Range<T> range,
U value)
Creates a new instance.
|
public LookupItem(Range<T> range, U value)
range - the source value lookup rangevalue - the destination value associated with this rangeIllegalArgumentException - if either arg is nullpublic U getValue()
Copyright © 2009–2020. All rights reserved.