|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.agmodel.physical.SummaryKind
A set of type-safe constants that represent the different ways of summarising data.
Supports locale dependent names for each kind, and iteration through the set.
Use them just like standard int constants eg SummaryKind.AVERAGE
Follows the style for typed classes described in "Create enumerated constants in Java" by Eric Armstrong
JavaWorld July 1997
Uses the resource bundle net.agmodel.resources.PhysicalResources
| Field Summary | |
static SummaryKind |
AVERAGE
Each datum represents the average of a set of more detailed data |
static SummaryKind |
EXTREMA
Each data pair represents the maximum and minimum of a set of more detailed data |
static SummaryKind |
MAXIMUM
Each datum represents the highest value of a set of more detailed data |
static SummaryKind |
MINIMUM
Each datum represents the lowest value of a set of more detailed data |
int |
ord
Used to provide an equivalent of the ord(A) function. |
static SummaryKind |
SAMPLE
Each datum consists of a single representative value from a set of more detailed data |
String |
summaryKindName
|
static SummaryKind |
TOTAL
Each datum represents the accumulated sum of a set of more detailed data |
| Method Summary | |
int |
compareTo(Object a)
|
boolean |
equals(Object a)
|
static SummaryKind |
first()
|
String |
getName()
|
int |
hashCode()
|
static Iterator |
iterator()
|
static SummaryKind |
last()
|
SummaryKind |
next()
|
SummaryKind |
prev()
|
static int |
size()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final SummaryKind TOTAL
public static final SummaryKind AVERAGE
public static final SummaryKind EXTREMA
public static final SummaryKind MAXIMUM
public static final SummaryKind MINIMUM
public static final SummaryKind SAMPLE
public final int ord
public String summaryKindName
| Method Detail |
public static Iterator iterator()
public String toString()
public String getName()
public static int size()
public static SummaryKind first()
public static SummaryKind last()
public SummaryKind prev()
public SummaryKind next()
public boolean equals(Object a)
public int hashCode()
public int compareTo(Object a)
compareTo in interface Comparable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||