|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.TaggedObject
edu.northwestern.at.monk.model.CoreObject
edu.northwestern.at.monk.model.TenseCategory
public class TenseCategory
A tense part of speech category.
| Nested Class Summary | |
|---|---|
static class |
TenseCategory.Comparator
A multi-column tense category comparator. |
static class |
TenseCategory.SortOption
Tense category sorting options. |
| Method Summary | |
|---|---|
static int |
compare(TenseCategory cat1,
TenseCategory cat2)
Compares two tense categories with null values permitted. |
int |
compareTo(TenseCategory other)
Compares this instance with another. |
static java.util.Collection<TenseCategory> |
find(java.util.Collection<SearchCriterion> criteria)
Finds tense categories. |
static java.util.Collection<TenseCategory> |
find(SearchCriteria criteria)
Finds tense categories. |
static java.util.Collection<TenseCategory> |
find(SearchCriterion... criteria)
Finds tense categories. |
static TenseCategory |
get(java.lang.String tag)
Gets a tense category by tag. |
static java.util.Collection<TenseCategory> |
getAll()
Gets all the tense categories. |
static TenseCategory[] |
sort(java.util.Collection<TenseCategory> collection,
TenseCategory.SortOption... options)
Sorts a collection of tense categories. |
static void |
sort(TenseCategory[] array,
TenseCategory.SortOption... options)
Sorts an array of tense categories. |
| Methods inherited from class edu.northwestern.at.monk.model.TaggedObject |
|---|
getTag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TenseCategory get(java.lang.String tag)
tag - Tag.
public static java.util.Collection<TenseCategory> getAll()
public static java.util.Collection<TenseCategory> find(SearchCriterion... criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static java.util.Collection<TenseCategory> find(java.util.Collection<SearchCriterion> criteria)
throws ModelException
criteria - Collection of search criteria.
sort method.
ModelException -
public static java.util.Collection<TenseCategory> find(SearchCriteria criteria)
throws ModelException
criteria - Search criteria.
sort method.
ModelException -
public static void sort(TenseCategory[] array,
TenseCategory.SortOption... options)
array - Array of tense categories.options - Sort options, or null to use the natural ordering.
public static TenseCategory[] sort(java.util.Collection<TenseCategory> collection,
TenseCategory.SortOption... options)
collection - Collection of tense categories.options - Sort options, or null to use the natural ordering.
public static int compare(TenseCategory cat1,
TenseCategory cat2)
Tense categories are ordered in case and diacritical-insensitve increasing alphabetical order by tag. Null values are equal to each other but greater than all other values.
cat1 - First tense category.cat2 - Second tense category.
public int compareTo(TenseCategory other)
Tense categories are ordered in case and diacritical-insensitve increasing alphabetical order by tag.
compareTo in interface java.lang.Comparable<TenseCategory>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||