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