summaryrefslogtreecommitdiff
path: root/java/text/AttributedCharacterIterator.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/text/AttributedCharacterIterator.java')
-rw-r--r--java/text/AttributedCharacterIterator.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/java/text/AttributedCharacterIterator.java b/java/text/AttributedCharacterIterator.java
index 7eb073069..4f9c762b3 100644
--- a/java/text/AttributedCharacterIterator.java
+++ b/java/text/AttributedCharacterIterator.java
@@ -56,6 +56,7 @@ import java.util.Set;
* @since 1.2
*
* @author Aaron M. Renn (arenn@urbanophile.com)
+ * @since 1.2
*/
public interface AttributedCharacterIterator extends CharacterIterator
{
@@ -194,7 +195,7 @@ public interface AttributedCharacterIterator extends CharacterIterator
*
* @return A list of keys
*/
- Set getAllAttributeKeys();
+ Set<Attribute> getAllAttributeKeys();
/**
* Returns a <code>Map</code> of the attributes defined for the current
@@ -202,7 +203,7 @@ public interface AttributedCharacterIterator extends CharacterIterator
*
* @return A <code>Map</code> of the attributes for the current character.
*/
- Map getAttributes();
+ Map<Attribute, Object> getAttributes();
/**
* Returns the value of the specified attribute for the
@@ -232,7 +233,7 @@ public interface AttributedCharacterIterator extends CharacterIterator
*
* @return The start index of the run.
*/
- int getRunStart(Set attribs);
+ int getRunStart(Set<? extends Attribute> attribs);
/**
* Returns the index of the first character in the run that
@@ -261,7 +262,7 @@ public interface AttributedCharacterIterator extends CharacterIterator
*
* @return The end index of the run.
*/
- int getRunLimit(Set attribs);
+ int getRunLimit(Set<? extends Attribute> attribs);
/**
* Returns the index of the character after the end of the run