|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectedu.northwestern.at.monk.model.AggregateContainer
public class AggregateContainer
An aggregate container.
| Constructor Summary | |
|---|---|
AggregateContainer(java.util.Collection<Container> containers)
Creates a new aggregate container. |
|
| Method Summary | |
|---|---|
int |
compareTo(AggregateContainer other)
Compares this instance with another. |
long |
getSummaryCount(CumKind cumKind,
FeatureKind featureKind,
Arity arity,
MainKind mainKind)
Gets a summary count. |
SummaryCounts |
getSummaryCounts(CumKind cumKind)
Gets the summary counts. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AggregateContainer(java.util.Collection<Container> containers)
containers - Collection of containers.| Method Detail |
|---|
public SummaryCounts getSummaryCounts(CumKind cumKind)
getSummaryCounts in interface ContainercumKind - Kind of count: CumKind.CUM or CumKind.NON_CUM.
public long getSummaryCount(CumKind cumKind,
FeatureKind featureKind,
Arity arity,
MainKind mainKind)
getSummaryCount in interface ContainercumKind - Kind of count: CumKind.CUM or CumKind.NON_CUM. (Ignored.)featureKind - Feature kind: FeatureKind.WORD or
FeatureKind.WORD_PART.arity - Arity: Arity.UNIGRAM, Arity.BIGRAM or Arity.TRIGRAM.mainKind - Main kind: MainKind.ALL_TEXT or MainKind.MAIN_TEXT.
public int compareTo(AggregateContainer other)
All aggregate containers are considered to be equal to each other.
compareTo in interface java.lang.Comparable<AggregateContainer>other - The other instance to be compared.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||