public static class CmndProcess.Lookup extends Object
| Constructor and Description |
|---|
Lookup(int count)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(String name,
int code)
Adds a new entry
|
int |
code(int index)
Gets the code given its index
|
int |
count()
Gets the number of items
|
String |
decode(int code)
Decodes a code to its equivalent name
|
int |
encode(String name,
boolean report)
Encodes a name to its equivalent code
|
String |
name(int index)
Gets the name given its index
|
public void add(String name, int code)
public int encode(String name, boolean report)
public String decode(int code)
public int count()
public int code(int index)
public String name(int index)
Copyright © 2015 LSST. All rights reserved.