Class TLinkableAdapter

  • All Implemented Interfaces:
    TLinkable, Serializable


    public class TLinkableAdapter
    extends Object
    implements TLinkable
    Adapter for TLinkable interface which implements the interface and can therefore be extended trivially to create TLinkable objects without having to implement the obvious.

    Created: Thurs Nov 15 16:25:00 2001

    See Also:
    TLinkedList, Serialized Form
    • Constructor Detail

      • TLinkableAdapter

        public TLinkableAdapter()
    • Method Detail

      • getNext

        public TLinkable getNext()
        Returns the linked list node after this one.
        Specified by:
        getNext in interface  TLinkable
        Returns:
        a TLinkable value
      • getPrevious

        public TLinkable getPrevious()
        Returns the linked list node before this one.
        Specified by:
        getPrevious in interface  TLinkable
        Returns:
        a TLinkable value
      • setNext

        public void setNext(TLinkable linkable)
        Sets the linked list node after this one.
        Specified by:
        setNext in interface  TLinkable
        Parameters:
        linkable - a TLinkable value
      • setPrevious

        public void setPrevious(TLinkable linkable)
        Sets the linked list node before this one.
        Specified by:
        setPrevious in interface  TLinkable
        Parameters:
        linkable - a TLinkable value