de.sciss.contextsnake.ContextTree
Appends a single element to the snake.
Appends multiple elements to the snake.
Appends all elements of a collection to the snake.
Retrieves the element from the snake's body at a given position.
The number of elements in the snake.
The size of the snake.
Copies the snake's current body to a new independent collection.
Removes the last n
elements in the snake.
Removes the last n
elements in the snake.
Throws an exception if n
is greater than length
.
the number of elements to drop from the end
Removes the first n
elements in the snake.
Removes the first n
elements in the snake.
Throws an exception if n
is greater than length
.
the number of elements to drop from the beginning
A
Snake
represents a sliding window over a context tree's corpus.