jd.util
Class SimpleKeyList
java.lang.Object
jd.util.SimpleKeyList
- All Implemented Interfaces:
- KeyList
- public class SimpleKeyList
- extends Object
- implements KeyList
SimpleKeyList represents a list of text-value pairs.
SimpleKeyList
public SimpleKeyList()
SimpleKeyList
public SimpleKeyList(Object value,
String text)
SimpleKeyList
public SimpleKeyList(Object[] values,
String[] texts)
SimpleKeyList
public SimpleKeyList(String[] content)
SimpleKeyList
public SimpleKeyList(Vector content)
size
public final int size()
- Specified by:
size
in interface KeyList
indexOf
public int indexOf(Object value)
- Specified by:
indexOf
in interface KeyList
getValue
public Object getValue(int i)
- Specified by:
getValue
in interface KeyList
getText
public String getText(int i)
- Specified by:
getText
in interface KeyList
toString
public String toString()