io.github.scala_tessella.ring_seq.examples

Contains examples of using RingSeq.

Attributes

Members list

Type members

Classlikes

class Ring[A](underlying: Seq[A], var headIndex: IndexO, var isReflected: Boolean)

An example class wrapping a sequence and keeping a mutable state of rotation and reflection

An example class wrapping a sequence and keeping a mutable state of rotation and reflection

Type parameters

A

the type of the elements in the sequence

Value parameters

headIndex

mutable state of rotation, a circular index of the sequence head

isReflected

mutable state of reflection

underlying

the wrapped sequence

Attributes

Supertypes
class Object
trait Matchable
class Any