|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uiuc.cs397rhc.sound.NegationCondition
NegationCondition is a simple way of negating another
MidiCondition.
| Constructor Summary | |
|---|---|
NegationCondition(MidiCondition condition)
Constructs a new NegationCondition that negates the given
MidiCondition. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getPrettyString()
Returns a pretty, printable representation of this condition. |
boolean |
isSatisfiedBy(javax.sound.midi.MidiMessage msg,
long time)
Whether the condition is satisfied by the given MidiMessage
and timestamp. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public NegationCondition(MidiCondition condition)
NegationCondition that negates the given
MidiCondition.
condition - the condition to be negated| Method Detail |
|---|
public boolean isSatisfiedBy(javax.sound.midi.MidiMessage msg,
long time)
MidiConditionMidiMessage
and timestamp.
isSatisfiedBy in interface MidiConditionmsg - the message being checkedtime - the timestamp of the message
true if satisfied, false otherwise.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getPrettyString()
MidiCondition
getPrettyString in interface MidiConditionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||