Class MultiAttributedCharacterIterator
java.lang.Object
net.sourceforge.jeuclid.elements.support.text.MultiAttributedCharacterIterator
- All Implemented Interfaces:
Cloneable,AttributedCharacterIterator,CharacterIterator
Joins multiple
AttributedCharacterIterators into one.- Version:
- $Revision: 344ccd357471 $
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.text.AttributedCharacterIterator
AttributedCharacterIterator.Attribute -
Field Summary
Fields inherited from interface java.text.CharacterIterator
DONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new CharacterIteratorclone()charcurrent()charfirst()intintintgetIndex()intintgetRunLimit(AttributedCharacterIterator.Attribute attribute) intgetRunLimit(Set<? extends AttributedCharacterIterator.Attribute> attributes) intintgetRunStart(AttributedCharacterIterator.Attribute attribute) intgetRunStart(Set<? extends AttributedCharacterIterator.Attribute> attributes) charlast()charnext()charprevious()charsetIndex(int position)
-
Constructor Details
-
MultiAttributedCharacterIterator
public MultiAttributedCharacterIterator()Default constructor.
-
-
Method Details
-
clone
- Specified by:
clonein interfaceCharacterIterator- Overrides:
clonein classObject
-
appendAttributedCharacterIterator
Adds a new CharacterIterator- Parameters:
aci- the new CharacterIterator to add to the list.
-
getAllAttributeKeys
- Specified by:
getAllAttributeKeysin interfaceAttributedCharacterIterator
-
getAttribute
- Specified by:
getAttributein interfaceAttributedCharacterIterator
-
getAttributes
- Specified by:
getAttributesin interfaceAttributedCharacterIterator
-
getRunLimit
public int getRunLimit()- Specified by:
getRunLimitin interfaceAttributedCharacterIterator
-
getRunLimit
- Specified by:
getRunLimitin interfaceAttributedCharacterIterator
-
getRunLimit
- Specified by:
getRunLimitin interfaceAttributedCharacterIterator
-
getRunStart
public int getRunStart()- Specified by:
getRunStartin interfaceAttributedCharacterIterator
-
getRunStart
- Specified by:
getRunStartin interfaceAttributedCharacterIterator
-
getRunStart
- Specified by:
getRunStartin interfaceAttributedCharacterIterator
-
current
public char current()- Specified by:
currentin interfaceCharacterIterator
-
first
public char first()- Specified by:
firstin interfaceCharacterIterator
-
getBeginIndex
public int getBeginIndex()- Specified by:
getBeginIndexin interfaceCharacterIterator
-
getEndIndex
public int getEndIndex()- Specified by:
getEndIndexin interfaceCharacterIterator
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceCharacterIterator
-
last
public char last()- Specified by:
lastin interfaceCharacterIterator
-
next
public char next()- Specified by:
nextin interfaceCharacterIterator
-
previous
public char previous()- Specified by:
previousin interfaceCharacterIterator
-
setIndex
public char setIndex(int position) - Specified by:
setIndexin interfaceCharacterIterator
-