aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/text/CollationKey.java
diff options
context:
space:
mode:
authorMichael Koch <konqueror@gmx.de>2003-10-15 14:49:30 +0000
committerMichael Koch <mkoch@gcc.gnu.org>2003-10-15 14:49:30 +0000
commit12dc3f75be9b5e7d600dd686abc633ac177e6d20 (patch)
treed37af84b93a0c1b9be35c9c0a07868d393fb9e79 /libjava/java/text/CollationKey.java
parent51c1f28619440139695975be26082d87560e056f (diff)
downloadgcc-12dc3f75be9b5e7d600dd686abc633ac177e6d20.zip
gcc-12dc3f75be9b5e7d600dd686abc633ac177e6d20.tar.gz
gcc-12dc3f75be9b5e7d600dd686abc633ac177e6d20.tar.bz2
2003-10-15 Michael Koch <konqueror@gmx.de>
* java/text/CollationElementIterator.java (CollationElementIterator): Moved, documenatation added, call setText. (next): Reformated. (reset): Reformated. (setText): New method. (getOffset): New method. * java/text/CollationKey.java (getSourceString): Reformated. (hashCode): Reformated. (toByteArray): Reformated. From-SVN: r72523
Diffstat (limited to 'libjava/java/text/CollationKey.java')
-rw-r--r--libjava/java/text/CollationKey.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/libjava/java/text/CollationKey.java b/libjava/java/text/CollationKey.java
index 9517756..f7e3148 100644
--- a/libjava/java/text/CollationKey.java
+++ b/libjava/java/text/CollationKey.java
@@ -169,7 +169,7 @@ public final class CollationKey implements Comparable
*
* @return The source <code>String</code> for this object.
*/
- public String getSourceString ()
+ public String getSourceString()
{
return originalText;
}
@@ -181,7 +181,7 @@ public final class CollationKey implements Comparable
*
* @return A hash value for this object.
*/
- public int hashCode ()
+ public int hashCode()
{
// We just follow BitSet instead of thinking up something new.
long h = originalText.hashCode();
@@ -195,7 +195,7 @@ public final class CollationKey implements Comparable
*
* @param A byte array containing the collation bit sequence.
*/
- public byte[] toByteArray ()
+ public byte[] toByteArray()
{
byte[] r = new byte[4 * key.length];
int off = 0;