public class SyncData
extends java.lang.Object
| Constructor and Description |
|---|
SyncData() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
get(java.lang.String attributeName)
Returns attribute value for the given attribute name.
|
java.util.Iterator |
getAttributes()
Returns an Iterator object to iterate over the list
of attribute names.
|
void |
put(java.lang.String attributeName,
java.lang.String value)
Added the given attribute and it's corresponding value
to the cache.
|
int |
size()
Returns the number of attributes in the cache.
|
java.lang.String |
toString()
For debugging.
|
public java.lang.String get(java.lang.String attributeName)
attributeName - attribute namepublic void put(java.lang.String attributeName,
java.lang.String value)
attributeName - attribute namevalue - valuepublic java.util.Iterator getAttributes()
public int size()
public java.lang.String toString()
toString in class java.lang.Object