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