org.apache.directory.shared.util
Class Position

java.lang.Object
  extended by org.apache.directory.shared.util.Position

public class Position
extends Object

This class is used to store the position of a token in a string.

Author:
Apache Directory Project

Field Summary
 int end
          The token end position in the string
 int length
          The current token length
 int start
          The starting position in the string
 
Constructor Summary
Position()
           
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

public int start
The starting position in the string


length

public int length
The current token length


end

public int end
The token end position in the string

Constructor Detail

Position

public Position()
Method Detail

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.