etomica.compatibility
Class StringFeature

java.lang.Object
  extended by etomica.compatibility.Feature
      extended by etomica.compatibility.StringFeature
All Implemented Interfaces:
Serializable

public class StringFeature
extends Feature
implements Serializable

See Also:
Serialized Form

Field Summary
 String value
           
 
Fields inherited from class etomica.compatibility.Feature
CONTAINS, GREATER_THAN, INCOMPATIBLE_TYPES, IS_EMPTY, IS_EQUAL, LESS_THAN, name
 
Constructor Summary
StringFeature(String aname, String avalue)
           
 
Method Summary
 int compareTo(Feature feat)
           
 boolean compareTo(int operator, Feature feat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public String value
Constructor Detail

StringFeature

public StringFeature(String aname,
                     String avalue)
Method Detail

compareTo

public int compareTo(Feature feat)
Specified by:
compareTo in class Feature

compareTo

public boolean compareTo(int operator,
                         Feature feat)
Specified by:
compareTo in class Feature