| 程序包 | 说明 |
|---|---|
| com.goodow.realtime |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> T[] |
CollaborativeList.asArray()
Returns a copy of the contents of this collaborative list as an array.
|
CollaborativeMap |
Model.createMap(Map<String,?> opt_initialValue)
Creates a collaborative map.
|
<T> T |
CollaborativeList.get(int index)
Gets the value at the given index.
|
<T> T |
CollaborativeMap.get(String key)
Returns the value mapped to the given key.
|
Object[] |
ValuesSetEvent.getNewValues() |
<T extends CollaborativeObject> |
Model.getObject(String objectId) |
Object[] |
ValuesSetEvent.getOldValues() |
Object[] |
ValuesRemovedEvent.getValues() |
Object[] |
ValuesAddedEvent.getValues() |
int |
CollaborativeList.indexOf(Object value,
Comparator<Object> opt_comparator)
Returns the first index of the given value, or -1 if it cannot be found.
|
void |
CollaborativeList.insert(int index,
Object value)
Inserts an item into the list at a given index.
|
Object[][] |
CollaborativeMap.items()
Returns an array containing a copy of the items in this map.
|
int |
CollaborativeList.lastIndexOf(Object value,
Comparator<Object> opt_comparator)
Returns the last index of the given value, or -1 if it cannot be found.
|
int |
CollaborativeList.push(Object value)
Adds an item to the end of the list.
|
<T> T |
CollaborativeMap.remove(String key)
Removes the entry for the given key (if such an entry exists).
|
boolean |
CollaborativeList.removeValue(Object value)
Removes the first instance of the given value from the list.
|
void |
CollaborativeList.set(int index,
Object value)
Sets the item at the given index
|
<T> T |
CollaborativeMap.set(String key,
Object value)
Put the value into the map with the given key, overwriting an existing value for that key.
|
void |
CollaborativeList.setLength(int length) |
<T> List<T> |
CollaborativeMap.values()
Returns an array containing a copy of the values in this map.
|
Copyright © 2013. All Rights Reserved.