public class CharWritable extends Text
Writable 和 WritableComparable 的实现Text.Comparator| Constructor and Description |
|---|
CharWritable() |
CharWritable(Char charVal)
根据给定Char对象构造 CharWritable
|
CharWritable(String value)
根据给定字符串构造 CharWritable
|
| Modifier and Type | Method and Description |
|---|---|
Char |
get()
返回此 writable 对应的Char对象
|
void |
set(Char chr)
使用 Char 对象设置 writable 值
|
append, bytesToCodePoint, charAt, clear, decode, decode, decode, encode, encode, equals, find, find, getBytes, getLength, hashCode, readFields, readFields, readString, set, set, set, set, skip, toString, utf8Length, validateUTF8, validateUTF8, write, writeStringcompareTo, compareTocompareToCopyright © 2024 Alibaba Cloud Computing. All rights reserved.