Package net.sf.okapi.common.filters
Class FilterInfo
- java.lang.Object
-
- net.sf.okapi.common.filters.FilterInfo
-
- All Implemented Interfaces:
Comparable<FilterInfo>
public class FilterInfo extends Object implements Comparable<FilterInfo>
Storage for filter information.
-
-
Constructor Summary
Constructors Constructor Description FilterInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(FilterInfo obj)
Compares the display names of the two filters.String
toString()
Returns the display name of this filter.
-
-
-
Method Detail
-
toString
public String toString()
Returns the display name of this filter.
-
compareTo
public int compareTo(FilterInfo obj)
Compares the display names of the two filters.- Specified by:
compareTo
in interfaceComparable<FilterInfo>
- Parameters:
obj
- the other filter info object to compare.- Returns:
- the comparison result between the two filters display name, 0 if they are the same.
-
-