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

All Known Subinterfaces:
Chain<T>
All Known Implementing Classes:
AbstractChain, ModifiableLinkImpl

public interface ModifiableLink<T>


Method Summary
 T next()
           
 void setNext(T next)
          Setting the link to the given object.
 

Method Detail

next

T next()
Returns:
the linked object or null if there is no linked object assigned

setNext

void setNext(T next)
Setting the link to the given object. After that the next() method should return this object.

Parameters:
next - the object to which the reference is set


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