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
FieldsFields inherited from class com.ibm.icu.impl.coll.CollationKeys.SortKeyByteSink
buffer_
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
key_
-
-
Constructor Details
-
CollationKeyByteSink
CollationKeyByteSink(RawCollationKey key)
-
-
Method Details
-
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
-