container/ring.sh

Operations on circural lists.

container_Ring()

Construct a ring.

container_Ring_do()

Call the given function on each element of the ring.

container_Ring_init()

Return the next ring element.

container_Ring_len()

Return length of the ring.

Connect ring r with ring s.

container_Ring_move()

Move n % len(r) elements backward or forward.

container_Ring_next()

Return the next ring element.

container_Ring_prev()

Return the previous ring element.

Unlike elements.