Interface ConcurrentIntrusiveList.Element<T extends ConcurrentIntrusiveList.Element<T>>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T getNext()
      Returns a reference to the next element in the list.
      T getPrev()
      Returns a reference to the previous element in the list.
      void setNext​(T element)
      Sets the reference to the next element in the list.
      void setPrev​(T element)
      Sets the reference to the previous element in the list.
    • Method Detail

      • getNext

        @Nullable
        T getNext()
        Returns a reference to the next element in the list.
        Returns:
        a reference to the next element in the list.
      • setNext

        void setNext​(@Nullable
                     T element)
        Sets the reference to the next element in the list.
        Parameters:
        element - the reference to the next element in the list.
      • getPrev

        @Nullable
        T getPrev()
        Returns a reference to the previous element in the list.
        Returns:
        a reference to the previous element in the list.
      • setPrev

        void setPrev​(@Nullable
                     T element)
        Sets the reference to the previous element in the list.
        Parameters:
        element - the reference to the previous element in the list.