cz.cuni.jagrlib
Class EmptyBitMaskEnumerator

java.lang.Object
  extended by cz.cuni.jagrlib.EmptyBitMaskEnumerator
All Implemented Interfaces:
BitMaskEnumerator

public class EmptyBitMaskEnumerator
extends java.lang.Object
implements BitMaskEnumerator

Void BitMask-enumerator. Used in modules with no read capability.

See Also:
EmptyBitMaskEnumerator.java, interface BitMask, interface AlphaMask

Nested Class Summary
 
Nested classes/interfaces inherited from interface cz.cuni.jagrlib.BitMaskEnumerator
BitMaskEnumerator.HLine, BitMaskEnumerator.Pixel
 
Field Summary
 
Fields inherited from interface cz.cuni.jagrlib.BitMaskEnumerator
MINUS_INFINITY, PLUS_INFINITY
 
Constructor Summary
EmptyBitMaskEnumerator()
           
 
Method Summary
 BitMaskEnumerator.HLine nextHLine(BitMaskEnumerator.HLine pre)
          Returns the next BitMask (AlphaMask) H-line.
 BitMaskEnumerator.Pixel nextPixel(BitMaskEnumerator.Pixel pre)
          Returns the next BitMask (AlphaMask) pixel.
 void reset()
          (Re-)initialization of the enumerator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyBitMaskEnumerator

public EmptyBitMaskEnumerator()
Method Detail

reset

public void reset()
(Re-)initialization of the enumerator.

Specified by:
reset in interface BitMaskEnumerator

nextPixel

public BitMaskEnumerator.Pixel nextPixel(BitMaskEnumerator.Pixel pre)
Returns the next BitMask (AlphaMask) pixel.

Specified by:
nextPixel in interface BitMaskEnumerator
Parameters:
pre - Pre-allocated BitMaskEnumerator.Pixel instance (non-mandatory).
Returns:
The next opaque BitMaskEnumerator.Pixel or null.
See Also:
nextHLine(cz.cuni.jagrlib.BitMaskEnumerator.HLine)

nextHLine

public BitMaskEnumerator.HLine nextHLine(BitMaskEnumerator.HLine pre)
Returns the next BitMask (AlphaMask) H-line.

Specified by:
nextHLine in interface BitMaskEnumerator
Parameters:
pre - Pre-allocated BitMaskEnumerator.HLine instance (non-mandatory).
Returns:
The next opaque BitMaskEnumerator.HLine or null.
See Also:
nextPixel(cz.cuni.jagrlib.BitMaskEnumerator.Pixel)