|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jagg.msd.AbstractDiscriminator<T>
net.sf.jagg.msd.PortionDiscriminator<T>
net.sf.jagg.msd.NumberDiscriminator<T>
public abstract class NumberDiscriminator<T extends java.lang.Number>
A NumberDiscriminator
discriminates Lists
of
Numbers
.
Field Summary | |
---|---|
static int |
PORTION_BITS
Numbers will be discriminated this number of bits at a time. |
static int |
PORTION_MASK
This is the mask used to extract a portion of a number. |
Constructor Summary | |
---|---|
NumberDiscriminator()
|
Method Summary | ||
---|---|---|
protected abstract
|
getPortionExtractor(Extractor<E,T> extractor)
Returns an appropriate Extractor . |
Methods inherited from class net.sf.jagg.msd.PortionDiscriminator |
---|
discriminate, discriminatePortion |
Methods inherited from class net.sf.jagg.msd.AbstractDiscriminator |
---|
discriminate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PORTION_BITS
public static final int PORTION_MASK
Constructor Detail |
---|
public NumberDiscriminator()
Method Detail |
---|
protected abstract <E> PortionExtractor<E,T> getPortionExtractor(Extractor<E,T> extractor)
Extractor
.
getPortionExtractor
in class PortionDiscriminator<T extends java.lang.Number>
E
- The type of the element.extractor
- An Extractor
that returns appropriate
labels.
Extractor
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |