ucar.nc2.iosp
Class SingleChunkIndexer

java.lang.Object
  extended by ucar.nc2.iosp.Indexer
      extended by ucar.nc2.iosp.SingleChunkIndexer

Deprecated.

public class SingleChunkIndexer
extends Indexer

An Indexer that has exactly one chunk.

Since:
Jul 13, 2007
Author:
caron

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.nc2.iosp.Indexer
Indexer.Chunk
 
Constructor Summary
SingleChunkIndexer(long filePos, int totalElems, int elemSize)
          Deprecated.  
 
Method Summary
 int getElemSize()
          Deprecated.  
 long getTotalNelems()
          Deprecated.  
 boolean hasNext()
          Deprecated.  
 Indexer.Chunk next()
          Deprecated. Get the next chunk
 
Methods inherited from class ucar.nc2.iosp.Indexer
printa, printa
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleChunkIndexer

public SingleChunkIndexer(long filePos,
                          int totalElems,
                          int elemSize)
Deprecated. 
Method Detail

getTotalNelems

public long getTotalNelems()
Deprecated. 
Specified by:
getTotalNelems in class Indexer
Returns:
total number of elements in the wanted subset.

getElemSize

public int getElemSize()
Deprecated. 
Specified by:
getElemSize in class Indexer
Returns:
size of each element in bytes.

hasNext

public boolean hasNext()
Deprecated. 
Specified by:
hasNext in class Indexer
Returns:
true if theres more to do

next

public Indexer.Chunk next()
Deprecated. 
Description copied from class: Indexer
Get the next chunk

Specified by:
next in class Indexer
Returns:
next chunk, or null if !hasNext()