public class ModificationSet extends Object implements Serializable, Iterable<Modification>
This class is not thread safe.
Constructor and Description |
---|
ModificationSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(DocumentRef ref,
int modifType) |
boolean |
add(Modification modif) |
boolean |
contains(DocumentRef ref) |
Modification |
get(int index) |
int |
indexOf(DocumentRef ref) |
Iterator<Modification> |
iterator() |
Modification |
remove(int index) |
int |
size() |
Modification[] |
toArray() |
public int size()
public boolean add(DocumentRef ref, int modifType)
public boolean add(Modification modif)
public boolean contains(DocumentRef ref)
public final Modification get(int index)
public int indexOf(DocumentRef ref)
public Modification remove(int index)
public Modification[] toArray()
public Iterator<Modification> iterator()
iterator
in interface Iterable<Modification>
Copyright © 2013 Nuxeo SA. All Rights Reserved.