org.apache.directory.shared.ldap.util
Class Position

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

public class Position
extends java.lang.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
 java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.