Class: ListManager
| Defined in: | lib/Types/StructuredTypes.coffee | 
| Inherits: | types.Insert | 
Overview
Manages a list of Insert-type operations.
Direct Known Subclasses
Instance Method Summary
- # (void) getLastOperation() Get the element previous to the delemiter at the end
 - # (void) getFirstOperation() similar to the above
 - # (void) toArray() Transforms the the list to an array Doesn't return left-right delimiter.
 - # (void) getOperationByPosition(position) Retrieves the x-th not deleted element.
 
Constructor Details
      #
(void)
constructor(uid, beginning, end, prev, next, origin)
      
    
A ListManager maintains a non-empty list that has a beginning and an end (both Delimiters!)
Instance Method Details
      #
(void)
getLastOperation()
      
    
Get the element previous to the delemiter at the end
      #
(void)
getFirstOperation()
      
    
similar to the above
      #
(void)
toArray()
      
    
Transforms the the list to an array Doesn't return left-right delimiter.
      #
(void)
getOperationByPosition(position)
      
    
Retrieves the x-th not deleted element.