Interface ChangeQueue<C>

All Known Implementing Classes:
FixedSizeChangeQueue, UnlimitedChangeQueue, ZeroSizeChangeQueue

public interface ChangeQueue<C>
  • Method Details

    • hasNext

      boolean hasNext()
    • hasPrev

      boolean hasPrev()
    • peekNext

      C peekNext()
      Returns the next item. Current position stays unchanged.
    • peekPrev

      C peekPrev()
      Returns the previous item. Current position stays unchanged.
    • next

      C next()
      Returns the next item and increases the current position by 1.
    • prev

      C prev()
      Returns the previous item and decreases the current position by 1.
    • push

      void push(C... changes)
    • getCurrentPosition

      ChangeQueue.QueuePosition getCurrentPosition()
    • forgetHistory

      void forgetHistory()