C# Class Encog.Persist.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.
Inheritance: IComparable
Datei anzeigen Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
CompareTo ( Object other ) : int

Compare the two objects.

DirectoryEntry ( IEncogPersistedObject obj ) : System

Construct a directory entry for the specified object.

DirectoryEntry ( String type, String name, String description ) : System

Construct a directory entry from strings.

Equals ( Object other ) : bool

Returns true if the two objects are equal.

GetHashCode ( ) : int

Create a simple hash code for this object.

ToString ( ) : String

Convert the object to a string.

Method Details

CompareTo() public method

Compare the two objects.
public CompareTo ( Object other ) : int
other Object The other object.
return int

DirectoryEntry() public method

Construct a directory entry for the specified object.
public DirectoryEntry ( IEncogPersistedObject obj ) : System
obj IEncogPersistedObject The Encog object.
return System

DirectoryEntry() public method

Construct a directory entry from strings.
public DirectoryEntry ( String type, String name, String description ) : System
type String The type of object.
name String The name of this object.
description String The description for this object.
return System

Equals() public method

Returns true if the two objects are equal.
public Equals ( Object other ) : bool
other Object The other object.
return bool

GetHashCode() public method

Create a simple hash code for this object.
public GetHashCode ( ) : int
return int

ToString() public method

Convert the object to a string.
public ToString ( ) : String
return String