org.planx.msd.number
Class ByteDiscriminator
java.lang.Object
org.planx.msd.util.AbstractDiscriminator<T>
org.planx.msd.number.NumberDiscriminator<Byte>
org.planx.msd.number.ByteDiscriminator
- All Implemented Interfaces:
- Discriminator<Byte>
public class ByteDiscriminator
- extends NumberDiscriminator<Byte>
A Discriminator capable of discriminating a multiset of
Byte objects.
- Author:
- Thomas Ambus
|
Method Summary |
protected int |
bitsize()
Returns the total bitsize of the specific type of number. |
protected
|
chunkExtractor(Extractor<U,? extends Byte,?> 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 |
ByteDiscriminator
public ByteDiscriminator(Memory 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<Byte>
chunkExtractor
protected <U> NumberDiscriminator.ChunkExtractor<U> chunkExtractor(Extractor<U,? extends Byte,?> e)
- Description copied from class:
NumberDiscriminator
- returns a
ChunkExtractor for the specific type of number.
- Specified by:
chunkExtractor in class NumberDiscriminator<Byte>
Copyright © 2010. All Rights Reserved.