summaryrefslogtreecommitdiffstats
path: root/libjava/java/text/AttributedCharacterIterator.java
diff options
context:
space:
mode:
authormkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-11 18:51:14 +0000
committermkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-11 18:51:14 +0000
commit16abb186aeb16885d70d38cb0269cbba79f165dd (patch)
tree1ae2308fedf714da04a58f210a522f51eff69b67 /libjava/java/text/AttributedCharacterIterator.java
parentcabab96a6f79bc5549b29def5b50432b4cc440ef (diff)
downloadppe42-gcc-16abb186aeb16885d70d38cb0269cbba79f165dd.tar.gz
ppe42-gcc-16abb186aeb16885d70d38cb0269cbba79f165dd.zip
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/text/AttributedCharacterIterator.java, java/text/CharacterIterator.java: Removed redundant modifiers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/text/AttributedCharacterIterator.java')
-rw-r--r--libjava/java/text/AttributedCharacterIterator.java57
1 files changed, 10 insertions, 47 deletions
diff --git a/libjava/java/text/AttributedCharacterIterator.java b/libjava/java/text/AttributedCharacterIterator.java
index ba976b7de84..85f644c3251 100644
--- a/libjava/java/text/AttributedCharacterIterator.java
+++ b/libjava/java/text/AttributedCharacterIterator.java
@@ -59,11 +59,6 @@ import java.util.Map;
*/
public interface AttributedCharacterIterator extends CharacterIterator
{
-
-/*
- * Inner Classes
- */
-
/**
* This class defines attribute keys that are used as text attributes.
*/
@@ -218,30 +213,20 @@ hashCode()
*
* @return A <code>String</code> representation of this object.
*/
-public String
-toString()
+public String toString()
{
return(getClass().getName() + "(" + getName() + ")");
}
} // Inner class Attribute
-/*************************************************************************/
-
-/*
- * Instance Methods
- */
-
/**
* This method returns a list of all keys that are defined for the
* text range. This can be an empty list if no attributes are defined.
*
* @return A list of keys
*/
-public abstract Set
-getAllAttributeKeys();
-
-/*************************************************************************/
+Set getAllAttributeKeys();
/**
* This method returns a <code>Map</code> of the attributed defined for
@@ -249,10 +234,7 @@ getAllAttributeKeys();
*
* @return A <code>Map</code> of the attributes for the current character.
*/
-public abstract Map
-getAttributes();
-
-/*************************************************************************/
+Map getAttributes();
/**
* This method returns the value of the specified attribute for the
@@ -263,10 +245,7 @@ getAttributes();
*
* @return The value of the specified attribute
*/
-public abstract Object
-getAttribute(AttributedCharacterIterator.Attribute attrib);
-
-/*************************************************************************/
+Object getAttribute (AttributedCharacterIterator.Attribute attrib);
/**
* This method returns the index of the first character in the run that
@@ -274,10 +253,7 @@ getAttribute(AttributedCharacterIterator.Attribute attrib);
*
* @return The start index of the run
*/
-public abstract int
-getRunStart();
-
-/*************************************************************************/
+int getRunStart();
/**
* This method returns the index of the first character in the run that
@@ -288,10 +264,7 @@ getRunStart();
*
* @return The start index of the run.
*/
-public abstract int
-getRunStart(Set attribs);
-
-/*************************************************************************/
+int getRunStart (Set attribs);
/**
* This method returns the index of the first character in the run that
@@ -301,10 +274,7 @@ getRunStart(Set attribs);
*
* @return The start index of the run.
*/
-public abstract int
-getRunStart(AttributedCharacterIterator.Attribute attrib);
-
-/*************************************************************************/
+int getRunStart (AttributedCharacterIterator.Attribute attrib);
/**
* This method returns the index of the character after the end of the run
@@ -312,10 +282,7 @@ getRunStart(AttributedCharacterIterator.Attribute attrib);
*
* @return The end index of the run.
*/
-public abstract int
-getRunLimit();
-
-/*************************************************************************/
+int getRunLimit();
/**
* This method returns the index of the character after the end of the run
@@ -326,10 +293,7 @@ getRunLimit();
*
* @return The end index of the run.
*/
-public abstract int
-getRunLimit(Set attribs);
-
-/*************************************************************************/
+int getRunLimit (Set attribs);
/**
* This methods returns the index of the character after the end of the run
@@ -339,8 +303,7 @@ getRunLimit(Set attribs);
*
* @return The end index of the run.
*/
-public abstract int
-getRunLimit(AttributedCharacterIterator.Attribute attrib);
+int getRunLimit (AttributedCharacterIterator.Attribute attrib);
} // interface AttributedCharacterIterator
OpenPOWER on IntegriCloud