org.erowid.sperosearch.splitindex
Class SplitIndexSegment

java.lang.Object
  extended byorg.erowid.sperosearch.splitindex.SplitIndexSegment

public class SplitIndexSegment
extends Object

A segment of a SplitIndexFileInputStream in a SplitIndexDirectory.

Version:
: $Header: /cvsroot/sperowider/SPEROWIDER_MODULE/javasource/org/erowid/sperosearch/splitindex/SplitIndexSegment.java,v 1.1 2005/06/02 06:07:58 gurustu Exp $
Author:
: $Author: gurustu $

Constructor Summary
SplitIndexSegment(SplitIndexFileDescriptor fileDescriptor, int segment)
          Creates a(n) SplitIndexSegment object.
 
Method Summary
 int getData(int pos)
          Returns the byte (as an int) at the given position.
 int getSegment()
          Returns the segment.
 int getSize()
          The actual segment size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitIndexSegment

public SplitIndexSegment(SplitIndexFileDescriptor fileDescriptor,
                         int segment)
                  throws IOException
Creates a(n) SplitIndexSegment object.

Method Detail

getData

public int getData(int pos)
Returns the byte (as an int) at the given position.


getSize

public int getSize()
The actual segment size.


getSegment

public int getSegment()
Returns the segment.


spero logo small Sperowider is
© 2005 Erowid.org