Package utils

Class CircularList<T extends Comparable<T>>

    • Constructor Detail

      • CircularList

        public CircularList()
      • CircularList

        public CircularList​(Collection items)
    • Method Detail

      • clear

        public void clear()
      • add

        public void add​(T x)
      • remove

        public void remove​(T x)
      • point_to

        public void point_to​(T x)
      • point_to_index

        public void point_to_index​(int i)
      • peek

        public T peek()
      • peek_next

        public T peek_next()
      • peek_previous

        public T peek_previous()
      • get

        public T get​(int i)
      • step_forward

        public void step_forward()
      • step_back

        public void step_back()