public abstract class Alphabet
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
abstract int |
decode(int codePoint)
Decode the given code point (character).
|
abstract int |
encode(int val)
Encode the given byte value to a code point.
|
boolean |
isLittleEndian()
Determine whether this is a little-endian or big-endian alphabet.
|
public boolean isLittleEndian()
true if the alphabet is little-endian, false if it is big-endianpublic abstract int encode(int val)
val - the valuepublic abstract int decode(int codePoint)
codePoint - the Unicode code pointCopyright © 2017 JBoss, a division of Red Hat, Inc.