|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.control.cart.Cart
public class Cart
Simple implementation of an item cart based upon an in-memory collection of ids.
Constructor Summary | |
---|---|
Cart()
Default constructor |
Method Summary | |
---|---|
void |
add(String key)
Adds a key to the collection. |
Map<String,Object> |
attrMap(String key)
Returns attribute map for the specific key. |
void |
clear()
Clears the collection. |
boolean |
containsKey(String key)
Adds a key to the collection. |
Set<String> |
keySet()
Returns the collection key set. |
void |
remove(String key)
Removes a key from the collection. |
int |
size()
The collection size. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cart()
Method Detail |
---|
public void add(String key)
key
- the keypublic void clear()
public boolean containsKey(String key)
key
- the key
true
if key found in the collectionpublic Set<String> keySet()
public void remove(String key)
key
- the keypublic int size()
public Map<String,Object> attrMap(String key)
key
- key
null
if the key is not present
|
Esri Geoportal Server 1.2.9
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |