scalax.rules

class IncrementalInput

[source: scalax/rules/IncrementalInput.scala]

class IncrementalInput[A]
extends Input[A] with DefaultMemoisable with scala.Ordered[IncrementalInput[A]]
Value Summary
var index : Int
var next : Result[IncrementalInput[A], A, Nothing]
Values and Variables inherited from DefaultMemoisable
map
Method Summary
protected def cleanResults (pos : Int) : Unit
Delete all Failure results up to pos and all Success results up to pos that point beyond pos
def compare (other : IncrementalInput[A]) : Int
protected def delete : Unit
Delete current element value
protected def deleteElements (count : Int) : Unit
Delete elements
def edit (pos : Int, deleted : Int, inserted : scala.Seq[A]) : Unit
Specifies a change to the document.
protected def hasNextElement : Boolean
protected def insert (value : A) : Unit
Insert an element
protected def newElement : IncrementalInput[A]
protected def nextElement : IncrementalInput[A]
override def toString : java.lang.String
Returns a string representation of the object.
Methods inherited from scala.Ordered
scala.Ordered.<, scala.Ordered.>, scala.Ordered.<=, scala.Ordered.>=, scala.Ordered.compareTo
Methods inherited from DefaultMemoisable
memo, compute, onSuccess
Methods inherited from Input
elements
Methods inherited from scala.Iterable
scala.Iterable.concat, scala.Iterable.++, scala.Iterable.map, scala.Iterable.flatMap, scala.Iterable.filter, scala.Iterable.partition, scala.Iterable.takeWhile, scala.Iterable.dropWhile, scala.Iterable.take, scala.Iterable.drop, scala.Iterable.foreach, scala.Iterable.forall, scala.Iterable.exists, scala.Iterable.find, scala.Iterable.findIndexOf, scala.Iterable.indexOf, scala.Iterable.foldLeft, scala.Iterable.foldRight, scala.Iterable./:, scala.Iterable.:\, scala.Iterable.reduceLeft, scala.Iterable.reduceRight, scala.Iterable.copyToBuffer, scala.Iterable.sameElements, scala.Iterable.toList, scala.Iterable.toSeq, scala.Iterable.toStream, scala.Iterable.mkString, scala.Iterable.mkString, scala.Iterable.mkString, scala.Iterable.addString, scala.Iterable.addString, scala.Iterable.addString, scala.Iterable.copyToArray, scala.Iterable.isEmpty, scala.Iterable.projection, scala.Iterable.hasDefiniteSize
Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
var next : Result[IncrementalInput[A], A, Nothing]
Overrides
Input.next

var index : Int
Overrides
Input.index

Method Details
def compare(other : IncrementalInput[A]) : Int
Overrides
scala.Ordered.scala.Ordered.compare

def edit(pos : Int, deleted : Int, inserted : scala.Seq[A]) : Unit
Specifies a change to the document.
Parameters
pos - number of elements before the change
deleted - number of elements deleted
inserted - sequence of values to insert

protected def cleanResults(pos : Int) : Unit
Delete all Failure results up to pos and all Success results up to pos that point beyond pos

protected def deleteElements(count : Int) : Unit
Delete elements

protected def delete : Unit
Delete current element value

protected def insert(value : A) : Unit
Insert an element

protected def newElement : IncrementalInput[A]

protected def hasNextElement : Boolean

protected def nextElement : IncrementalInput[A]

override def toString : java.lang.String
Returns a string representation of the object.

The default representation is platform dependent.

Returns
a string representation of the object.



Copyright (c) 2005-8 The Scalax Project. All Rights Reserved.