org.semanticweb.elk.util.collections.chains
Interface Chainable<T extends ModifiableLink<T>>

Type Parameters:
T - the types of the elements in the chain

public interface Chainable<T extends ModifiableLink<T>>

Elements that can be inserted and removed from Chains

Author:
"Yevgeny Kazakov"

Method Summary
 boolean addTo(Chain<T> chain)
          Adds this element to the given Chain
 boolean removeFrom(Chain<T> chain)
          Removes this element from the given Chain
 

Method Detail

addTo

boolean addTo(Chain<T> chain)
Adds this element to the given Chain

Parameters:
chain -
Returns:
true if the input Chain has been modified

removeFrom

boolean removeFrom(Chain<T> chain)
Removes this element from the given Chain

Parameters:
chain - to be removed
Returns:
true if the input Chain has been modified


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.