NameToCodeMap
Inheritance: java.lang.Object
public class NameToCodeMap
Represents name to code map.
Methods
Method | Description |
---|---|
containsKey(String name) | Returns true in case the key is already in the map. |
equals(Object arg0) | |
get(String name) | Gets code by name. |
getClass() | |
getKeys() | Returns string names collection. |
hashCode() | |
notify() | |
notifyAll() | |
size() | Gets count of pairs name-code in the map. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
containsKey(String name)
public boolean containsKey(String name)
Returns true in case the key is already in the map.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Glyph name. |
Returns: boolean - True or false.
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
get(String name)
public int get(String name)
Gets code by name.
Parameters:
Parameter | Type | Description |
---|---|---|
name | java.lang.String | Glyph name. |
Returns: int - Glyph code.
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getKeys()
public Collection<String> getKeys()
Returns string names collection.
Returns: java.util.Collection<java.lang.String> - String names collection.
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
size()
public int size()
Gets count of pairs name-code in the map.
Returns: int - Count of pairs name-code in the map.
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |