From 12dc3f75be9b5e7d600dd686abc633ac177e6d20 Mon Sep 17 00:00:00 2001 From: Michael Koch Date: Wed, 15 Oct 2003 14:49:30 +0000 Subject: 2003-10-15 Michael Koch * 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 --- libjava/java/text/CollationKey.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libjava/java/text/CollationKey.java') diff --git a/libjava/java/text/CollationKey.java b/libjava/java/text/CollationKey.java index 9517756cd14..f7e3148c50b 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 String 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; -- cgit v1.2.3