MasterCollection
Inheritance: java.lang.Object, com.aspose.diagram.Collection
public class MasterCollection extends Collection<Master>
Master collection.
Methods
| Method | Description |
|---|---|
| add(T o) | |
| add(Master master) | Add the Master object in the collection. |
| clear() | |
| contains(Object o) | |
| equals(Object arg0) | |
| get(int index) | |
| getClass() | |
| getCount() | |
| getInnerList() | |
| getMaster(int ID) | Gets the element at the specified ID. |
| getMasterByName(String name) | Get master by name. |
| getMasterShortcuts() | MasterShortcut collection. |
| getMaxRelID() | get the max rel id in the collection. |
| hashCode() | |
| indexOf(Object o) | |
| isExist(int index) | |
| isExist(String name) | Is exist master in the collection. |
| isExistRelId(String relID) | Is exist master rel id in the collection. |
| iterator() | |
| notify() | |
| notifyAll() | |
| remove(Master master) | Remove the Master object from the collection. |
| removeAt(int index) | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
add(T o)
public int add(T o)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | T |
Returns: int
add(Master master)
public int add(Master master)
Add the Master object in the collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| master | Master |
Returns: int -
clear()
public void clear()
contains(Object o)
public boolean contains(Object o)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object |
Returns: boolean
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
get(int index)
public T get(int index)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int |
Returns: T
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public int getCount()
Returns: int
getInnerList()
public ArrayList<T> getInnerList()
Returns:
java.util.ArrayList
getMaster(int ID)
public Master getMaster(int ID)
Gets the element at the specified ID.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| ID | int |
Returns: Master -
getMasterByName(String name)
public Master getMasterByName(String name)
Get master by name.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: Master -
getMasterShortcuts()
public MasterShortcutCollection getMasterShortcuts()
MasterShortcut collection.
Returns: MasterShortcutCollection
getMaxRelID()
public int getMaxRelID()
get the max rel id in the collection.
Returns: int -
hashCode()
public native int hashCode()
Returns: int
indexOf(Object o)
public int indexOf(Object o)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| o | java.lang.Object |
Returns: int
isExist(int index)
public boolean isExist(int index)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int |
Returns: boolean
isExist(String name)
public boolean isExist(String name)
Is exist master in the collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| name | java.lang.String |
Returns: boolean -
isExistRelId(String relID)
public boolean isExistRelId(String relID)
Is exist master rel id in the collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| relID | java.lang.String |
Returns: boolean -
iterator()
public Iterator<T> iterator()
Returns:
java.util.Iterator
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
remove(Master master)
public void remove(Master master)
Remove the Master object from the collection.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| master | Master |
removeAt(int index)
public void removeAt(int index)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |