home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  

Java in a Nutshell

Previous Chapter 29
The java.text Package

29.19 java.text.StringCharacterIterator (JDK 1.1)

This class is a trivial implementation of the CharacterIterator interface that works for text stored in Java String objects. See CharacterIterator for details.

public final class StringCharacterIterator extends Object implements CharacterIterator {
    // Public Constructors
            public StringCharacterIterator(String text);
            public StringCharacterIterator(String text, int pos);
            public StringCharacterIterator(String text, int begin, int end, int pos);
    // Public Instance Methods
            public Object clone();  // Overrides Object
            public char current();  // From CharacterIterator
            public boolean equals(Object obj);  // Overrides Object
            public char first();  // From CharacterIterator
            public int getBeginIndex();  // From CharacterIterator
            public int getEndIndex();  // From CharacterIterator
            public int getIndex();  // From CharacterIterator
            public int hashCode();  // Overrides Object
            public char last();  // From CharacterIterator
            public char next();  // From CharacterIterator
            public char previous();  // From CharacterIterator
            public char setIndex(int p);  // From CharacterIterator



Previous Home Next
java.text.SimpleDateFormat (JDK 1.1) Book Index The java.util Package

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java