|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
java.util.EventObject
com.tangosol.util.AnyEvent
public class AnyEvent
An AnyEvent is an event used when no specific event implementation fits and it is not worth making one.
| Field Summary | |
|---|---|
protected java.lang.Object |
valueThe value associated with this event. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
AnyEvent(java.lang.Object source, java.lang.Object value)Construct a new AnyEvent. |
|
| Method Summary | |
|---|---|
int |
getInt()Gets the associated value as a java int. |
java.lang.String |
getString()Gets the associated value as a java.lang.String. |
java.lang.Object |
getValue()Gets the associated value. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Field Detail |
|---|
protected java.lang.Object value
| Constructor Detail |
|---|
public AnyEvent(java.lang.Object source,
java.lang.Object value)
AnyEvent.
source - the event sourcevalue - some value to provide to event listeners| Method Detail |
|---|
public java.lang.Object getValue()
public java.lang.String getString()
java.lang.ClassCastException - if the event's value is not a Stringpublic int getInt()
java.lang.ClassCastException - if the event's value is not a Number
|
Oracle® Fusion Middleware Java API Reference for Oracle Coherence 12c (12.1.3.0.0) E47890-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||