站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

CharacterArrayIterator (Editor Library) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.editor.lib/1 1.14.0 3

org.netbeans.editor.ext
Class CharacterArrayIterator

java.lang.Object
  extended by org.netbeans.editor.ext.CharacterArrayIterator
All Implemented Interfaces:
Cloneable, CharacterIterator

public class CharacterArrayIterator
extends Object
implements CharacterIterator

Character-iterator that operates on the array of characters.


Field Summary
 
Fields inherited from interface java.text.CharacterIterator
DONE
 
Constructor Summary
CharacterArrayIterator(char[] chars, int beginIndex, int endIndex)
           
 
Method Summary
 Object clone()
           
 char current()
           
 char first()
           
 int getBeginIndex()
           
 int getEndIndex()
           
 int getIndex()
           
 char last()
           
 char next()
           
 char previous()
           
 char setIndex(int position)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CharacterArrayIterator

public CharacterArrayIterator(char[] chars,
                              int beginIndex,
                              int endIndex)
Method Detail

first

public char first()
Specified by:
first in interface CharacterIterator

last

public char last()
Specified by:
last in interface CharacterIterator

current

public char current()
Specified by:
current in interface CharacterIterator

next

public char next()
Specified by:
next in interface CharacterIterator

previous

public char previous()
Specified by:
previous in interface CharacterIterator

setIndex

public char setIndex(int position)
Specified by:
setIndex in interface CharacterIterator

getBeginIndex

public int getBeginIndex()
Specified by:
getBeginIndex in interface CharacterIterator

getEndIndex

public int getEndIndex()
Specified by:
getEndIndex in interface CharacterIterator

getIndex

public int getIndex()
Specified by:
getIndex in interface CharacterIterator

clone

public Object clone()
Specified by:
clone in interface CharacterIterator
Overrides:
clone in class Object

org.netbeans.modules.editor.lib/1 1.14.0 3

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.