|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISymbolSet
EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is no guarantee that this API will work or that it will remain the same. Please do not use this API without consulting with the MTJ team.
| Method Summary | ||
|---|---|---|
void |
add(Collection<ISymbol> c)
Add a collection of symbols to this symbol set |
|
void |
add(ISymbol s)
Add one specific symbol to this symbol set |
|
ISymbol |
add(String identifier)
Define the specified identifier. |
|
ISymbol |
add(String identifier,
String value)
Define the specified identifier to be the specified value. |
|
ISymbol |
add(String identifier,
String value,
int type)
Define the specified identifier to be the specified value. |
|
boolean |
contains(String identifier)
Return a boolean indicating whether the specified identifier is defined. |
|
boolean |
equals(ISymbolSet definitions)
Return a boolean indicating whether the specified SymbolDefinitions object is equal to this object. |
|
String |
getName()
Return the name of this set of symbol definitions. |
|
Collection<ISymbol> |
getSymbols()
Return the symbols that are defined as true in the list of symbol definitions. |
|
String |
getSymbolSetString()
|
|
String |
getSymbolValue(String identifier)
Return the (possibly null) value of the specified identifier. |
|
void |
remove(Collection<ISymbol> c)
Remove a list of symbols |
|
void |
remove(String identifier)
Undefine the specified identifier. |
|
void |
setName(String name)
Set the name of this set of symbol definitions. |
|
void |
setSymbols(Map<String,String> definitions)
Set the definitions set to contain the specified definitions. |
|
int |
size()
Returns the number of symbols on this symbol set |
|
|
toArray(T[] a)
Retusn as array of all symbols on this symbol set |
|
| Methods inherited from interface org.eclipse.mtj.core.persistence.IPersistable |
|---|
loadUsing, storeUsing |
| Method Detail |
|---|
ISymbol add(String identifier)
identifier -
ISymbol add(String identifier,
String value)
identifier - value -
ISymbol add(String identifier,
String value,
int type)
identifier - value - void add(Collection<ISymbol> c)
symbols - to be addedvoid add(ISymbol s)
symbol - to be addedboolean equals(ISymbolSet definitions)
definitions -
Collection<ISymbol> getSymbols()
String getName()
String getSymbolValue(String identifier)
identifier -
boolean contains(String identifier)
identifier -
void setSymbols(Map<String,String> definitions)
definitions - void setName(String name)
name - the name to setString getSymbolSetString()
Object.toString()void remove(String identifier)
identifier - void remove(Collection<ISymbol> c)
symbols - to be removedint size()
<T> T[] toArray(T[] a)
a - array where the elements will be stores
|
Mobile Tools for Java Release 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||