|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.commons.iloader.node.lookups.LookupUtils
public class LookupUtils
Utilities to help find items in a lookup.
| Constructor Summary | |
|---|---|
LookupUtils()
|
|
| Method Summary | |
|---|---|
static boolean |
containsCode(ILookup lk,
java.lang.String code)
Determines if a particular code exists in the given lookup. |
static int |
findIndex(ILookup lk,
java.lang.String value)
Given a lookup, determine if a particular code exists in the lookup. |
static java.lang.String |
findLabel(ILookup lk,
java.lang.String value)
Given a lookup, determine if a particular label exists in the lookup. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LookupUtils()
| Method Detail |
|---|
public static int findIndex(ILookup lk,
java.lang.String value)
lk - the lookup to iterate throughvalue - the code that is being sought
public static java.lang.String findLabel(ILookup lk,
java.lang.String value)
lk - the lookup to iterate throughvalue - the label that is being sought
public static boolean containsCode(ILookup lk,
java.lang.String code)
lk - the lookup to iterate throughcode - the code that is being sought
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||