public class ListDiff extends Object implements Serializable
It purposedly doesn't implement the List interface.
Modifier and Type | Class and Description |
---|---|
static class |
ListDiff.Entry |
Modifier and Type | Field and Description |
---|---|
static int |
ADD |
static int |
CLEAR |
static int |
INSERT |
static int |
MODIFY |
static int |
MOVE |
static int |
REMOVE |
Modifier and Type | Method and Description |
---|---|
void |
add(Object value) |
ListDiff.Entry[] |
diff() |
void |
insert(int index,
Object value) |
boolean |
isDirty() |
void |
modify(int index,
Object value) |
void |
move(int fromIndex,
int toIndex) |
void |
remove(int index) |
void |
removeAll() |
void |
reset() |
String |
toString() |
static String |
typeToString(int type) |
public static final int ADD
public static final int INSERT
public static final int REMOVE
public static final int MODIFY
public static final int MOVE
public static final int CLEAR
public void move(int fromIndex, int toIndex)
public void remove(int index)
public void removeAll()
public void reset()
public boolean isDirty()
public ListDiff.Entry[] diff()
public static String typeToString(int type)
Copyright © 2017 Nuxeo. All rights reserved.