/[classpath]/classpath/java/text/AttributedCharacterIterator.java
ViewVC logotype

Diff of /classpath/java/text/AttributedCharacterIterator.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9.2.2 by gnu_andrew, Tue Aug 2 20:12:26 2005 UTC revision 1.9.2.3 by tromey, Fri Nov 25 22:30:45 2005 UTC
# Line 54  import java.util.Set; Line 54  import java.util.Set;
54   * characters or which is undefined over a range of characters.   * characters or which is undefined over a range of characters.
55   *   *
56   * @author Aaron M. Renn (arenn@urbanophile.com)   * @author Aaron M. Renn (arenn@urbanophile.com)
57     * @since 1.2
58   */   */
59  public interface AttributedCharacterIterator extends CharacterIterator  public interface AttributedCharacterIterator extends CharacterIterator
60  {  {
# Line 192  public interface AttributedCharacterIter Line 193  public interface AttributedCharacterIter
193     *     *
194     * @return A list of keys     * @return A list of keys
195     */     */
196    Set getAllAttributeKeys();    Set<Attribute> getAllAttributeKeys();
197    
198    /**    /**
199     * Returns a <code>Map</code> of the attributes defined for the current     * Returns a <code>Map</code> of the attributes defined for the current
# Line 200  public interface AttributedCharacterIter Line 201  public interface AttributedCharacterIter
201     *     *
202     * @return A <code>Map</code> of the attributes for the current character.     * @return A <code>Map</code> of the attributes for the current character.
203     */     */
204    Map getAttributes();    Map<Attribute, Object> getAttributes();
205    
206    /**    /**
207     * Returns the value of the specified attribute for the     * Returns the value of the specified attribute for the
# Line 230  public interface AttributedCharacterIter Line 231  public interface AttributedCharacterIter
231     *     *
232     * @return The start index of the run.     * @return The start index of the run.
233     */     */
234    int getRunStart (Set attribs);    int getRunStart (Set<? extends Attribute> attribs);
235        
236    /**    /**
237     * Returns the index of the first character in the run that     * Returns the index of the first character in the run that
# Line 259  public interface AttributedCharacterIter Line 260  public interface AttributedCharacterIter
260     *     *
261     * @return The end index of the run.     * @return The end index of the run.
262     */     */
263    int getRunLimit (Set attribs);    int getRunLimit (Set<? extends Attribute> attribs);
264        
265    /**    /**
266     * Returns the index of the character after the end of the run     * Returns the index of the character after the end of the run

Legend:
Removed from v.1.9.2.2  
changed lines
  Added in v.1.9.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26