public static final class CharEntities.Entry extends Object
Constructor and Description |
---|
Entry(char c,
String name)
Constructs a map entry associating a character to its entity name.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
char |
getChar()
Returns the character which can be referred to using an entity
name.
|
String |
getName()
Returns the entity name which can be used to reference the
character.
|
int |
hashCode() |
String |
toString() |
public Entry(char c, String name)
c
- charactername
- entity namepublic char getChar()
public String getName()