T - The types of elements in the chain.public class ModifiableLinkImpl<T> extends Object implements ModifiableLink<T>
Link and ModifiableLink
interfaces. The methods are not thread safe.| Constructor and Description |
|---|
ModifiableLinkImpl() |
ModifiableLinkImpl(T next) |
public ModifiableLinkImpl()
public ModifiableLinkImpl(T next)
public T next()
next in interface ModifiableLink<T>null if there is no linked object
assignedpublic void setNext(T next)
ModifiableLinkModifiableLink.next()
method should return this object.setNext in interface ModifiableLink<T>next - the object to which the reference is setCopyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.