org.planx.msd.number
Class ShortDiscriminator
java.lang.Object
org.planx.msd.util.AbstractDiscriminator<T>
org.planx.msd.number.NumberDiscriminator<Short>
org.planx.msd.number.ShortDiscriminator
- All Implemented Interfaces:
- Discriminator<Short>
public class ShortDiscriminator
- extends NumberDiscriminator<Short>
A Discriminator capable of discriminating a multiset of
Short objects.
- Author:
- Thomas Ambus
|
Constructor Summary |
ShortDiscriminator(Memory memory)
Constructs a new ShortDiscriminator that reuses the
memory of the specified Memory. |
|
Method Summary |
protected int |
bitsize()
Returns the total bitsize of the specific type of number. |
protected
|
chunkExtractor(Extractor<U,? extends Short,?> e)
returns a ChunkExtractor for the specific type of number. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShortDiscriminator
public ShortDiscriminator(Memory memory)
- Constructs a new
ShortDiscriminator that reuses the
memory of the specified Memory.
bitsize
protected int bitsize()
- Description copied from class:
NumberDiscriminator
- Returns the total bitsize of the specific type of number.
- Specified by:
bitsize in class NumberDiscriminator<Short>
chunkExtractor
protected <U> NumberDiscriminator.ChunkExtractor<U> chunkExtractor(Extractor<U,? extends Short,?> e)
- Description copied from class:
NumberDiscriminator
- returns a
ChunkExtractor for the specific type of number.
- Specified by:
chunkExtractor in class NumberDiscriminator<Short>
Copyright © 2010. All Rights Reserved.