public class PointList extends java.lang.Object implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<Point>
| Constructor and Description |
|---|
PointList()
Creates a new instance of the PointList class.
|
PointList(long handle)
Creates a new instance of the PointList class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(Point pointItem)
Adds an item to the PointList object.
|
void |
clear()
Clears the PointList object.
|
PointList |
clone()
Creates a copy of the PointList object.
|
void |
close()
Releases all resources used by this PointList.
|
protected void |
finalize()
Finalizer for this class.
|
Point |
get(int index)
Gets an item of the PointList object.
|
int |
getCount()
Gets the number of elements in the PointList object.
|
long |
getHandle()
Gets the native handle.
|
java.util.Iterator<Point> |
iterator() |
void |
removeAt(int index)
Removes an element of the PointList object.
|
void |
resize(int newSize)
PointList object.
|
void |
set(int index,
Point pointItem)
Sets an item of the PointList object.
|
public PointList()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public PointList(long handle)
throws DocumentException
handle - Handle to the PointList.DocumentException - An error has occurred during Document Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public PointList clone() throws DocumentException
clone in class java.lang.ObjectDocumentException - An error has occurred during Document Library execution.public void clear()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public void add(Point pointItem) throws DocumentException
pointItem - Point item to add.DocumentException - An error has occurred during Document Library execution.public Point get(int index) throws DocumentException
index - Index of the Point item to get.DocumentException - An error has occurred during Document Library execution.public void set(int index,
Point pointItem)
throws DocumentException
index - Index of the Point item to set.pointItem - Point item to set.DocumentException - An error has occurred during Document Library execution.public int getCount()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public void removeAt(int index)
throws DocumentException
index - Index of the Point item to remove.DocumentException - An error has occurred during Document Library execution.public void resize(int newSize)
throws DocumentException
newSize - Point object.DocumentException - An error has occurred during Document Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document