public class GlasSequence
extends java.lang.Object
Constructor and Description |
---|
GlasSequence() |
Modifier and Type | Method and Description |
---|---|
void |
addAll(GlasSequence given_sequence) |
void |
addEvent(GlasEvent event) |
void |
clearAllEvents() |
java.util.ArrayList<GlasEvent> |
getEvents() |
int |
getNActions()
Calculates the number of actions in this sequence.
|
int |
getNStimuli()
Calculates the number of stimuli in this sequence.
|
void |
removeEvent(int index) |
void |
setEvents(java.util.ArrayList<GlasEvent> events) |
public void clearAllEvents()
public void addEvent(GlasEvent event)
public void removeEvent(int index)
public java.util.ArrayList<GlasEvent> getEvents()
public void setEvents(java.util.ArrayList<GlasEvent> events)
events
- the events to setpublic void addAll(GlasSequence given_sequence)
public int getNStimuli()
public int getNActions()