Scalax
|
|
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 AnyRef | |
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
def
compare(other : IncrementalInput[A]) : Int
pos -
number of elements before the changedeleted -
number of elements deletedinserted -
sequence of values to insertprotected
def
delete : Unit
protected
def
newElement : IncrementalInput[A]
protected
def
hasNextElement : Boolean
protected
def
nextElement : IncrementalInput[A]
override
def
toString : java.lang.String
The default representation is platform dependent.
Scalax
|
|