|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FilterType>
org.apache.commons.math3.ode.events.FilterType
public enum FilterType
Enumerate for filtering events
.
Enum Constant Summary | |
---|---|
TRIGGER_ONLY_DECREASING_EVENTS
Constant for triggering only decreasing events. |
|
TRIGGER_ONLY_INCREASING_EVENTS
Constant for triggering only increasing events. |
Method Summary | |
---|---|
protected abstract boolean |
getTriggeredIncreasing()
Get the increasing status of triggered events. |
protected abstract Transformer |
selectTransformer(Transformer previous,
double g,
boolean forward)
Get next function transformer in the specified direction. |
static FilterType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FilterType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final FilterType TRIGGER_ONLY_DECREASING_EVENTS
When this filter is used, the wrapped event handler
eventOccurred
method will be called only with
its increasing
argument set to false.
public static final FilterType TRIGGER_ONLY_INCREASING_EVENTS
When this filter is used, the wrapped event handler
eventOccurred
method will be called only with
its increasing
argument set to true.
Method Detail |
---|
public static FilterType[] values()
for (FilterType c : FilterType.values()) System.out.println(c);
public static FilterType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullprotected abstract boolean getTriggeredIncreasing()
protected abstract Transformer selectTransformer(Transformer previous, double g, boolean forward)
previous
- transformer active on the previous point with respect
to integration direction (may be null if no previous point is known)g
- current value of the g functionforward
- true if integration goes forward
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |