public class ImageDict extends java.lang.Object implements java.lang.AutoCloseable, java.io.Serializable, java.lang.Iterable<Image>
| Constructor and Description |
|---|
ImageDict()
Creates a new instance of the ImageDict class.
|
ImageDict(long handle)
Creates a new instance of the ImageDict class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.String key,
Image imageItem)
Adds an item to the ImageDict object.
|
void |
clear()
Clears the ImageDict object.
|
ImageDict |
clone()
Creates a copy of the ImageDict object.
|
void |
close()
Releases all resources used by this ImageDict.
|
boolean |
containsKey(java.lang.String key)
Determines whether the ImageDictobject contains the specified key.
|
protected void |
finalize()
Finalizer for this class.
|
Image |
get(java.lang.String key)
Gets an item of the ImageDict object.
|
int |
getCount()
Gets the number of elements in the ImageDict object.
|
long |
getHandle()
Gets the native handle.
|
StringList |
getKeys()
Gets the gets a string list containing the keys in the dict.
|
java.util.Iterator<Image> |
iterator() |
void |
remove(java.lang.String key)
Removes an element of the ImageDict object.
|
void |
set(java.lang.String key,
Image imageItem)
Sets an item of the ImageDict object.
|
public ImageDict()
throws FaceException
FaceException - An error has occurred during Face Library execution.public ImageDict(long handle)
throws FaceException
handle - Handle to the ImageDict.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 ImageDict clone() throws FaceException
clone in class java.lang.ObjectFaceException - An error has occurred during Face Library execution.public StringList getKeys() throws FaceException
FaceException - An error has occurred during Face Library execution.public void clear()
throws FaceException
FaceException - An error has occurred during Face Library execution.public void add(java.lang.String key,
Image imageItem)
throws FaceException
key - Unique key of the Image item to add.imageItem - Image item to add.FaceException - An error has occurred during Face Library execution.public Image get(java.lang.String key) throws FaceException
key - Unique key of the Image item to get.FaceException - An error has occurred during Face Library execution.public void set(java.lang.String key,
Image imageItem)
throws FaceException
key - Unique key of the Image item to set.imageItem - Image 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 boolean containsKey(java.lang.String key)
throws FaceException
key - The key to locate in the Image object.FaceException - An error has occurred during Face Library execution.public void remove(java.lang.String key)
throws FaceException
key - Unique key of the Image item to remove.FaceException - An error has occurred during Face Library execution.Copyright © id3 Technologies. All rights reserved. eu.id3.face