TraversalDirection

public enum TraversalDirection

An enumeration indicating whether you’d like to traverse forwards or backwards through the LinkedList.

  • Traverse “forward” i.e. traverse by calling next.

    Declaration

    Swift

    case forward
  • Traverse “backward” i.e. traverse by calling previous.

    Declaration

    Swift

    case backward