|
Jive Forums API (5.5.20.2-oracle) Developer Javadocs | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Element | |
---|---|
com.jivesoftware.base.stats | Core reporting engine classes and interfaces. |
com.jivesoftware.base.stats.bin | Implementations of the stats Bin interface. |
com.jivesoftware.base.stats.element | Implementations of the stats Element interface. |
Uses of Element in com.jivesoftware.base.stats |
---|
Methods in com.jivesoftware.base.stats that return Element | |
---|---|
abstract Element |
Bin.getBegin()
Get the first element in this Bin |
abstract Element |
Bin.getEnd()
Get the last element in this Bin |
abstract Element |
Element.getInstance(long n)
Returns an instance of this class with an initial value of n. |
Element |
Histogram.getMaxElement()
Get the maximum element added to the histogram. |
Element |
Histogram.getMinElement()
Get the minimum element added to the histogram. |
Methods in com.jivesoftware.base.stats with parameters of type Element | |
---|---|
void |
Histogram.add(Element element)
Add a new element to the histogram in the specified bin. |
void |
Histogram.add(Element element,
long increment)
Add a new element to the histogram. |
abstract boolean |
Bin.contains(Element e)
See if this Bin contains the given Element. |
java.lang.String |
ElementFormat.format(Element e)
|
java.lang.String |
BinFormat.formatElement(Element e)
|
Bin |
BinSequence.getBin(Element element)
Map an Element to a Bin. |
Bin[] |
BinSequence.getBins(Element minElement,
Element maxElement)
Get a sequence of Bins. |
Bin[] |
BinSequence.getBins(Element minElement,
Element maxElement,
boolean containsMin,
boolean containsMax)
Get a sequence of Bins. |
Histogram |
Histogram.getHistogram(BinSequence binSequence,
Element minElement,
Element maxElement)
Get a new Histogram with the given set of bins. |
Constructors in com.jivesoftware.base.stats with parameters of type Element | |
---|---|
Histogram(BinSequence binSequence,
Element minElement,
Element maxElement)
Create a histogram that uses the specified binSequence.getBin() method to put incoming elements into bins as they are added. |
Uses of Element in com.jivesoftware.base.stats.bin |
---|
Methods in com.jivesoftware.base.stats.bin that return Element | |
---|---|
Element |
Interval.getBegin()
Get the first element in the Interval |
Element |
SingleElementBin.getBegin()
Get the first element in this bin (the embedded element) |
Element |
Interval.getEnd()
Get the last element in the Interval |
Element |
SingleElementBin.getEnd()
Get the last element in this bin (the embedded element) |
Element |
RegularSequence.getStep()
Get the interval step size for this sequence. |
Methods in com.jivesoftware.base.stats.bin with parameters of type Element | |
---|---|
boolean |
Interval.contains(Element e)
Determine whether the Interval contains the given Element. |
boolean |
SingleElementBin.contains(Element e)
See if this bin contains the given element. |
Bin |
CyclicSequence.getBin(Element element)
Get the Bin for the specified Element. |
Bin |
DefaultBinSequence.getBin(Element element)
Produce a SingleElementBin from the given element. |
Bin |
RegularSequence.getBin(Element element)
Get the Bin for the specified Element. |
Bin |
SigFigSequence.getBin(Element element)
Take an element, strip out all but sigFig significant figures, and build a new bin. |
Bin |
TimeSigFigSequence.getBin(Element element)
Take an element, convert to the relevant time units, strip out all but sigFig significant figures, and build a new bin. |
Bin |
VariableStepSequence.getBin(Element element)
Map an Element to a Bin. |
Bin[] |
CyclicSequence.getBins(Element minElement,
Element maxElement)
Get a sequence of bins starting at minElement and ending with maxElement. |
Bin[] |
DefaultBinSequence.getBins(Element minElement,
Element maxElement)
getBins() does just returns null because we don't know anything about the structure of the Bins we generate with getBin() |
Bin[] |
RegularSequence.getBins(Element minElement,
Element maxElement)
|
Bin[] |
SigFigSequence.getBins(Element minElement,
Element maxElement)
Return a sequence of bins starting with the bin containing minElement and ending with the bin containing maxElement. |
Bin[] |
TimeSigFigSequence.getBins(Element minElement,
Element maxElement)
Return a sequence of bins. |
Bin[] |
VariableStepSequence.getBins(Element minElement,
Element maxElement)
Get a sequence of Bins. |
Bin[] |
CyclicSequence.getBins(Element minElement,
Element maxElement,
boolean containsMin,
boolean containsMax)
Get a sequence of bins starting at minElement and ending with maxElement. |
Bin[] |
DefaultBinSequence.getBins(Element minElement,
Element maxElement,
boolean containsMin,
boolean containsMax)
getBins() does just returns null because we don't know anything about the structure of the Bins we generate with getBin() |
Bin[] |
RegularSequence.getBins(Element minElement,
Element maxElement,
boolean containsMin,
boolean containsMax)
Get a sequence of bins starting at minElement and ending with maxElement. |
Bin[] |
SigFigSequence.getBins(Element minElement,
Element maxElement,
boolean containsMin,
boolean containsMax)
Return a sequence of bins. |
Bin[] |
TimeSigFigSequence.getBins(Element minElement,
Element maxElement,
boolean containsMin,
boolean containsMax)
Get a sequence of Bins. |
Bin[] |
VariableStepSequence.getBins(Element minElement,
Element maxElement,
boolean containsMin,
boolean containsMax)
Get a sequence of Bins. |
Constructors in com.jivesoftware.base.stats.bin with parameters of type Element | |
---|---|
ClosedInterval(Element begin,
Element end)
|
|
HalfOpenInterval(Element begin,
Element end)
|
|
Interval(Element begin,
Element end,
boolean containsBegin,
boolean containsEnd)
Creates new Interval extending from begin to end. |
|
RegularSequence(Element step)
Create a BinSequence that will generate a sequence of regularly spaced intervals. |
|
RegularSequence(Element begin,
Element step)
Create a BinSequence that will generate a sequence of regularly spaced intervals. |
|
SingleElementBin(Element element)
Creates new SingleElementBin that wraps the given element |
Uses of Element in com.jivesoftware.base.stats.element |
---|
Subclasses of Element in com.jivesoftware.base.stats.element | |
---|---|
class |
CyclicElement
An Element for which values wrap around after being incremented a sufficient number of times. |
class |
DateElement
An Element which is specialized for handling Dates. |
class |
InfiniteElement
InfiniteElement is a special Element used to represent the largest and smallest possible elements. |
class |
LongElement
An implementation of Element that wraps a Long. |
class |
StringElement
An Element that wraps a String. |
Fields in com.jivesoftware.base.stats.element declared as Element | |
---|---|
static Element |
InfiniteElement.INFINITY
|
static Element |
InfiniteElement.MINUS_INFINITY
|
Methods in com.jivesoftware.base.stats.element that return Element | |
---|---|
Element |
CyclicElement.getInstance(long n)
Generate a new CyclicElement. |
Element |
DateElement.getInstance(long n)
Get a new DateElement instance. |
Element |
InfiniteElement.getInstance(long n)
Generates a new instance of InfiniteElement. |
Element |
LongElement.getInstance(long n)
Retuns an instance of this class with the given long as its value. |
Element |
StringElement.getInstance(long n)
Generates a new instance of InfiniteElement. |
Methods in com.jivesoftware.base.stats.element with parameters of type Element | |
---|---|
java.lang.String |
DateElementFormat.format(Element e)
|
java.lang.String |
DayOfWeekElementFormat.format(Element e)
Format an element and return a String. |
java.lang.String |
DefaultElementFormat.format(Element e)
|
java.lang.String |
HourOfDayElementFormat.format(Element e)
Format an element and return a String. |
|
Jive Forums Project Page | |||||||||
PREV NEXT | FRAMES NO FRAMES |