diff options
| author | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-15 14:49:30 +0000 |
|---|---|---|
| committer | mkoch <mkoch@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-15 14:49:30 +0000 |
| commit | 5daa75180b41b455bae3333909ccfae4396728d4 (patch) | |
| tree | d37af84b93a0c1b9be35c9c0a07868d393fb9e79 /libjava/java/text/CollationKey.java | |
| parent | 5d8c3937f317b1844808695c58155489e8245f2a (diff) | |
| download | gcc-5daa75180b41b455bae3333909ccfae4396728d4.tar.gz | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java/text/CollationKey.java')
| -rw-r--r-- | libjava/java/text/CollationKey.java | 6 |
1 files changed, 3 insertions, 3 deletions
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 <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; |
