public class WBSCodeMaskCollection extends AbstractCollection<WBSCodeMask>
Represents a collection of WBSCodeMask objects.
Modifier and Type | Method and Description |
---|---|
boolean |
add(WBSCodeMask item)
Adds WBSCodeMask object to this collection.
|
void |
clear()
Removes all items from this collection.
|
boolean |
contains(WBSCodeMask item)
Returns true if this collection contains the specified item.
|
void |
copyTo(WBSCodeMask[] array,
int arrayIndex)
Copies all the elements of this collection to the specified one-dimensional array starting at the specified destination array index.
|
Iterator<WBSCodeMask> |
iterator()
Returns an iterator of this collection.
|
boolean |
remove(WBSCodeMask item)
Returns true if the specified item was removed from this collection successfully.
|
int |
size()
Returns the number of items contained in this collection.
|
List<WBSCodeMask> |
toList()
Returns a list which contains all items from this collection.
|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, hashCode, parallelStream, removeIf, spliterator, stream
public Iterator<WBSCodeMask> iterator()
iterator
in interface Iterable<WBSCodeMask>
iterator
in interface Collection<WBSCodeMask>
iterator
in class AbstractCollection<WBSCodeMask>
public boolean add(WBSCodeMask item)
add
in interface Collection<WBSCodeMask>
add
in class AbstractCollection<WBSCodeMask>
item
- WBSCodeMask object.public void clear()
clear
in interface Collection<WBSCodeMask>
clear
in class AbstractCollection<WBSCodeMask>
public boolean contains(WBSCodeMask item)
item
- The specified item.public void copyTo(WBSCodeMask[] array, int arrayIndex)
array
- the specified one-dimensional array.arrayIndex
- the specified destination array indexpublic boolean remove(WBSCodeMask item)
item
- The specified item.public int size()
size
in interface Collection<WBSCodeMask>
size
in class AbstractCollection<WBSCodeMask>
public List<WBSCodeMask> toList()
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.