|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.persist.DirectoryEntry
public class DirectoryEntry
The idea of the Encog persisted collection is that the entire file might be quite long and should not be read into memory in its entirity. Directory entry classes allow you to list the contents of a file without loading the entire file.
| Constructor Summary | |
|---|---|
DirectoryEntry(EncogPersistedObject obj)
Construct a directory entry for the specified object. |
|
DirectoryEntry(java.lang.String type,
java.lang.String name,
java.lang.String description)
Construct a directory entry from strings. |
|
| Method Summary | |
|---|---|
int |
compareTo(DirectoryEntry other)
Compare the two objects. |
boolean |
equals(java.lang.Object other)
Returns true if the two objects are equal. |
java.lang.String |
getDescription()
|
java.lang.String |
getName()
|
java.lang.String |
getType()
|
int |
hashCode()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DirectoryEntry(EncogPersistedObject obj)
obj - The Encog object.
public DirectoryEntry(java.lang.String type,
java.lang.String name,
java.lang.String description)
type - The type of object.name - The name of this object.description - The description for this object.| Method Detail |
|---|
public int compareTo(DirectoryEntry other)
compareTo in interface java.lang.Comparable<DirectoryEntry>other - The other object.
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - The other object.
public java.lang.String getDescription()
public java.lang.String getName()
public java.lang.String getType()
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||