|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.iu.cnets.klatsch.lang.Value
edu.iu.cnets.klatsch.lang.VEvent
public class VEvent
This makes Event
values from the model a first-class value in Klatsch.
Field Summary | |
---|---|
(package private) Event |
e
the event we're encapsulating |
Constructor Summary | |
---|---|
VEvent(BasicEvent e)
Constructs a new event. |
|
VEvent(Event e)
Constructs a new event. |
Method Summary | |
---|---|
Value |
method_edges(Value... args)
edges() : Returns a stream of edges in this event. |
Value |
method_time(Value... args)
time() : Returns the timestamp for this event. |
java.lang.String |
toJson()
Creates a JSON representation of this event. |
java.lang.String |
toString()
Converts this event into a string representation. |
Methods inherited from class edu.iu.cnets.klatsch.lang.Value |
---|
require, requireCount, requireType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
Event e
Constructor Detail |
---|
public VEvent(BasicEvent e)
public VEvent(Event e)
Method Detail |
---|
public java.lang.String toString()
toString
in class Value
public java.lang.String toJson()
toJson
in class Value
public Value method_edges(Value... args) throws EvaluationException
EvaluationException
public Value method_time(Value... args) throws EvaluationException
EvaluationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |