public class Unicode extends Object implements Char
| Modifier and Type | Method and Description |
|---|---|
int |
asInteger()
Unicode codepoint representing this character.
|
String |
asString() |
int |
compareTo(Char o) |
boolean |
equals(Object o) |
int |
hashCode() |
int |
length()
Number of utf-16 characters that this character takes up if enclosed
in a java string.
|
int |
printableWidth()
The number of character spaces taken up by this symbol.
|
String |
toString() |
public static final Unicode NBSP
public int asInteger()
Charpublic String asString()
asString in interface Stringablepublic int printableWidth()
CharprintableWidth in interface Charpublic int length()
Charpublic int compareTo(Char o)
compareTo in interface Comparable<Char>Copyright © 2017. All rights reserved.