public abstract class BaseOperatorCollection extends Object implements Iterable<Operator>
Represents base class for operator collection.
Constructor and Description |
---|
BaseOperatorCollection() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(Operator op)
Adds new operator into collection.
|
abstract void |
cancelUpdate()
Cancels last update.
|
abstract void |
clear()
Clears collection.
|
abstract boolean |
contains(Operator item)
Check if the item is in collection.
|
abstract void |
deleteUnrestricted(int index)
internal
|
abstract Operator |
get_Item(int index)
Gets operator by its index.
|
abstract Operator |
getUnrestricted(int index)
For internal usage only
|
abstract void |
insert(int index,
Operator op)
Inserts operator into collection.
|
boolean |
isEmpty()
Returns TRUE if the collection is empty.
|
abstract boolean |
isFastTextExtractionMode()
Indicates whether collection is limited to fast text extraction
|
abstract boolean |
isReadOnly()
Returns true if collection is read only.
|
abstract Iterator<Operator> |
iterator()
Returns enumerator for collection
|
abstract boolean |
remove(Operator item)
Removes operator from collection.
|
abstract void |
resumeUpdate()
Resumes document update.
|
abstract void |
set_Item(int index,
Operator value)
Sets operator by its index.
|
abstract int |
size()
Gets count of operators in the collection.
|
abstract void |
suppressUpdate()
Suppresses update contents data.
|
abstract com.aspose.ms.System.Collections.Generic.List<Operator> |
toList()
Returns opetator list.
|
abstract void |
updateData()
internal
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public abstract Operator get_Item(int index)
Gets operator by its index.
index
- Index of operator. Numbering is starts from 1.public abstract void set_Item(int index, Operator value)
Sets operator by its index.
index
- Index of operator. Numbering is starts from 1.value
- Operator.public abstract com.aspose.ms.System.Collections.Generic.List<Operator> toList()
Returns opetator list.
public abstract int size()
Gets count of operators in the collection.
public boolean isEmpty()
Returns TRUE if the collection is empty.
public abstract boolean isReadOnly()
Returns true if collection is read only.
public abstract boolean isFastTextExtractionMode()
Indicates whether collection is limited to fast text extraction
public abstract void suppressUpdate()
Suppresses update contents data. The contents stream is not updated until ResumeUpdate is called.
public abstract void resumeUpdate()
Resumes document update. Updates contents stream in case there are any pending changes.
public abstract void insert(int index, Operator op)
Inserts operator into collection.
index
- Index where new operator must be addedop
- Operator which will be instertedpublic abstract void add(Operator op)
Adds new operator into collection.
op
- Operator which must be addedpublic abstract boolean remove(Operator item)
Removes operator from collection.
item
- Operator instancepublic abstract boolean contains(Operator item)
Check if the item is in collection.
item
- Operator instancepublic abstract void clear()
Clears collection.
public abstract Operator getUnrestricted(int index)
For internal usage only
index
- int valuepublic abstract void updateData()
internal
public abstract void deleteUnrestricted(int index)
internal
index
- int valuepublic abstract void cancelUpdate()
Cancels last update. This method may be called when the change should not raise contents update.