Interface TLinkable<T extends TLinkable>

All Superinterfaces:
Serializable
All Known Implementing Classes:
TLinkableAdapter

public interface TLinkable<T extends TLinkable> extends Serializable
Interface for Objects which can be inserted into a TLinkedList.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the linked list node after this one.
    Returns the linked list node before this one.
    void
    setNext(T linkable)
    Sets the linked list node after this one.
    void
    setPrevious(T linkable)
    Sets the linked list node before this one.
  • Field Details

  • Method Details

    • getNext

      T getNext()
      Returns the linked list node after this one.
      Returns:
      a TLinkable value
    • getPrevious

      T getPrevious()
      Returns the linked list node before this one.
      Returns:
      a TLinkable value
    • setNext

      void setNext(T linkable)
      Sets the linked list node after this one.
      Parameters:
      linkable - a TLinkable value
    • setPrevious

      void setPrevious(T linkable)
      Sets the linked list node before this one.
      Parameters:
      linkable - a TLinkable value