| Package | system.data.iterators |
| Class | public class BagIterator |
| Inheritance | BagIterator Object |
| Implements | Iterator |
| Property | Defined By | ||
|---|---|---|---|
| DEFAULT_COMODIFICATION_MESSAGE : String = BagIterator check for comodification failed with a Bag. [static]
The default comodification message. | BagIterator | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new BagIterator instance. | BagIterator | ||
checkForComodification(message:String = null):void
This method check the comodification of the Bag and test if the iterator is valid and can continue to process. | BagIterator | ||
hasNext():Boolean
Returns true if the iteration has more elements. | BagIterator | ||
key():*
Unsupported method in all BagIterator. | BagIterator | ||
next():*
Returns the next element in the iteration. | BagIterator | ||
remove():*
Removes from the underlying collection the last element returned by the iterator (optional operation). | BagIterator | ||
reset():void
Unsupported method in all BagIterator. | BagIterator | ||
seek(position:*):void
Unsupported method in all BagIterator. | BagIterator | ||
| DEFAULT_COMODIFICATION_MESSAGE | property |
public static var DEFAULT_COMODIFICATION_MESSAGE:String = BagIterator check for comodification failed with a Bag.The default comodification message.
| BagIterator | () | Constructor |
public function BagIterator(parent:CoreMapBag, support:Iterator)Creates a new BagIterator instance.
Parametersparent:CoreMapBag — the bag CoreMapBag used in this iterator.
| |
support:Iterator — the iterator to support this iterator.
|
| checkForComodification | () | method |
public function checkForComodification(message:String = null):voidThis method check the comodification of the Bag and test if the iterator is valid and can continue to process.
Parameters
message:String (default = null) |
| hasNext | () | method |
public function hasNext():Boolean
Returns true if the iteration has more elements.
Boolean — true if the iteration has more elements.
|
| key | () | method |
public function key():*Unsupported method in all BagIterator.
Returns* |
IllegalOperationError — key method in unsupported.
|
| next | () | method |
public function next():*Returns the next element in the iteration.
Returns* — the next element in the iteration.
|
ConcurrentModificationError — the next method failed with an internal concurrent modification.
|
| remove | () | method |
public function remove():*Removes from the underlying collection the last element returned by the iterator (optional operation).
Returns* |
| reset | () | method |
public function reset():voidUnsupported method in all BagIterator.
IllegalOperationError — reset method in unsupported.
|
| seek | () | method |
public function seek(position:*):voidUnsupported method in all BagIterator.
Parameters
position:* |
IllegalOperationError — seek method in unsupported.
|