Class Feature
java.lang.Object
org.variantsync.boosting.datastructure.Feature
- All Implemented Interfaces:
 Serializable,Comparable<Feature>
Represents a feature with a name.
 
 This class implements the Comparable interface to allow for comparison of
 Feature objects based on their names.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
Feature
Constructs a new Feature object with the given name.- Parameters:
 name- the name of the feature
 
 - 
 - 
Method Details
- 
getName
Returns the name of the feature.- Returns:
 - the name of the feature
 
 - 
equals
Compares this Feature object with the specified object for equality. - 
hashCode
public int hashCode()Returns a hash code value for the Feature object. - 
compareTo
Compares this Feature object with the specified Feature object for order.- Specified by:
 compareToin interfaceComparable<Feature>- Parameters:
 other- the Feature object to compare with- Returns:
 - a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object
 
 
 -