public abstract class AbstractMapOperation<T> extends AbstractOperation<MapTarget<T>>
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
key |
protected T |
newValue |
protected T |
oldValue |
static int |
TYPE |
id, type| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractMapOperation(String id,
String key,
T oldValue,
T newValue) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
apply(MapTarget<T> target)
Applies this operation to the given target
|
protected abstract AbstractMapOperation<T> |
create(String id,
String key,
T oldValue,
T newValue) |
protected boolean |
equals(T value0,
T value1) |
protected void |
toString(StringBuilder sb) |
AbstractMapOperation<T>[] |
transformWith(AbstractOperation<MapTarget<T>> operation,
boolean arrivedAfter) |
asArray, equals, hashCode, invert, isSameId, parseId, toString, transformWithpublic static final int TYPE
protected final String key
protected final T oldValue
protected final T newValue
public void apply(MapTarget<T> target)
Operationtarget - target on which this operation applies itselfpublic AbstractMapOperation<T>[] transformWith(AbstractOperation<MapTarget<T>> operation, boolean arrivedAfter)
transformWith 在类中 AbstractOperation<MapTarget<T>>arrivedAfter - Whether this operation reaches the server after operation.protected abstract AbstractMapOperation<T> create(String id, String key, T oldValue, T newValue)
protected void toString(StringBuilder sb)
toString 在类中 AbstractOperation<MapTarget<T>>Copyright © 2013. All Rights Reserved.