|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EncogCollection
An interface to either a memory or disk-based encog collection.
| Method Summary | |
|---|---|
void |
add(String name,
EncogPersistedObject obj)
Add an element to the collection. |
void |
buildDirectory()
Build the directory. |
void |
clear()
Clear all elements from the collection. |
void |
delete(DirectoryEntry object)
Delete an object from the collection. |
void |
delete(String key)
Delete a key from the collection. |
boolean |
exists(String key)
Determine if the specified key exists. |
EncogPersistedObject |
find(DirectoryEntry entry)
Find the object that corresponds to the specified directory entry, return null, if not found. |
EncogPersistedObject |
find(String key)
Find the object that corresponds to the specified key. |
Collection<DirectoryEntry> |
getDirectory()
|
String |
getEncogVersion()
|
int |
getFileVersion()
|
PersistenceLocation |
getLocation()
|
String |
getPlatform()
|
void |
updateProperties(String name,
String newName,
String desc)
Update the properties of an element in the collection. |
| Method Detail |
|---|
void add(String name,
EncogPersistedObject obj)
name - The name of the element being added.obj - The object to be added.void buildDirectory()
void clear()
void delete(DirectoryEntry object)
object - The object to be deleted.void delete(String key)
key - The key to delete.boolean exists(String key)
key - The key.
EncogPersistedObject find(DirectoryEntry entry)
entry - The entry to find.
EncogPersistedObject find(String key)
key - The key to search for.
Collection<DirectoryEntry> getDirectory()
String getEncogVersion()
int getFileVersion()
String getPlatform()
void updateProperties(String name,
String newName,
String desc)
name - The name of the object that is being updated.newName - The new name, can be the same as the old name, if the
description is to be updated only.desc - The new description.PersistenceLocation getLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||