Class Index | File Index

Classes


Class gui.UndoStateRules-ReverseIterator


Defined in: UndoStateRules.js.

Class Summary
Constructor Attributes Constructor Name and Description
<inner>  
Return the first element from the end of the array that matches the supplied predicate.
Method Summary
Method Attributes Method Name and Description
 
Return the previous element in the array that matches the predicate
Class Detail
<inner> gui.UndoStateRules-ReverseIterator(array, predicate)
Return the first element from the end of the array that matches the supplied predicate. Each subsequent call to previous will return the next element from the end of the array that matches the predicate.
Parameters:
{!Array.} array
{!function(!ops.Operation):!boolean} predicate
Method Detail
{?ops.Operation} previous()
Return the previous element in the array that matches the predicate
Returns:
{?ops.Operation} Returns null when no more elements in the array match the predicate

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Aug 06 2015 04:10:40 GMT+0200 (MESZ)