Eidola home

org.eidola.util
Interface ListMutator

All Known Implementing Classes:
DefaultListMutator

public interface ListMutator

Follows instructions from a ListDiff for mutating a list. You can use this interface in combination with ListDiff.applySteps(ListMutator) to have some structure go through a sequence of changes which keep it in step with a changing list.

Version:
[Development version]
Author:
Paul Cantrell
See Also:
ListDiff.applySteps(ListMutator)

Method Summary
 void insert(Object object, int index)
           
 void move(Object object, int index, int toIndex)
           
 void remove(Object object, int index)
           
 

Method Detail

insert

public void insert(Object object,
                   int index)

remove

public void remove(Object object,
                   int index)

move

public void move(Object object,
                 int index,
                 int toIndex)

Eidola home