|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xbill.DNS.utils.StringValueTable
A table used for storing mappings between Strings and constant values and lookups in either direction.
Constructor Summary | |
StringValueTable()
|
Method Summary | |
String |
getString(int v)
Finds the String associated with the given value |
int |
getValue(String s)
Finds the value associated with the given String |
void |
put2(int v,
String s)
Adds a new String/value pair |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringValueTable()
Method Detail |
public void put2(int v, String s)
v
- The values
- The stringpublic String getString(int v)
v
- The value
public int getValue(String s)
s
- The String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |