com.jmex.physics.util
Interface AssocList.ModificationHandler<O>

Enclosing class:
AssocList<O>

public static interface AssocList.ModificationHandler<O>

Callback interface for AssocList.


Method Summary
 void added(O element)
           
 boolean canAdd(O element)
           
 void removed(O element)
           
 

Method Detail

added

void added(O element)
Parameters:
element - element that was added to the list

removed

void removed(O element)
Parameters:
element - element that was removed from the list

canAdd

boolean canAdd(O element)
Parameters:
element - what could be added
Returns:
true if element can be added, false to ignore add