Package com.ibm.icu.text
Class RuleBasedCollator.CollationKeyByteSink
- java.lang.Object
-
- com.ibm.icu.impl.coll.CollationKeys.SortKeyByteSink
-
- com.ibm.icu.text.RuleBasedCollator.CollationKeyByteSink
-
- Enclosing class:
- RuleBasedCollator
private static final class RuleBasedCollator.CollationKeyByteSink extends CollationKeys.SortKeyByteSink
-
-
Field Summary
Fields Modifier and Type Field Description private RawCollationKey
key_
-
Fields inherited from class com.ibm.icu.impl.coll.CollationKeys.SortKeyByteSink
buffer_
-
-
Constructor Summary
Constructors Constructor Description CollationKeyByteSink(RawCollationKey key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
AppendBeyondCapacity(byte[] bytes, int start, int n, int length)
protected boolean
Resize(int appendCapacity, int length)
-
Methods inherited from class com.ibm.icu.impl.coll.CollationKeys.SortKeyByteSink
Append, Append, GetRemainingCapacity, NumberOfBytesAppended, Overflowed, setBufferAndAppended
-
-
-
-
Field Detail
-
key_
private RawCollationKey key_
-
-
Constructor Detail
-
CollationKeyByteSink
CollationKeyByteSink(RawCollationKey key)
-
-
Method Detail
-
AppendBeyondCapacity
protected void AppendBeyondCapacity(byte[] bytes, int start, int n, int length)
- Specified by:
AppendBeyondCapacity
in classCollationKeys.SortKeyByteSink
- Parameters:
bytes
- the array of bytestart
- the start index within the array to be appendedn
- the length of bytes to be appendedlength
- the length of buffer required to store the entire data (i.e. already appended bytes + bytes to be appended by this method)
-
Resize
protected boolean Resize(int appendCapacity, int length)
- Specified by:
Resize
in classCollationKeys.SortKeyByteSink
-
-