org.planx.msd.number
Class FloatDiscriminator

java.lang.Object
  extended by org.planx.msd.util.AbstractDiscriminator<T>
      extended by org.planx.msd.number.NumberDiscriminator<Float>
          extended by org.planx.msd.number.FloatDiscriminator
All Implemented Interfaces:
Discriminator<Float>

public class FloatDiscriminator
extends NumberDiscriminator<Float>

A Discriminator capable of discriminating a multiset of Float objects.

Author:
Thomas Ambus

Nested Class Summary
 
Nested classes/interfaces inherited from class org.planx.msd.number.NumberDiscriminator
NumberDiscriminator.ChunkExtractor<U>
 
Field Summary
 
Fields inherited from class org.planx.msd.number.NumberDiscriminator
CHUNK_BITSIZE, CHUNK_MASK, memory
 
Constructor Summary
FloatDiscriminator(Memory memory)
           
 
Method Summary
protected  int bitsize()
          Returns the total bitsize of the specific type of number.
protected
<U> NumberDiscriminator.ChunkExtractor<U>
chunkExtractor(Extractor<U,? extends Float,?> e)
          returns a ChunkExtractor for the specific type of number.
 
Methods inherited from class org.planx.msd.number.NumberDiscriminator
discriminate
 
Methods inherited from class org.planx.msd.util.AbstractDiscriminator
discriminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FloatDiscriminator

public FloatDiscriminator(Memory memory)
Method Detail

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<Float>

chunkExtractor

protected <U> NumberDiscriminator.ChunkExtractor<U> chunkExtractor(Extractor<U,? extends Float,?> e)
Description copied from class: NumberDiscriminator
returns a ChunkExtractor for the specific type of number.

Specified by:
chunkExtractor in class NumberDiscriminator<Float>


Copyright © 2010. All Rights Reserved.