You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class calypso.util.CharArrayIterator

java.lang.Object
   |
   +----calypso.util.CharArrayIterator

public final class  CharArrayIterator
     extends java.lang.Object
     implements java.text.CharacterIterator
{
          // Fields 4
     private int fEnd;
     private int fPosition;
     private int fStart;
     private char[] fText;

          // Constructors 1
     public CharArrayIterator(char[], int, int);

          // Methods 10
     public Object clone();
     public char current();
     public char first();
     public int getBeginIndex();
     public int getEndIndex();
     public int getIndex();
     public char last();
     public char next();
     public char previous();
     public char setIndex(int);
}



Fields


fText

   private char[] fText


fStart

   private int fStart


fEnd

   private int fEnd


fPosition

   private int fPosition



Constructors


CharArrayIterator

   public CharArrayIterator(char[] aText, 
                            int aStartOffset, 
                            int aLength) 



Methods


first

   public char first() 
Implements:
first in interface CharacterIterator


last

   public char last() 
Implements:
last in interface CharacterIterator


current

   public char current() 
Implements:
current in interface CharacterIterator


next

   public char next() 
Implements:
next in interface CharacterIterator


previous

   public char previous() 
Implements:
previous in interface CharacterIterator


setIndex

   public char setIndex(int aPosition) 
Implements:
setIndex in interface CharacterIterator


getBeginIndex

   public int getBeginIndex() 
Implements:
getBeginIndex in interface CharacterIterator


getEndIndex

   public int getEndIndex() 
Implements:
getEndIndex in interface CharacterIterator


getIndex

   public int getIndex() 
Implements:
getIndex in interface CharacterIterator


clone

   public Object clone() 
Overrides:
clone in class Object
Implements:
clone in interface CharacterIterator


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4