A B C D E F G H I J K L M N O P R S T U V W X Y Z

A

Accordion - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
AcousticBass - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
AcousticBassDrum - Static variable in interface world.sound.tunes.SoundConstants
 
AcousticGrandPiano - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
AcousticGuitar_nylon - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
AcousticGuitar_steel - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
AcousticSnare - Static variable in interface world.sound.tunes.SoundConstants
 
add(X, int) - Method in class universe.Empty
 
add(X, int) - Method in class universe.List
Add an Element to this list at the given index
add(TuneCollection) - Method in class world.sound.tunes.TuneCollection
Add all the Tunes/Chords form the given TuneCollection to this one.
addChord(Chord) - Method in class world.sound.tunes.Tune
Add all the Notes fomr the given Chord to this Tune.
addChord(int, Chord) - Method in class world.sound.tunes.TuneCollection
Add the given Chord to the given Channel in this Collection.
addLine(int, int, int, int, String) - Method in class image.Scene
Add a line to this Scene from (x,y) to (xx, yy)
addLine(double, double, double, double, String) - Method in class image.Scene
Add a line to this Scene from (x,y) to (xx, yy)
addLine(Posn, Posn, String) - Method in class image.Scene
Add a line to this Scene from the first Posn to the second
addMessage(WithWorld) - Method in class universe.base.Server
Add a Message to the Queue
addNote(Note) - Method in class world.sound.tunes.Chord
Add a given note to this Chord.
addNote(int, int) - Method in class world.sound.tunes.Chord
Add a Note with the given pitch and duration to this Chord.
addNote(Note) - Method in class world.sound.tunes.Tune
Add the given Note to this Tune's Chord
addNote(String) - Method in class world.sound.tunes.Tune
Add a Note (represented by the given String) this Tune's Chord.
addNote(int, int) - Method in class world.sound.tunes.TuneCollection
Add the Note represented by the given Pitch to the given Channel in this Collection.
addNote(int, String) - Method in class world.sound.tunes.TuneCollection
Add the Note represented by the given String to the given Channel in this Collection.
addNote(int, Note) - Method in class world.sound.tunes.TuneCollection
Add the given Note to the given Channel in this Collection.
addServant(Server<Msg>.ServantThread) - Method in class universe.base.Server
Add a Servant Thread to the List
addTop(RuntimeException, StackTraceElement) - Static method in class util.Util
Add an element to the top of a StackTrace, also used to hide implementation details
addTune(Tune) - Method in class world.sound.tunes.TuneCollection
Add a given Tune/Chord to this Collection.
addTunes(Iterable<Tune>) - Method in class world.sound.tunes.TuneCollection
Add a all given Tunes/Chords (Iterable) to this Collection.
addWorld(Server.WorldImp) - Method in class universe.base.Server
Add a Message to the Queue
Agogo - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
AltoSax - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
andmap(List.Pred<X>) - Method in class universe.List
Does this Predicate match all the elements in this List?
append(List<X>) - Method in class universe.Empty
 
append(X) - Method in class universe.Empty
 
append(List<X>) - Method in class universe.List
Append another List to the end of this List
append(X) - Method in class universe.List
Append an element to the end of this List
APPLAUSE - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Applause - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
apply(Universe<Msg>, IWorld) - Method in interface universe.base.OnDisconnect
 
apply(Universe<Msg>) - Method in interface universe.base.OnDraw
 
apply(Universe<Msg>, IWorld, Msg) - Method in interface universe.base.OnMsg
 
apply(Universe<Msg>, IWorld) - Method in interface universe.base.OnNew
 
apply(Universe<Msg>) - Method in interface universe.base.OnTick
 
apply(World<?>) - Method in interface universe.world.base.LastScene
Apply this function to draw the World into/as a Scene when the World/Animation/Game has ended.
apply(World<?>) - Method in interface universe.world.base.OnDraw
Apply this function to draw the World into/as a Scene
apply(World<Msg>, String) - Method in interface universe.world.base.OnKey
Apply this function to produce a Package (World + Messages) when a Key is pressed.
apply(World<Msg>, int, int, String) - Method in interface universe.world.base.OnMouse
Apply this function to produce a Package (World + Messages) on a MouseEvent
apply(World<Msg>, Msg) - Method in interface universe.world.base.OnReceive
Apply this function to produce a Package (World + Messages) when a message is received.
apply(World<Msg>, String) - Method in interface universe.world.base.OnRelease
Apply this function to produce a Package (World + Messages) when a Key is released.
apply(World<Msg>) - Method in interface universe.world.base.OnTick
Apply this function to produce a Package (World + Messages) on each time tick.
apply(World<?>) - Method in interface universe.world.base.StopWhen
Apply this function to determine when the World/Animation/Game should be stopped.
applyFunc(Object, Method, Object[]) - Static method in class util.Util
Apply the given method using the given Object and arguments
argsString(Class<?>[], int) - Static method in class util.Util
Return a pretty argument string for displaying signatures

B

BAGPIPE - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Bagpipe - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Banjo - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
BaritoneSax - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
BASS - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
BassDrum_1 - Static variable in interface world.sound.tunes.SoundConstants
 
Bassoon - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
BigBang<Msg extends java.io.Serializable> - Class in universe.world
A Class representing the creation of a World/System that communicates by passing messages of some type (Msg), and the related methods and Function-Objects (call-backs) for drawing the world and handling various events.
BigBang(World<Msg>) - Constructor for class universe.world.BigBang
 
bigBang() - Method in class universe.world.BigBang
Construct and run the animation/interaction system.
bigBang(String) - Method in class universe.world.BigBang
Open a window and run the animation with the given title
bigBang(String, String) - Method in class universe.world.VoidWorld
Kick off the interaction/animation and connect to the given Universe server URL, under the given client name.
bigBang() - Method in class universe.world.VoidWorld
Kick off the interaction/animation without connecting to the Universe.
bigBang(String, String) - Method in class universe.world.World
Kick off the interaction/animation and connect to the given Universe server URL, under the given client name.
bigBang() - Method in class universe.world.World
Kick off the interaction/animation without connecting to the Universe.
BigBang - Class in world
A Class representing the creation of a World/System of some type, and the related methods and Function Objects (call-backs) for drawing the world and handling various events.
BigBang(Object) - Constructor for class world.BigBang
Create a new BigBang with a value of the initial World
bigBang() - Method in class world.BigBang
Construct and run the animation/interaction system.
bigBang(String) - Method in class world.BigBang
Open a window and run the animation with the given title
bigBang() - Method in class world.sound.SoundWorld
Kick off the interaction/animation.
bigBang() - Method in class world.VoidWorld
Kick off the interaction/animation.
bigBang() - Method in class world.World
Kick off the interaction/animation.
BIRD_TWEET - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
BirdTweet - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
BlownBottle - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
box(Class<?>) - Static method in class util.Util
For predicting Box/Unboxing and the associated Type differences/subtyping
BrassSection - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
BreathNoise - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
BrightAcousticPiano - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
build(int) - Method in class universe.List.Build
 
buildlist(List.Build<X>, int) - Static method in class universe.List
Build a list from the numbers 0..(len-1)
Bundle<Msg extends java.io.Serializable> - Class in universe
Represents the result of a Universe function where the universe is updated, messages are sent to registered Worlds, and Worlds are marked for removal from the universe.
Bundle(Universe<Msg>) - Constructor for class universe.Bundle
Create a Bundle without any Mail/Worlds to remove
Bundle(Universe<Msg>, Mail<Msg>) - Constructor for class universe.Bundle
Create a Bundle with Mail messages but no Worlds to remove
Bundle(Universe<Msg>, Mail<Msg>...) - Constructor for class universe.Bundle
Create a Bundle with Mail messages but no Worlds to remove
Bundle(Universe<Msg>, List<Mail<Msg>>) - Constructor for class universe.Bundle
Create a Bundle with a list of Mail messages but no Worlds to remove
Bundle(Universe<Msg>, List<Mail<Msg>>, List<IWorld>) - Constructor for class universe.Bundle
Create a Bundle with a list of Mail messages and ask that the given Worlds be removed

C

Cabasa - Static variable in interface world.sound.tunes.SoundConstants
 
Celesta - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
CELLO - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Cello - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ChatClient - Class in universe.test
Universe/Parameterized BigBang Chat Client test
ChatClient() - Constructor for class universe.test.ChatClient
 
ChatServer - Class in universe.test
Universe ChatServer test.
checkExpect(boolean, boolean) - Method in class testing.Examples
Check the given boolean against the Expected one
checkExpect(char, char) - Method in class testing.Examples
Check the given character against the Expected one
checkExpect(short, short) - Method in class testing.Examples
Check the given short-integer against the Expected one
checkExpect(int, int) - Method in class testing.Examples
Check the given integer against the Expected one
checkExpect(long, long) - Method in class testing.Examples
Check the given long-integer against the Expected one
checkExpect(float, float) - Method in class testing.Examples
Check the given floating-point number against the Expected one
checkExpect(double, double) - Method in class testing.Examples
Check the given double-precision number against the Expected one
checkExpect(String, String) - Method in class testing.Examples
Check the given String against the Expected one
checkExpect(Object, Object) - Method in class testing.Examples
Check the given Object against the Expected one
ChineseCymbal - Static variable in interface world.sound.tunes.SoundConstants
 
CHOIR - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
ChoirAahs - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Chord - Class in world.sound.tunes
A class to represent a collection of notes to be played on one instrument at the same time.
Chord() - Constructor for class world.sound.tunes.Chord
The default constructor
Chord(int...) - Constructor for class world.sound.tunes.Chord
Creates a Chord from a sequence of Pitches (Note numbers)
Chord(Note...) - Constructor for class world.sound.tunes.Chord
Create a Chord from a sequence of Notes.
ChurchOrgan - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Circle - Class in image
A Class representing a Circle Image.
Circle(double, String, String) - Constructor for class image.Circle
Construct a circle Image of the given (double) radius, mode, and color
Circle(int, String, String) - Constructor for class image.Circle
Construct a circle Image of the given (int) radius, mode, and color
Clarinet - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Claves - Static variable in interface world.sound.tunes.SoundConstants
 
Clavi - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
clear() - Method in class world.sound.tunes.TuneCollection
Stop playing notes and clear the Collection.
clearChord() - Method in class world.sound.tunes.Tune
Remove all Notes from this Tune.
clearTunes() - Method in class world.sound.tunes.TuneCollection
Clear all chords in this Collection
close() - Method in class universe.base.Server.WorldImp
 
close() - Method in class universe.base.Server.WorldImpObj
 
close() - Method in class universe.base.Server.WorldImpSExp
 
ClosedHiHat - Static variable in interface world.sound.tunes.SoundConstants
 
color(String) - Static method in class image.ColorDatabase
Get the Color represented by the given string
ColorDatabase - Class in image
Manages color names and translation to implementation-dependent Color structures.
ColorDatabase() - Constructor for class image.ColorDatabase
 
ColorDatabase.InvalidColorException - Exception in image
Thrown when an invalid color is used
colorToARGB(String) - Static method in class image.ColorDatabase
Convert the given Color String into ARGB integer format.
colorToARGB(double, double, double) - Static method in class image.ColorDatabase
Convert the given Color intensities into ARGB integer format.
colorToARGB(double, double, double, double) - Static method in class image.ColorDatabase
Convert the given Alpha and Color intensities into ARGB integer format.
colorToARGB(int, int, int) - Static method in class image.ColorDatabase
Convert the given Color intensities into ARGB integer format.
colorToARGB(int, int, int, int) - Static method in class image.ColorDatabase
Convert the given Alpha and Color intensities into ARGB integer format.
comp(X, Y) - Method in class universe.List.GComp
Compare these two Xs, returning true/false
computePitch(char, int, char) - Static method in class world.sound.tunes.Note
Compute the MIDI pitch of the given note name, octave, and modifier.
Connect - Class in universe.control
Represents a Connect Message when a new World is added to the Universe
Connect(String, long) - Constructor for class universe.control.Connect
Create a Connect Message from a Name
Cons<X> - Class in universe
Represents a Lisp style cons list.
Cons(X, List<X>) - Constructor for class universe.Cons
 
contains(X) - Method in class universe.Empty
 
contains(List.Pred<X>) - Method in class universe.Empty
 
contains(X) - Method in class universe.List
Does the given X occur in this List?
contains(List.Pred<X>) - Method in class universe.List
Does this Predicate match anything in this List?
contains(int, int) - Method in class world.sound.tunes.TuneCollection
Does this TunCollection contain the given Pitch on the given Channel?
contains(int, Note) - Method in class world.sound.tunes.TuneCollection
Does this TunCollection contain the given Note on the given Channel?
containsAll(List<X>) - Method in class universe.Empty
 
containsAll(List<X>, List.Comp<X>) - Method in class universe.Empty
 
containsAll(List<X>) - Method in class universe.List
Does this List contain all of the given List's Elements?
containsAll(List<X>, List.Comp<X>) - Method in class universe.List
Does this List contain all of the given List's Elements using the given comparer?
containsAllG(List<Y>, List.GComp<X, Y>) - Method in class universe.List
Does this List contain all of the given List's Elements using the given comparer?
containsAny(List<X>) - Method in class universe.Empty
 
containsAny(List<X>) - Method in class universe.List
Does this List contain any of the given List's Elements?
containsAny(List<X>, List.Comp<X>) - Method in class universe.List
Does this List contain any of the given List's Elements using the given comparer?
containsAnyG(List<Y>, List.GComp<X, Y>) - Method in class universe.List
Does this List contain any of the given List's Elements using the given comparer?
containsG(Y, List.GComp<X, Y>) - Method in class universe.List
Does the given X occur in this List?
containsNote(Note) - Method in class world.sound.tunes.Chord
Does this chord contain the given note?
containsNote(Note) - Method in class world.sound.tunes.Tune
Does this tune contain the given Note?
content - Variable in class universe.Mail
Message content (what)
Contrabass - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
copy() - Method in class world.sound.tunes.Chord
Make a copy of this Chord by copying its Notes
copy() - Method in class world.sound.tunes.Note
Make a copy of this Note.
copy() - Method in class world.sound.tunes.TuneCollection
Make a deep copy of this TuneCollection
count(List.Pred<X>) - Method in class universe.List
Count the elements that match the given Predicate
Cowbell - Static variable in interface world.sound.tunes.SoundConstants
 
CrashCymbal_1 - Static variable in interface world.sound.tunes.SoundConstants
 
CrashCymbal_2 - Static variable in interface world.sound.tunes.SoundConstants
 
create() - Static method in class universe.List
Create an Empty List
create(X) - Static method in class universe.List
Create a List from a single argument
create(X...) - Static method in class universe.List
Create a List from an array/variable arguments
create(X[], int) - Static method in class universe.List
Create a List from a fixed array, starting at index 'i'
create(Iterable<X>) - Static method in class universe.List
Create a List from an Iterable...
curry(Y) - Method in class universe.List.GComp
Return a Predicate that uses the comparator (later) using the given X as its first argument

D

DEFAULT_DUR - Static variable in class world.sound.tunes.Chord
The default Note duration.
DEFAULT_TICK_RATE - Static variable in class universe.Universe
Default Tick rate for the world
DEFAULT_TICK_RATE - Static variable in class universe.world.BigBang
Default Tick rate for the world: ~33 frames per second
DEFAULT_TICK_RATE - Static variable in class universe.world.VoidWorld
Default Tick rate for the world: ~33 frames per second
DEFAULT_TICK_RATE - Static variable in class universe.world.World
Default Tick rate for the world: ~33 frames per second
DEFAULT_TICK_RATE - Static variable in class world.BigBang
Default Tick rate for the world: ~33 frames per second
DEFAULT_TICK_RATE - Static variable in class world.sound.SoundWorld
Default Tick rate for the world: ~33 frames per second
DEFAULT_TICK_RATE - Static variable in class world.VoidWorld
Default Tick rate for the world: ~33 frames per second
DEFAULT_TICK_RATE - Static variable in class world.World
Default Tick rate for the world: ~33 frames per second
Disconnect - Class in universe.control
Represents a Disconnect Message when a World is removed from the Universe
Disconnect(long) - Constructor for class universe.control.Disconnect
Create a Disconnect Message from a Name/Id
display(Object) - Static method in class util.Util
Return a String representation of the given arbitrary Object
display(Object, String) - Static method in class util.Util
Return a String representation of the given arbitrary Object
display(Object, Class<?>, String) - Static method in class util.Util
Return a String representation of the given Object of the given Class
display(Image) - Static method in class world.World
Opens a new Window and displays the given Image/Scene, returns true once the window is closed.
DisplayTest - Class in examples
 
DisplayTest() - Constructor for class examples.DisplayTest
 
DistortionGuitar - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
DrawbarOrgan - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Dulcimer - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers

E

ElectricBass_finger - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricBass_pick - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricGrandPiano - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricGuitar_clean - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricGuitar_jazz - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricGuitar_muted - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricPiano_1 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricPiano_2 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ElectricSnare - Static variable in interface world.sound.tunes.SoundConstants
 
Ellipse - Class in image
Represents an Image of an Ellipse.
Ellipse(double, double, String, String) - Constructor for class image.Ellipse
Create a Ellipse Image with (double) width and height, mode and color
Ellipse(int, int, String, String) - Constructor for class image.Ellipse
Create a Ellipse Image with (int) width and height, mode and color
Empty<X> - Class in universe
Represents the Empty List.
Empty() - Constructor for class universe.Empty
 
EmptyScene - Class in image
Represents the empty (blank) Scene (a cropped Image).
EmptyScene(double, double) - Constructor for class image.EmptyScene
Construct an EmptyScene of (Width x Height)
EmptyScene(double, double, String) - Constructor for class image.EmptyScene
Construct an EmptyScene of (Width x Height)
EmptyScene(int, int) - Constructor for class image.EmptyScene
Construct an EmptyScene of (Width x Height)
EmptyScene(int, int, String) - Constructor for class image.EmptyScene
Construct an EmptyScene of (Width x Height)
EnglishHorn - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
equals(IWorld) - Method in class universe.base.Server.WorldShell
 
equals(Object) - Method in class universe.base.Server.WorldShell
 
equals(Object) - Method in class universe.Cons
 
equals(Object) - Method in class universe.Empty
 
equals(IWorld) - Method in interface universe.IWorld
Is this IWorld the same as the given IWorld?
equals(Object) - Method in class universe.List
Equals for Lists...
equals(Object) - Method in class world.sound.SoundWorld
Overridden equality to method.
equals(Object) - Method in class world.VoidWorld
Make sure that changes are redrawn every time
escape(char) - Static method in class util.Util
Return a String for a single expanded/escaped character
Example1 - Class in imagetutor
Example #1 for Image tutorial
Example2 - Class in imagetutor
Example #2 for Image tutorial
Example3 - Class in imagetutor
Example #3 for Image tutorial
examples - package examples
 
Examples - Class in testing
The parent of Example/Test classes.
Examples() - Constructor for class testing.Examples
 
exceptionDrop(int, String) - Static method in class util.Util
Return an exception, but drop the top N frames (to hide implementation details)

F

Falling - Class in world.test
Falling Balls Demo.
Falling() - Constructor for class world.test.Falling
 
FallingWorld - Class in examples
Falling Balls Demo in World style.
FallingWorld - Class in universe.world.test
Falling Balls Demo in World style.
FallingWorld - Class in world.test
Falling Balls Demo in World style.
Fiddle - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
fields(Class<?>) - Static method in class util.Util
Retrieve the (transitive) fields of the given class
filter(List.Pred<X>) - Method in class universe.Empty
 
filter(X) - Method in class universe.List
Filter out all the non-same Elements
filter(List.Pred<X>) - Method in class universe.List
Filter out all the non-matching Elements
filterout(X) - Method in class universe.List
Filter out all the same Elements
filterout(List.Pred<X>) - Method in class universe.List
Filter out all the matching Elements
find(X) - Method in class universe.Empty
 
find(List.Pred<X>) - Method in class universe.Empty
 
find(X) - Method in class universe.List
Return the given X, throws a RuntimeException if not there
find(List.Pred<X>) - Method in class universe.List
Return the first matching X, throws a RuntimeException if not there
findG(Y, List.GComp<X, Y>) - Method in class universe.List
Return the given X, throws a RuntimeException if not there
flip() - Method in class universe.List.GComp
Return a general comparator with flipped comparision (and types)
flipHorizontal() - Method in class image.Image
Return a version of this Image flipped horizontally (left to right).
flipVertical() - Method in class image.Image
Return a version of this Image flipped vertically (top to bottom).
Flute - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
fold(List.Fold<X, Y>, Y) - Method in class universe.List
Fold this List to a single Value (Left to Right)
fold(X, Y) - Method in class universe.List.Fold
 
foldl(List.Fold<X, Y>, Y) - Method in class universe.Empty
 
foldl(List.Fold<X, Y>, Y) - Method in class universe.List
Fold this List to a single Value (Left to Right)
foldr(List.Fold<X, Y>, Y) - Method in class universe.Empty
 
foldr(List.Fold<X, Y>, Y) - Method in class universe.List
Fold this List to a single Value (Right to Left)
FooExamples - Class in testing.test
A Sample class that uses the Examples class.
FooExamples() - Constructor for class testing.test.FooExamples
 
FrenchHorn - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
frereTune - Static variable in class world.sound.test.MelodySamples
 
FretlessBass - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
from() - Method in class universe.control.Message
Get the name of the World/sender
FromFile - Class in image
Represents an Image from a file.
FromFile(String) - Constructor for class image.FromFile
Create an Image from the given file name
FromResource - Class in image
Represents an image from a JAR resource (an Image file within the currently executing JAR).
FromResource(String) - Constructor for class image.FromResource
Create an Image from the given file name within a JAR.
FromURL - Class in image
Represents an image from a URL.
FromURL(String) - Constructor for class image.FromURL
Create an Image from the given URL address
funcObjMethName - Static variable in class util.Util
Name of Handler Methods
FX_1_rain - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
FX_2_soundtrack - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
FX_3_crystal - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
FX_4_atmosphere - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
FX_5_brightness - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
FX_6_goblins - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
FX_7_echoes - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
FX_8_scifi - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers

G

getChannel() - Method in class world.sound.tunes.Tune
Get the Channel number the Chord will be played on.
getChord() - Method in class world.sound.tunes.Tune
Return the Chord that will be played.
getDuration() - Method in class world.sound.tunes.Note
Get the Duration of this Note.
getFirst() - Method in class universe.Cons
Getter for Entry.key
getGraphics() - Method in class image.RasterImage
Get the Graphics2D associated with this RasterImage
getMails() - Method in class universe.Bundle
Get the list of Mail messages
getMsg() - Method in class universe.Package
Get the message associated with this Package/World
getPitch() - Method in class world.sound.tunes.Note
Get the Pitch of this Note.
getPixel(int, int) - Method in class image.RasterImage
Get the java.awt.Color of the pixel at the given x/y
getPixelAsString(int, int) - Method in class image.RasterImage
Get a String of the Color pixel at the given x/y.
getProgram(int) - Method in class world.sound.tunes.MusicBox
Produce the instrument currently assigned to the given channel.
getRest() - Method in class universe.Cons
Getter for Entry.val
getUniverse() - Method in class universe.Bundle
Get the Universe state
getVelocity() - Method in class world.sound.tunes.Note
Get the Velocity of this Note.
getWImp() - Method in class universe.control.WithWorld
 
getWorld() - Method in class universe.Package
Access the current state of the World within this Package
getWorlds() - Method in class universe.Bundle
Get the worlds to be removed
getWShell() - Method in class universe.control.WithWorld
 
Glockenspiel - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
GuitarFretNoise - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
GuitarHarmonics - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Gunshot - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers

H

HandClap - Static variable in interface world.sound.tunes.SoundConstants
 
Harmonica - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Harpsichord - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
hashCode() - Method in class universe.Cons
 
hashCode() - Method in class universe.Empty
 
hashCode() - Method in class universe.List
HashCode for Lists...
hasMessage() - Method in class universe.base.Server
Is there a message in the Queue
hasMsg() - Method in class universe.Package
Does this Package contain a message?
height() - Method in class image.EmptyScene
Return the Width of this Scene/Image
height() - Method in class image.Image
Calculate the height of this Image
height() - Method in class image.Line
Return the height of this Line Image
height() - Method in class image.Overlay
Return the height of this Image
height() - Method in class image.RasterImage
Return the height of this Image
height() - Method in class image.Rectangle
Return the Height of this Image
height() - Method in class image.RegularPolygon
Return the Height of this Image
height() - Method in class image.Text
Return the Height of this Image
height() - Method in class image.Triangle
Return the Height of this Image
height() - Method in class image.Widget
Return the Height of this Image
Helicopter - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
HiBongo - Static variable in interface world.sound.tunes.SoundConstants
 
hidden - package hidden
 
HighAgogo - Static variable in interface world.sound.tunes.SoundConstants
 
HighFloorTom - Static variable in interface world.sound.tunes.SoundConstants
 
HighTimbale - Static variable in interface world.sound.tunes.SoundConstants
 
HighTom - Static variable in interface world.sound.tunes.SoundConstants
 
HiMidTom - Static variable in interface world.sound.tunes.SoundConstants
 
HiWoodBlock - Static variable in interface world.sound.tunes.SoundConstants
 
HonkyTonkPiano - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
huh(Server.WorldImp) - Method in class universe.base.Server.WorldPred
 
huh(X) - Method in class universe.List.Pred
Is this predicate true for the given X?

I

id() - Method in class universe.base.Server.WorldShell
 
id() - Method in interface universe.IWorld
Get this worlds unique ID
image - package image
An image creation package mimics the Racket's 2htdp/image library.
Image - Class in image
An abstract class representing an Image.
image.test - package image.test
Testing package for image library.
image.test.images - package image.test.images
 
imagetutor - package imagetutor
imagetutor.images - package imagetutor.images
 
index(X) - Method in class universe.List
Return the Index of the given element
index(List.Pred<X>) - Method in class universe.List
Return the Index of the first match
initChannels() - Method in class world.sound.tunes.MusicBox
Initialize the program to the default set of instruments defined in SoundConstants.
initChannels(int...) - Method in class world.sound.tunes.MusicBox
Initialize the MIDI channels to the given set of instruments.
initTunes() - Method in class world.sound.tunes.TuneCollection
Initialize all the Channels to empty Tunes.
insert(X, List.Comp<X>) - Method in class universe.Empty
 
insert(Iterable<X>, List.Comp<X>) - Method in class universe.List
Insert a number of Elements into this SORTED list
insert(X, List.Comp<X>) - Method in class universe.List
Insert an Element into this SORTED list using the given Comparison
insertionSort(List.Comp<X>) - Method in class universe.List
Sort this List using Insertion Sort
INSTRUMENT_NAMES - Static variable in interface world.sound.tunes.SoundConstants
Names for the standard MIDI instrument
INSTRUMENTS - Static variable in interface world.sound.tunes.SoundConstants
Default instrument selection
InstrumentTest - Class in world.sound.test
Initialize the channels (instruments) to different values
isConnect() - Method in class universe.control.Connect
Is this a Connect Message?
isConnect() - Method in class universe.control.Message
Is this a Connect Message?
isConnect() - Method in class universe.control.WithWorld
 
isDisconnect() - Method in class universe.control.Disconnect
Is this a Disconnect Message?
isDisconnect() - Method in class universe.control.Message
Is this a Disconnect Message?
isDisconnect() - Method in class universe.control.WithWorld
 
isEmpty() - Method in class universe.Cons
 
isEmpty() - Method in class universe.Empty
 
isEmpty() - Method in class universe.List
Is this List Empty?
isReady() - Method in class world.sound.tunes.MusicBox
Has this music box been initialized?
isSilent() - Method in class world.sound.tunes.Chord
Have all notes in this chord finish playing?
isSilent() - Method in class world.sound.tunes.Note
Has this note completed its duration?
isSilent() - Method in class world.sound.tunes.Tune
Has this Tune finished playing? Are all the Notes in the Chord done?
isTransfer() - Method in class universe.control.Message
Is this a Transfer Message?
isTransfer() - Method in class universe.control.Transfer
Is this a Transfer Message?
isTransfer() - Method in class universe.control.WithWorld
 
iterator() - Method in class universe.List
Return an Iterator for this list
iterator() - Method in class world.sound.tunes.Melody
Return an Iterator over the Chords in this Melody.
IWorld - Interface in universe
Represents a World in the Universe.

J

jeopardyTune - Static variable in class world.sound.test.MelodySamples
 

K

Kalimba - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
KEY_ARROW_DOWN - Static variable in class universe.world.BigBang
Key arrow-down event String
KEY_ARROW_DOWN - Static variable in class universe.world.VoidWorld
Key arrow-down event String
KEY_ARROW_DOWN - Static variable in class universe.world.World
Key arrow-down event String
KEY_ARROW_DOWN - Static variable in class world.BigBang
Key arrow-down event String
KEY_ARROW_DOWN - Static variable in class world.sound.SoundWorld
Key arrow-down event String
KEY_ARROW_DOWN - Static variable in class world.VoidWorld
Key arrow-down event String
KEY_ARROW_DOWN - Static variable in class world.World
Key arrow-down event String
KEY_ARROW_LEFT - Static variable in class universe.world.BigBang
Key arrow-left event String
KEY_ARROW_LEFT - Static variable in class universe.world.VoidWorld
Key arrow-left event String
KEY_ARROW_LEFT - Static variable in class universe.world.World
Key arrow-left event String
KEY_ARROW_LEFT - Static variable in class world.BigBang
Key arrow-left event String
KEY_ARROW_LEFT - Static variable in class world.sound.SoundWorld
Key arrow-left event String
KEY_ARROW_LEFT - Static variable in class world.VoidWorld
Key arrow-left event String
KEY_ARROW_LEFT - Static variable in class world.World
Key arrow-left event String
KEY_ARROW_RIGHT - Static variable in class universe.world.BigBang
Key arrow-right event String
KEY_ARROW_RIGHT - Static variable in class universe.world.VoidWorld
Key arrow-right event String
KEY_ARROW_RIGHT - Static variable in class universe.world.World
Key arrow-right event String
KEY_ARROW_RIGHT - Static variable in class world.BigBang
Key arrow-right event String
KEY_ARROW_RIGHT - Static variable in class world.sound.SoundWorld
Key arrow-right event String
KEY_ARROW_RIGHT - Static variable in class world.VoidWorld
Key arrow-right event String
KEY_ARROW_RIGHT - Static variable in class world.World
Key arrow-right event String
KEY_ARROW_UP - Static variable in class universe.world.BigBang
Key arrow-up event String
KEY_ARROW_UP - Static variable in class universe.world.VoidWorld
Key arrow-up event String
KEY_ARROW_UP - Static variable in class universe.world.World
Key arrow-up event String
KEY_ARROW_UP - Static variable in class world.BigBang
Key arrow-up event String
KEY_ARROW_UP - Static variable in class world.sound.SoundWorld
Key arrow-up event String
KEY_ARROW_UP - Static variable in class world.VoidWorld
Key arrow-up event String
KEY_ARROW_UP - Static variable in class world.World
Key arrow-up event String
KEY_ESCAPE - Static variable in class universe.world.BigBang
Key escape event String
KEY_ESCAPE - Static variable in class world.BigBang
Key escape event String
KeyMove - Class in world.test
OnKey Test
KeyMove() - Constructor for class world.test.KeyMove
 
KeyMoveWorld - Class in examples
World OnKey Test
KeyMoveWorld - Class in universe.world.test
World OnKey Test
KeyMoveWorld - Class in world.test
World OnKey Test
KeySoundWorld - Class in world.sound.test
React to key events to play a simple keyboard using 'a' through 'k' for white keys and 'w'/'e'/'t'/'y'/'u' as black keys.
keyTunes - Variable in class world.sound.SoundWorld
The collection of tunes to start playing when a key is pressed, which will automatically removed when the same key is released.
Koto - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers

L

lastScene() - Method in class hidden.SnakeGame
 
LastScene - Interface in universe.world.base
An interface that represents a function that draws the given World into/as a Scene after/when the World/Animation/Game has ended.
lastScene(LastScene) - Method in class universe.world.BigBang
Install a LastScene Handler into this BigBang.
lastScene() - Method in class universe.world.VoidWorld
Returns the Scene that should be displayed when the interaction/animation completes (VoidWorld.stopWhen() returns true).
lastScene() - Method in class universe.world.World
Returns the Scene that should be displayed when the interaction/animation completes (World.stopWhen() returns true).
lastScene(Object) - Method in class world.BigBang
Install a LastScene Handler into this BigBang.
lastScene() - Method in class world.sound.SoundWorld
Returns the Scene that should be displayed when the interaction/animation completes (SoundWorld.stopWhen() returns true).
lastScene() - Method in class world.VoidWorld
Returns the Scene that should be displayed when the interaction/animation completes (VoidWorld.stopWhen() returns true).
lastScene() - Method in class world.World
Returns the Scene that should be displayed when the interaction/animation completes (World.stopWhen() returns true).
Lead_1_square - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Lead_2_sawtooth - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Lead_3_calliope - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Lead_4_chiff - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Lead_5_charang - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Lead_6_voice - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Lead_7_fifths - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Lead_8_basslead - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
length() - Method in class universe.Empty
 
length() - Method in class universe.List
The Length of This List
Line - Class in image
Class representing a Line from (0,0) to the given (X,Y).
Line(double, double, String) - Constructor for class image.Line
Create a Line from (0,0) to doubles (X,Y) of the given color
Line(int, int, String) - Constructor for class image.Line
Create a Line from (0,0) to ints (X,Y) of the given color
Line(Posn, String) - Constructor for class image.Line
Create a Line from (0,0) to doubles (X,Y) of the given color
List<X> - Class in universe
Represents Lisp style Lists.
List(int) - Constructor for class universe.List
Default Constructor
List.Build<X> - Class in universe
Build a List from the sequence of integers [0..len-1]
List.Build() - Constructor for class universe.List.Build
 
List.Comp<X> - Class in universe
Compare two List Elements of the same type
List.Comp() - Constructor for class universe.List.Comp
 
List.Fold<X,Y> - Class in universe
Fold the List into a single Value
List.Fold() - Constructor for class universe.List.Fold
 
List.GComp<X,Y> - Class in universe
(General) Compare two List Elements of possibly different types (true is "LessThan" for sort(), but "Equal" for same(...))
List.GComp() - Constructor for class universe.List.GComp
 
List.Map<X,Y> - Class in universe
Apply a function to each element of the list
List.Map() - Constructor for class universe.List.Map
 
List.Pred<X> - Class in universe
Select Elements of a List
List.Pred() - Constructor for class universe.List.Pred
 
List.Stringer<X> - Class in universe
Compute a String from a List (Visitor)
List.Stringer() - Constructor for class universe.List.Stringer
 
List.Zip<X,Y,Z> - Class in universe
Zip two Lists into a single Value
List.Zip() - Constructor for class universe.List.Zip
 
LongGuiro - Static variable in interface world.sound.tunes.SoundConstants
 
LongWhistle - Static variable in interface world.sound.tunes.SoundConstants
 
lookup(int) - Method in class universe.Empty
 
lookup(int) - Method in class universe.List
Lookup the i^th item in this List
LowAgogo - Static variable in interface world.sound.tunes.SoundConstants
 
LowBongo - Static variable in interface world.sound.tunes.SoundConstants
 
LowConga - Static variable in interface world.sound.tunes.SoundConstants
 
LowFloorTom - Static variable in interface world.sound.tunes.SoundConstants
 
LowMidTom - Static variable in interface world.sound.tunes.SoundConstants
 
LowTimbale - Static variable in interface world.sound.tunes.SoundConstants
 
LowTom - Static variable in interface world.sound.tunes.SoundConstants
 
LowWoodBlock - Static variable in interface world.sound.tunes.SoundConstants
 

M

Mail<Msg> - Class in universe
Represents a Mail message between Worlds and the Universe
Mail(IWorld, Msg) - Constructor for class universe.Mail
Construct a Mail message with the given target/content
main(String[]) - Static method in class examples.DisplayTest
 
main(String[]) - Static method in class examples.FallingWorld
 
main(String[]) - Static method in class examples.KeyMoveWorld
 
main(String[]) - Static method in class examples.MousePointsWorld
 
main(String[]) - Static method in class examples.RotatingLinesWorld
 
main(String[]) - Static method in class hidden.SnakeGame
 
main(String[]) - Static method in class hidden.WebPage
 
main(String[]) - Static method in class image.test.WriteTests
 
main(String[]) - Static method in class imagetutor.Example1
 
main(String[]) - Static method in class imagetutor.Example2
 
main(String[]) - Static method in class imagetutor.Example3
 
main(String[]) - Static method in class testing.test.FooExamples
Required method to hook into the Examples/testing
main(String[]) - Static method in class universe.List
 
main(String[]) - Static method in class universe.test.ChatClient
 
main(String[]) - Static method in class universe.test.ChatServer
Main method.
main(String[]) - Static method in class universe.test.ShowKey
 
main(String[]) - Static method in class universe.test.ShowServer
 
main(String[]) - Static method in class universe.world.test.FallingWorld
 
main(String[]) - Static method in class universe.world.test.KeyMoveWorld
 
main(String[]) - Static method in class universe.world.test.MousePointsWorld
 
main(String[]) - Static method in class universe.world.test.RotatingLinesWorld
 
main(String[]) - Static method in class universe.world.test.StopTest.MousePointsWorld
 
main(String[]) - Static method in class util.Util
Simple Test for SExp output
main(String[]) - Static method in class world.sound.test.InstrumentTest
 
main(String[]) - Static method in class world.sound.test.KeySoundWorld
 
main(String[]) - Static method in class world.sound.test.Mario
Simple Main method (that Java runs) to start the animation/sound
main(String[]) - Static method in class world.sound.test.MousePointsSoundWorld
 
main(String[]) - Static method in class world.sound.test.SoundTest
Main Method...
main(String[]) - Static method in class world.test.Falling
 
main(String[]) - Static method in class world.test.FallingWorld
 
main(String[]) - Static method in class world.test.KeyMove
 
main(String[]) - Static method in class world.test.KeyMoveWorld
 
main(String[]) - Static method in class world.test.MousePoints
 
main(String[]) - Static method in class world.test.MousePointsVoidWorld
 
main(String[]) - Static method in class world.test.MousePointsWorld
 
main(String[]) - Static method in class world.test.RotatingLines
 
main(String[]) - Static method in class world.test.RotatingLinesWorld
 
main(String[]) - Static method in class world.test.StateExamples
Run the application as an Example
main(String[]) - Static method in class world.test.StopTest.MousePointsWorld
 
main(String[]) - Static method in class world.test.VoidWorldInteractions
 
main(String[]) - Static method in class world.test.WorldTest.DisplayTest
 
main(String[]) - Static method in class world.test.WorldTest.MousePointsWorld
 
makeAwtColor(double, double, double) - Static method in class image.ColorDatabase
Create a Color from the given Red/Green/Blue fractional intensities in [0..1.0].
makeAwtColor(double, double, double, double) - Static method in class image.ColorDatabase
Create a Color from the given Alpha/Red/Green/Blue fractional intensities in [0..1.0].
makeAwtColor(int, int, int) - Static method in class image.ColorDatabase
Create a Color from the given Alpha/Red/Green/Blue intensities in [0..255].
makeAwtColor(int, int, int, int) - Static method in class image.ColorDatabase
Create a Color from the given Alpha/Red/Green/Blue intensities in [0..255].
makeAwtColor(int) - Static method in class image.ColorDatabase
Create a Color from the given integer that encodes Alpha/Red/Green/Blue intensities.
makeColor(int, int, int) - Static method in class image.ColorDatabase
Create a color String from the given Alpha/Red/Green/Blue intensities in [0..255].
makeColor(int, int, int, int) - Static method in class image.ColorDatabase
Create a color String from the given Alpha/Red/Green/Blue intensities in [0..255].
makeColor(double, double, double) - Static method in class image.ColorDatabase
Create a color String from the given Red/Green/Blue fractional intensities in [0..1.0].
makeColor(double, double, double, double) - Static method in class image.ColorDatabase
Create a color String from the given Alpha/Red/Green/Blue fractional intensities in [0..1.0].
makeColor(int) - Static method in class image.ColorDatabase
Create a color String from the given integer that encodes Alpha/Red/Green/Blue intensities.
map(List.Map<X, Y>) - Method in class universe.Empty
 
map(List.Map<X, Y>) - Method in class universe.List
Apply a function to each Element of this List
map(X) - Method in class universe.List.Map
 
Maracas - Static variable in interface world.sound.tunes.SoundConstants
 
Marimba - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Mario - Class in world.sound.test
Simple class that demonstrates playing a melody...
MelodicTom - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Melody - Class in world.sound.tunes
Represents a collection of chords that can be played in sequence.
Melody(Chord...) - Constructor for class world.sound.tunes.Melody
Construct an melody with the given sequence of Chords.
Melody(ArrayList<Chord>) - Constructor for class world.sound.tunes.Melody
Construct a melody from the given list of chords.
Melody(Note...) - Constructor for class world.sound.tunes.Melody
Initialize the melody from a monotone sequence of notes
MelodySamples - Class in world.sound.test
Example melodies: Frere-Jaque, and Jeopardy Theme-Song
Message - Class in universe.control
Represents a Message between World and Universe
MOUSE_DOWN - Static variable in class universe.world.BigBang
Mouse down (button-down) event String
MOUSE_DOWN - Static variable in class universe.world.VoidWorld
Mouse down (button-down) event String
MOUSE_DOWN - Static variable in class universe.world.World
Mouse down (button-down) event String
MOUSE_DOWN - Static variable in class world.BigBang
Mouse down (button-down) event String
MOUSE_DOWN - Static variable in class world.sound.SoundWorld
Mouse down (button-down) event String
MOUSE_DOWN - Static variable in class world.VoidWorld
Mouse down (button-down) event String
MOUSE_DOWN - Static variable in class world.World
Mouse down (button-down) event String
MOUSE_DRAG - Static variable in class universe.world.BigBang
Mouse down & move (drag) event String
MOUSE_DRAG - Static variable in class universe.world.VoidWorld
Mouse down & move (drag) event String
MOUSE_DRAG - Static variable in class universe.world.World
Mouse down & move (drag) event String
MOUSE_DRAG - Static variable in class world.BigBang
Mouse down & move (drag) event String
MOUSE_DRAG - Static variable in class world.sound.SoundWorld
Mouse down & move (drag) event String
MOUSE_DRAG - Static variable in class world.VoidWorld
Mouse down & move (drag) event String
MOUSE_DRAG - Static variable in class world.World
Mouse down & move (drag) event String
MOUSE_ENTER - Static variable in class universe.world.BigBang
Mouse window enter (enter) event String
MOUSE_ENTER - Static variable in class universe.world.VoidWorld
Mouse window enter (enter) event String
MOUSE_ENTER - Static variable in class universe.world.World
Mouse window enter (enter) event String
MOUSE_ENTER - Static variable in class world.BigBang
Mouse window enter (enter) event String
MOUSE_ENTER - Static variable in class world.sound.SoundWorld
Mouse window enter (enter) event String
MOUSE_ENTER - Static variable in class world.VoidWorld
Mouse window enter (enter) event String
MOUSE_ENTER - Static variable in class world.World
Mouse window enter (enter) event String
MOUSE_LEAVE - Static variable in class universe.world.BigBang
Mouse window leave (leave) event String
MOUSE_LEAVE - Static variable in class universe.world.VoidWorld
Mouse window leave (leave) event String
MOUSE_LEAVE - Static variable in class universe.world.World
Mouse window leave (leave) event String
MOUSE_LEAVE - Static variable in class world.BigBang
Mouse window leave (leave) event String
MOUSE_LEAVE - Static variable in class world.sound.SoundWorld
Mouse window leave (leave) event String
MOUSE_LEAVE - Static variable in class world.VoidWorld
Mouse window leave (leave) event String
MOUSE_LEAVE - Static variable in class world.World
Mouse window leave (leave) event String
MOUSE_MOVE - Static variable in class universe.world.BigBang
Mouse motion (move) event String
MOUSE_MOVE - Static variable in class universe.world.VoidWorld
Mouse motion (move) event String
MOUSE_MOVE - Static variable in class universe.world.World
Mouse motion (move) event String
MOUSE_MOVE - Static variable in class world.BigBang
Mouse motion (move) event String
MOUSE_MOVE - Static variable in class world.sound.SoundWorld
Mouse motion (move) event String
MOUSE_MOVE - Static variable in class world.VoidWorld
Mouse motion (move) event String
MOUSE_MOVE - Static variable in class world.World
Mouse motion (move) event String
MOUSE_UP - Static variable in class universe.world.BigBang
Mouse up (button-up) event String
MOUSE_UP - Static variable in class universe.world.VoidWorld
Mouse up (button-up) event String
MOUSE_UP - Static variable in class universe.world.World
Mouse up (button-up) event String
MOUSE_UP - Static variable in class world.BigBang
Mouse up (button-up) event String
MOUSE_UP - Static variable in class world.sound.SoundWorld
Mouse up (button-up) event String
MOUSE_UP - Static variable in class world.VoidWorld
Mouse up (button-up) event String
MOUSE_UP - Static variable in class world.World
Mouse up (button-up) event String
MousePoints - Class in world.test
Mouse point/click Test
MousePoints() - Constructor for class world.test.MousePoints
 
MousePointsSoundWorld - Class in world.sound.test
 
MousePointsVoidWorld - Class in world.test
 
MousePointsWorld - Class in examples
Mouse World point/click Test
MousePointsWorld - Class in universe.world.test
Mouse World/Universe point/click Test
MousePointsWorld - Class in world.test
 
musicBox - Variable in class world.sound.SoundWorld
A representation of the current state of the MIDI synthesizer.
MusicBox - Class in world.sound.tunes
Represents/initializes the MIDI synthesizer and manages the channels/instruments in the MIDI program.
MusicBox() - Constructor for class world.sound.tunes.MusicBox
The default constructor just initializes the MIDI synthesizer and sets the default program for the instruments.
MusicBox(int...) - Constructor for class world.sound.tunes.MusicBox
The MIDI synthesizer can also be initialized with a list of instrument numbers rather than setting the default program.
MusicBox - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
MuteCuica - Static variable in interface world.sound.tunes.SoundConstants
 
MutedTrumpet - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
MuteHiConga - Static variable in interface world.sound.tunes.SoundConstants
 
MuteTriangle - Static variable in interface world.sound.tunes.SoundConstants
 

N

name() - Method in class universe.base.Server.WorldShell
 
name() - Method in class universe.control.Connect
Get the sender's Name
name() - Method in interface universe.IWorld
Get the registered name of this World (not necessarily unique)
name(String) - Method in class universe.world.BigBang
Install the name of this client, to be used with the Universe server
negate() - Method in class universe.List.Pred
Return a Predicate that is the negation of this one
nextBeat() - Method in class world.sound.tunes.Chord
Reduce all the Notes in this Chord by a single beat.
nextBeat() - Method in class world.sound.tunes.Note
Decrement the duration of this Note.
nextBeat() - Method in class world.sound.tunes.TuneCollection
Stop playing the Notes/Chords when their duration has expired.
nextMessage() - Method in class universe.base.Server
Get the next Message
None - Class in universe.world
Represents an empty Message Type (for interactive, but non-networked animations/worlds)
None() - Constructor for class universe.world.None
Default constructor
noplay - Static variable in class world.sound.tunes.Chord
A singleton Chord representing silence
Note - Class in world.sound.tunes
Represents a single note which includes a pitch and duration.
Note(int) - Constructor for class world.sound.tunes.Note
Create a Note with the given MIDI pitch, with a default duration of 1 and a default velocity.
Note(int, int) - Constructor for class world.sound.tunes.Note
Create a Note with the given MIDI pitch and duration, and the default velocity.
Note(int, int, int) - Constructor for class world.sound.tunes.Note
Create a Note with the given MIDI pitch, duration, and velocity.
Note(String) - Constructor for class world.sound.tunes.Note
Create a Note from the description given as a String, and the default velocity.
Note(String, int) - Constructor for class world.sound.tunes.Note
Create a Note from the description given as a String.
NoteA - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteAp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteB - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteC - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteCp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteD - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownA - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownAp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownB - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownC - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownCp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownD - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownDp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownE - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownF - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownFp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownG - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDownGp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteDp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteE - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteF - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteFp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteG - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteGp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
notes - Variable in class world.sound.tunes.Chord
the list of notes in this chord
NoteUpA - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpAp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpB - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpC - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpCp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpD - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpDp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpE - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpF - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpFp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpG - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
NoteUpGp - Static variable in interface world.sound.tunes.SoundConstants
Names for the Notes/Keys
numServants() - Method in class universe.base.Server
Remove a Servant Thread from the List

O

Oboe - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Ocarina - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
OnDisconnect<Msg extends java.io.Serializable> - Interface in universe.base
 
onDisconnect(OnDisconnect<Msg>) - Method in class universe.base.UniverseBase
 
onDisconnect(IWorld) - Method in class universe.test.ChatServer
When a client disconnects, remove the world and send a message
onDisconnect(IWorld) - Method in class universe.test.ShowServer
 
onDisconnect(IWorld) - Method in class universe.Universe
 
onDraw() - Method in class examples.FallingWorld
In order to draw the World, draw the balls into an EmptyScene
onDraw() - Method in class examples.KeyMoveWorld
Draw the dot into an EmptyScene
onDraw() - Method in class examples.MousePointsWorld
Draw by returning the inner Scene
onDraw() - Method in class examples.RotatingLinesWorld
Draw two lines at the current base angle
onDraw() - Method in class hidden.SnakeGame
 
OnDraw<Msg extends java.io.Serializable> - Interface in universe.base
 
onDraw(OnDraw<Msg>) - Method in class universe.base.UniverseBase
 
onDraw() - Method in class universe.test.ChatServer
Nothing to draw
onDraw() - Method in class universe.test.ShowKey
 
onDraw() - Method in class universe.test.ShowServer
 
onDraw() - Method in class universe.Universe
 
OnDraw - Interface in universe.world.base
An interface that represents a function that draws the given World into/as a Scene
onDraw(OnDraw) - Method in class universe.world.BigBang
Install a Draw Handler into this BigBang.
onDraw() - Method in class universe.world.test.FallingWorld
In order to draw the World, draw the balls into an EmptyScene
onDraw() - Method in class universe.world.test.KeyMoveWorld
Draw the dot into an EmptyScene
onDraw() - Method in class universe.world.test.MousePointsWorld
Draw by returning the inner Scene
onDraw() - Method in class universe.world.test.RotatingLinesWorld
Draw two lines at the current base angle
onDraw() - Method in class universe.world.test.StopTest.MousePointsWorld
 
onDraw() - Method in class universe.world.VoidWorld
Return a visualization of this VoidWorld as a Scene.
onDraw() - Method in class universe.world.World
Return a visualization of this World as a Scene.
onDraw(Object) - Method in class world.BigBang
Install a Draw Handler into this BigBang.
onDraw() - Method in class world.sound.SoundWorld
Return a visualization of this World as a Scene.
onDraw() - Method in class world.sound.test.InstrumentTest
Draw by returning the inner Scene
onDraw() - Method in class world.sound.test.KeySoundWorld
Draw the traditional piano keys
onDraw() - Method in class world.sound.test.Mario
Draw the beat number in the center of the Scene
onDraw() - Method in class world.sound.test.MousePointsSoundWorld
 
onDraw() - Method in class world.sound.test.SoundTest
Draw the Ball
onDraw() - Method in class world.test.FallingWorld
In order to draw the World, draw the balls into an EmptyScene
onDraw() - Method in class world.test.KeyMoveWorld
Draw the dot into an EmptyScene
onDraw() - Method in class world.test.MousePointsVoidWorld
 
onDraw() - Method in class world.test.MousePointsWorld
 
onDraw() - Method in class world.test.RotatingLinesWorld
Draw two lines at the current base angle
onDraw() - Method in class world.test.StateExamples
Draw the current State of the world
onDraw() - Method in class world.test.StopTest.MousePointsWorld
 
onDraw() - Method in class world.test.VoidWorldInteractions
 
onDraw() - Method in class world.test.WorldTest.MousePointsWorld
 
onDraw() - Method in class world.VoidWorld
Return a visualization of this VoidWorld as a Scene.
onDraw() - Method in class world.World
Return a visualization of this World as a Scene.
onKey(String) - Method in class examples.KeyMoveWorld
On an arrow key move the dot in the right direction
onKey(String) - Method in class hidden.SnakeGame
 
onKey(String) - Method in class universe.test.ShowKey
 
OnKey<Msg extends java.io.Serializable> - Interface in universe.world.base
An interface that represents a function that produces a Package (World + Messages) when a Key is pressed.
onKey(OnKey<Msg>) - Method in class universe.world.BigBang
Install a Key Handler into this BigBang.
onKey(String) - Method in class universe.world.test.KeyMoveWorld
On an arrow key move the dot in the right direction
onKey(String) - Method in class universe.world.test.StopTest.MousePointsWorld
 
onKey(String) - Method in class universe.world.VoidWorld
Change this VoidWorld (and produce a VoidPackage possibly containing a message) when a key event is triggered.
onKey(String) - Method in class universe.world.World
Produce a Package, containing a (possibly) new World and a possible Message, when a key is pressed.
onKey(Object) - Method in class world.BigBang
Install a Key Handler into this BigBang.
onKey(String) - Method in class world.sound.SoundWorld
Change this World when a key event is triggered.
onKey(String) - Method in class world.sound.test.InstrumentTest
Key Down...
onKey(String) - Method in class world.sound.test.KeySoundWorld
Key Down...
onKey(String) - Method in class world.sound.test.SoundTest
 
onKey(String) - Method in class world.test.KeyMoveWorld
On an arrow key move the dot in the right direction
onKey(String) - Method in class world.test.StateExamples
React to a Key in the current State of the world
onKey(String) - Method in class world.test.StopTest.MousePointsWorld
 
onKey(String) - Method in class world.test.VoidWorldInteractions
 
onKey(String) - Method in class world.VoidWorld
Change this VoidWorld when a key event is triggered.
onKey(String) - Method in class world.World
Produce a (possibly) new World when a key is pressed.
onMouse(int, int, String) - Method in class examples.FallingWorld
When the mouse is dragged, we add a new random Ball
onMouse(int, int, String) - Method in class examples.MousePointsWorld
On a mouse click add a circle to the inner Scene
OnMouse<Msg extends java.io.Serializable> - Interface in universe.world.base
An interface that represents a function that produces a Package (World + Messages) when a Mouse event occurs.
onMouse(OnMouse<Msg>) - Method in class universe.world.BigBang
Install a Mouse Handler into this BigBang.
onMouse(int, int, String) - Method in class universe.world.test.FallingWorld
When the mouse is dragged, we add a new random Ball
onMouse(int, int, String) - Method in class universe.world.test.MousePointsWorld
On a mouse click add a circle to the inner Scene
onMouse(int, int, String) - Method in class universe.world.test.StopTest.MousePointsWorld
 
onMouse(int, int, String) - Method in class universe.world.VoidWorld
Change this VoidWorld (and produce a VoidPackage possibly containing a message) when a mouse event is triggered.
onMouse(int, int, String) - Method in class universe.world.World
Produce a Package, containing a (possibly) new World and a possible Message, when a mouse event is triggered.
onMouse(Object) - Method in class world.BigBang
Install a Mouse Handler into this BigBang.
onMouse(int, int, String) - Method in class world.sound.SoundWorld
Change this World when a mouse event is triggered.
onMouse(int, int, String) - Method in class world.sound.test.MousePointsSoundWorld
 
onMouse(int, int, String) - Method in class world.test.FallingWorld
When the mouse is dragged, we add a new random Ball
onMouse(int, int, String) - Method in class world.test.MousePointsVoidWorld
 
onMouse(int, int, String) - Method in class world.test.MousePointsWorld
 
onMouse(int, int, String) - Method in class world.test.StateExamples
React to a Mouse Event in the current State of the world
onMouse(int, int, String) - Method in class world.test.StopTest.MousePointsWorld
 
onMouse(int, int, String) - Method in class world.test.VoidWorldInteractions
 
onMouse(int, int, String) - Method in class world.test.WorldTest.MousePointsWorld
 
onMouse(int, int, String) - Method in class world.VoidWorld
Change this VoidWorld when a mouse event is triggered.
onMouse(int, int, String) - Method in class world.World
Produce a (possibly) new World when a mouse event is triggered.
OnMsg<Msg extends java.io.Serializable> - Interface in universe.base
 
onMsg(OnMsg<Msg>) - Method in class universe.base.UniverseBase
 
onMsg(IWorld, String) - Method in class universe.test.ChatServer
When a message arrives, broadcast it to all connected clients
onMsg(IWorld, String) - Method in class universe.test.ShowServer
 
onMsg(IWorld, Msg) - Method in class universe.Universe
 
OnNew<Msg extends java.io.Serializable> - Interface in universe.base
 
onNew(OnNew<Msg>) - Method in class universe.base.UniverseBase
 
onNew(IWorld) - Method in class universe.test.ChatServer
When a new client arrives, add it to the current list
onNew(IWorld) - Method in class universe.test.ShowServer
 
onNew(IWorld) - Method in class universe.Universe
 
onReceive(String) - Method in class universe.test.ShowKey
 
OnReceive<Msg extends java.io.Serializable> - Interface in universe.world.base
An interface that represents a function that produces a Package (World + Messages) when a Message is received.
onReceive(OnReceive<Msg>) - Method in class universe.world.BigBang
 
onReceive(Msg) - Method in class universe.world.VoidWorld
Change this VoidWorld (and produce a VoidPackage possibly containing a message) when a message from the universe is received.
onReceive(Msg) - Method in class universe.world.World
Produce a Package, containing a (possibly) new World and a possible Message, when a message from the universe is received.
OnRelease<Msg extends java.io.Serializable> - Interface in universe.world.base
An interface that represents a function that produces a Package (World + Messages) when a Key is released.
onRelease(OnRelease<Msg>) - Method in class universe.world.BigBang
Install a Key Release Handler into this BigBang.
onRelease(String) - Method in class universe.world.VoidWorld
Change this VoidWorld (and produce a VoidPackage possibly containing a message) when a key is released.
onRelease(String) - Method in class universe.world.World
Produce a Package, containing a (possibly) new World and a possible Message, when a key is released.
onRelease(Object) - Method in class world.BigBang
Install a Key Release Handler into this BigBang.
onRelease(String) - Method in class world.sound.SoundWorld
Change this World when a key is released.
onRelease(String) - Method in class world.sound.test.KeySoundWorld
Lift the key
onRelease(String) - Method in class world.test.StateExamples
React to a KeyRelease in the current State of the world
onRelease(String) - Method in class world.test.VoidWorldInteractions
 
onRelease(String) - Method in class world.VoidWorld
Change this VoidWorld when a key is released.
onRelease(String) - Method in class world.World
Produce a (possibly) new World when a key is released.
onTick() - Method in class examples.FallingWorld
On each tick, we apply gravity, move them, and filter out those off screen
onTick() - Method in class examples.RotatingLinesWorld
On Tick update the angle
onTick() - Method in class hidden.SnakeGame
 
OnTick<Msg extends java.io.Serializable> - Interface in universe.base
 
onTick(OnTick<Msg>) - Method in class universe.base.UniverseBase
 
onTick(OnTick<Msg>, double) - Method in class universe.base.UniverseBase
 
onTick() - Method in class universe.Universe
 
OnTick<Msg extends java.io.Serializable> - Interface in universe.world.base
An interface that represents a function that produces a Package (World + Messages) on each time tick.
onTick(OnTick<Msg>) - Method in class universe.world.BigBang
Install a Tick Handler at a tick rate of 1/20th of a second.
onTick(OnTick<Msg>, double) - Method in class universe.world.BigBang
Install a Tick Handler into this BigBang at the given tick rate (per-seconds).
onTick() - Method in class universe.world.test.FallingWorld
On each tick, we apply gravity, move them, and filter out those off screen
onTick() - Method in class universe.world.test.RotatingLinesWorld
On Tick update the angle
onTick() - Method in class universe.world.VoidWorld
Change this VoidWorld based on the Tick of the clock.
onTick() - Method in class universe.world.World
Produce a Package, containing a (possibly) new World and a possible Message, based on the Tick of the clock.
onTick(Object) - Method in class world.BigBang
Install a Tick Handler at a tick rate of 1/20th of a second.
onTick(Object, double) - Method in class world.BigBang
Install a Tick Handler into this BigBang at the given tick rate (per-seconds).
onTick() - Method in class world.sound.SoundWorld
Change this World based on the Tick of the clock.
onTick() - Method in class world.sound.test.Mario
Loop if needed, move to the next note, and increase the number.
onTick() - Method in class world.sound.test.SoundTest
On Tick, move/bounce the ball and add a Sound
onTick() - Method in class world.test.FallingWorld
On each tick, we apply gravity, move them, and filter out those off screen
onTick() - Method in class world.test.RotatingLinesWorld
On Tick update the angle
onTick() - Method in class world.test.StateExamples
Tick the current State of the world
onTick() - Method in class world.VoidWorld
Change this VoidWorld based on the Tick of the clock.
onTick() - Method in class world.World
Produce a (possibly) new World based on the Tick of the clock.
OpenCuica - Static variable in interface world.sound.tunes.SoundConstants
 
OpenHiConga - Static variable in interface world.sound.tunes.SoundConstants
 
OpenHiHat - Static variable in interface world.sound.tunes.SoundConstants
 
OpenTriangle - Static variable in interface world.sound.tunes.SoundConstants
 
OrchestraHit - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
OrchestralHarp - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ORGAN - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
ormap(List.Pred<X>) - Method in class universe.List
Does this Predicate match any element in this List?
OverdrivenGuitar - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
overlay(Image) - Method in class image.Image
Overlay the given Image over this Image
overlay(Image, Image, Image...) - Method in class image.Image
Overlay the given Images over this Image
Overlay - Class in image
Represents the Overlaying of two or more images.
Overlay(Image, Image, Image...) - Constructor for class image.Overlay
Construct an Overlay from the two or more Images
overlayxy(Image, int, int) - Method in class image.Image
Overlay the given Image over this Image offset (x,y)
overlayxy(Image, double, double) - Method in class image.Image
Overlay the given Image over this Image offset (x,y)
overlayxy(Image, Posn) - Method in class image.Image
Overlay the given Image over this Image offset Posn
overlayxy(int, int, Image) - Method in class image.Image
Overlay the given Image over this Image offset (x,y)
overlayxy(double, double, Image) - Method in class image.Image
Overlay the given Image over this Image offset (x,y)
overlayxy(Posn, Image) - Method in class image.Image
Overlay the given Image over this Image offset Posn
OverlayXY - Class in image
Represents the Overlaying of two images after moving the bottom image by the given offset.
OverlayXY(Image, int, int, Image) - Constructor for class image.OverlayXY
Construct an OverlayXY from the two images and the offset (X,Y)
OverlayXY(Image, Posn, Image) - Constructor for class image.OverlayXY
Construct an OverlayXY from the two images and the Posn offset
OverlayXY(Image, double, double, Image) - Constructor for class image.OverlayXY
Construct an OverlayXY from the two images and the offset (X,Y)

P

Package<Msg extends java.io.Serializable> - Class in universe
Represents the results of World functions with a possible message to the connected Universe.
Package(World<Msg>) - Constructor for class universe.Package
Construct a Package with the given state of the World.
Package(World<Msg>, Msg) - Constructor for class universe.Package
Construct a Package with the given state of the World and a message to the Universe.
Pad_1_newage - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Pad_2_warm - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Pad_3_polysynth - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Pad_4_choir - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Pad_5_bowed - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Pad_6_metallic - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Pad_7_halo - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Pad_8_sweep - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
paint(Graphics, int, int) - Method in class image.Ellipse
Paint this Scene into the given graphics
paint(Graphics, int, int) - Method in class image.EmptyScene
Paint this Scene into the given graphics
paint(Graphics, int, int) - Method in class image.Image
Draw this image into a Graphics
paint(Graphics, int, int) - Method in class image.Line
Draw this image into a Graphics
paint(Graphics, int, int) - Method in class image.Overlay
Draw this Overlay image into a Graphics
paint(Graphics, int, int) - Method in class image.OverlayXY
Draw this OverlayXY image into a Graphics
paint(Graphics, int, int) - Method in class image.RasterImage
Draw this image into a Graphics
paint(Graphics, int, int) - Method in class image.Rectangle
Paint this Scene into the given graphics
paint(Graphics, int, int) - Method in class image.RegularPolygon
Paint this Scene into the given graphics
paint(Graphics, int, int) - Method in class image.RoundRectangle
Paint this Scene into the given graphics
paint(Graphics, int, int) - Method in class image.Scene
Draw the scene into a Graphics
paint(Graphics, int, int) - Method in class image.Text
Paint this Image into the given graphics
paint(Graphics, int, int) - Method in class image.Triangle
Paint this Scene into the given graphics
paint(Graphics, int, int) - Method in class image.Widget
Paint this Scene into the given graphics
PanFlute - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
payload() - Method in class universe.control.Message
Get the message's payload/content
payload() - Method in class universe.control.Transfer
Return the message's transfered payload...
payload() - Method in class universe.control.WithWorld
 
PedalHiHat - Static variable in interface world.sound.tunes.SoundConstants
 
PERCUSSION - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
PercussiveOrgan - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
PIANO - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Piccolo - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
PizzicatoStrings - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Placeholder - Class in image.test.images
Simplifies documentation by holding the image directory in place.
Placeholder() - Constructor for class image.test.images.Placeholder
 
Placeholder - Class in imagetutor.images
Simplifies documentation by holding the image directory in place.
Placeholder() - Constructor for class imagetutor.images.Placeholder
 
placeImage(Image, double, double) - Method in class image.Scene
Place another Image on top of this Scene at (x,y)
placeImage(Image, int, int) - Method in class image.Scene
Place another Image on top of this Scene at (x,y)
placeImage(Image, Posn) - Method in class image.Scene
Place another Image on top of this Scene at the given Posn
playOff(ArrayList<Tune>) - Method in class world.sound.tunes.MusicBox
Stop playing all tunes in the given list of Tunes.
playOn(ArrayList<Tune>) - Method in class world.sound.tunes.MusicBox
Play all tunes in the given list of Tunes
playTune(Tune) - Method in class world.sound.tunes.MusicBox
Play the given tune on the channel assigned to it.
playTunes() - Method in class world.sound.tunes.TuneCollection
Start playing all Tunes in this Collection
pop() - Method in class universe.Cons
 
pop() - Method in class universe.Empty
 
pop(int) - Method in class universe.List
Return this List without the first k Elements
pop() - Method in class universe.List
Return this List without the first Element
PORT - Static variable in class universe.base.UniverseBase
 
Posn - Class in world
Represents a 2-dimensional position
Posn(int, int) - Constructor for class world.Posn
 
processMail(Mail<Msg>, IWorld) - Method in class universe.base.Server
 
push(X) - Method in class universe.List
Push a X on the front of this List
push(List<X>) - Method in class universe.List
Push all Elements of the given List on the front of this List

R

RasterImage - Class in image
Represents a raster Image drawn into a Buffer.
RasterImage(int, int) - Constructor for class image.RasterImage
Construct a RasterImage with the given width/height
rasterize() - Method in class image.Image
Return a raster (buffered) version of this Image
receiveMessage() - Method in class universe.base.Server.WorldImp
 
receiveMessage() - Method in class universe.base.Server.WorldImpObj
 
receiveMessage() - Method in class universe.base.Server.WorldImpSExp
 
Recorder - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Rectangle - Class in image
Represents an Image of a Rectangle.
Rectangle(double, double, String, String) - Constructor for class image.Rectangle
Create a Rectangle Image with (double) width and height, mode and color
Rectangle(int, int, String, String) - Constructor for class image.Rectangle
Create a Rectangle Image with (int) width and height, mode and color
ReedOrgan - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
register(String) - Method in class universe.world.BigBang
Install the name of the Universe server to connect to once bigBang is called
RegularPolygon - Class in image
Represents an Image of a Regular Polygon, e.g., a Square, Pentagon, Octagon, etc.
RegularPolygon(double, int, String, String) - Constructor for class image.RegularPolygon
Create a Regular Polygon Image with (double) radius, sides, mode and color
RegularPolygon(int, int, String, String) - Constructor for class image.RegularPolygon
Create a Regular Polygon Image with (int) radius, sides, skip, mode and color
remove(X) - Method in class universe.Empty
 
remove(List.Pred<X>) - Method in class universe.Empty
 
remove(int) - Method in class universe.Empty
 
remove(X) - Method in class universe.List
Remove the first occurence of the given X
remove(List.Pred<X>) - Method in class universe.List
Remove the first matching X
remove(int) - Method in class universe.List
Remove an Element from this list at the given index
removeDuplicates() - Method in class universe.List
Remove duplicate items from this list
removeDuplicates(List.Comp<X>) - Method in class universe.List
Remove duplicate items from this list
removeG(Y, List.GComp<X, Y>) - Method in class universe.List
Remove the first occurence of the given X
removeSilent() - Method in class world.sound.tunes.Tune
Remove all the silent Notes from this Tune.
removeWorld(IWorld) - Method in class universe.base.Server
 
repeat(char, int) - Static method in class util.Util
Repeat a character a bunch of times
replace(X, X) - Method in class universe.Empty
 
replace(List.Pred<X>, X) - Method in class universe.Empty
 
replace(int, X) - Method in class universe.Empty
 
replace(int, X) - Method in class universe.List
Replace the element at index 'i' with 's'
replace(X, X) - Method in class universe.List
Replace the first occurrence of 't' with 's'
replace(List.Pred<X>, X) - Method in class universe.List
Replace the first matching X with 's'
replaceAll(X, X) - Method in class universe.Empty
 
replaceAll(List.Pred<X>, X) - Method in class universe.Empty
 
replaceAll(X, X) - Method in class universe.List
Replace all occurrences of 't' with 's'
replaceAll(List.Pred<X>, X) - Method in class universe.List
Replace all matching Xs with 't'
revCurry(X) - Method in class universe.List.GComp
Return a (reversed) Predicate that uses the comparator (later) using the given Y as its second argument
reverse() - Method in class universe.List
Reverse this List
reverse(int) - Method in class universe.List
Reverse the first i elements of this List
ReverseCymbal - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
RideBell - Static variable in interface world.sound.tunes.SoundConstants
 
RideCymbal1 - Static variable in interface world.sound.tunes.SoundConstants
 
RideCymbal_2 - Static variable in interface world.sound.tunes.SoundConstants
 
RockOrgan - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
rotate(int) - Method in class image.Image
Return a rotated version of this image by the given angle in degrees.
rotate(double) - Method in class image.Image
Return a rotated version of this image by the given angle in degrees.
RotatingLines - Class in world.test
OnTick and Line Test
RotatingLines() - Constructor for class world.test.RotatingLines
 
RotatingLinesWorld - Class in examples
World OnTick and Line Test
RotatingLinesWorld - Class in universe.world.test
World OnTick and Line Test
RotatingLinesWorld - Class in world.test
World OnTick and Line Test
RoundRectangle - Class in image
Represents an Image of a Rectangle with rounded corners.
RoundRectangle(double, double, double, String, String) - Constructor for class image.RoundRectangle
Create a Round Rectangle with (double) width, height, and corner radius, mode and color
RoundRectangle(int, int, int, String, String) - Constructor for class image.RoundRectangle
Create a Round Rectangle Image with (int) width, height, and corner radius, mode and color
RoundRectangle(int, int, int, int, String, String) - Constructor for class image.RoundRectangle
Create a Round Rectangle Image with (int) width, height, and corner radius, mode and color
RoundRectangle(double, double, double, double, String, String) - Constructor for class image.RoundRectangle
Create a Round Rectangle with (double) width, height, and corner radius, mode and color
run() - Method in class universe.base.Server
Run!!
runTests() - Method in class testing.Examples
Run all the tests and show all the instances for this Examples class
runTests(boolean) - Method in class testing.Examples
Run all the tests for this Examples class, tell whether or not the Example instances should be shown

S

same(List<X>) - Method in class universe.List
Is the given list have the same elements as this list?
same(List<X>, List.Comp<X>) - Method in class universe.List
Is the given list have the same elements as this list using the given comparer?
sameG(List<Y>, List.GComp<X, Y>) - Method in class universe.List
Is the given list have the same elements as this list using the given comparer?
sameNote(Note) - Method in class world.sound.tunes.Note
Does the given Note represent the same Note as this one?
SAX - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Scene - Class in image
An abstract Class representing a Scene (a cropped Image).
SEASHORE - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Seashore - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
sendMessage(Object, String) - Method in class universe.base.Server.WorldImp
 
sendMessage(Object, String) - Method in class universe.base.Server.WorldImpObj
 
sendMessage(Object, String) - Method in class universe.base.Server.WorldImpSExp
 
Server<Msg extends java.io.Serializable> - Class in universe.base
 
Server.WorldImp - Class in universe.base
 
Server.WorldImpObj - Class in universe.base
Transfer using Object Streams...
Server.WorldImpObj(String, long, ObjectInputStream, ObjectOutputStream) - Constructor for class universe.base.Server.WorldImpObj
 
Server.WorldImpSExp - Class in universe.base
Transfer with SExpressions...
Server.WorldImpSExp(String, long, InputStream, OutputStream) - Constructor for class universe.base.Server.WorldImpSExp
 
Server.WorldPred - Class in universe.base
 
Server.WorldShell - Class in universe.base
 
Server.WorldShell(String, long) - Constructor for class universe.base.Server.WorldShell
 
setPixel(int, int, String) - Method in class image.RasterImage
Set the pixel at the given x/y to the given String Color
setPixel(int, int, Color) - Method in class image.RasterImage
Set the pixel at the given x/y to the given Color
setPixel(int, int, int) - Method in class image.RasterImage
Set the pixel at the given x/y to the given ARGB integer.
setPixel(int, int, int, int, int) - Method in class image.RasterImage
Set the pixel at the given x/y to the given RGB intensities.
setPixel(int, int, int, int, int, int) - Method in class image.RasterImage
Set the pixel at the given x/y to the given ARGB intensities.
setPixel(int, int, double, double, double) - Method in class image.RasterImage
Set the pixel at the given x/y to the given RGB intensities.
setPixel(int, int, double, double, double, double) - Method in class image.RasterImage
Set the pixel at the given x/y to the given ARGB intensities.
Shamisen - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Shanai - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
ShortGuiro - Static variable in interface world.sound.tunes.SoundConstants
 
ShortWhistle - Static variable in interface world.sound.tunes.SoundConstants
 
ShowKey - Class in universe.test
Universe/World OnKey test.
ShowServer - Class in universe.test
Universe/Parameterized BigBang OnKey test
shuffle() - Method in class universe.List
Shuffle the elements of this list randomly
shutdown() - Method in class universe.base.Server
Add a Servant Thread to the List
SideStick - Static variable in interface world.sound.tunes.SoundConstants
 
Sitar - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
size() - Method in class world.sound.tunes.Chord
Get the number of Notes in this Chord.
size() - Method in class world.sound.tunes.Tune
Return the number of Notes in this Tune
size() - Method in class world.sound.tunes.TuneCollection
Computes the total number of Notes in this TuneCollection
Skakuhachi - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
skipBeat() - Method in class world.sound.tunes.Note
Increment the duration of this Note.
SlapBass_1 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SlapBass_2 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SnakeGame - Class in hidden
Snake Game demo
SopranoSax - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
sort(List.Comp<X>) - Method in class universe.Empty
 
sort(List.Comp<X>) - Method in class universe.List
Sort this List using the given Comparison
SoundConstants - Interface in world.sound.tunes
Constants for notes, keys, instruments, and channels defined by the MIDI specification.
SoundTest - Class in world.sound.test
Quick test of the sound library/world: A Bouncing ball with sound.
SoundTest() - Constructor for class world.sound.test.SoundTest
 
SoundWorld - Class in world.sound
A Class representing an imperative World with sound/music and the related methods for drawing the world and handling various events.
SoundWorld() - Constructor for class world.sound.SoundWorld
Default constructor.
SplashCymbal - Static variable in interface world.sound.tunes.SoundConstants
 
Square - Class in image
Represents an Image of a Square.
Square(double, String, String) - Constructor for class image.Square
Create a Square Image with (double) size, mode and color
Square(int, String, String) - Constructor for class image.Square
Create a Square Image with (int) size, mode and color
Star - Class in image
Represents an Image of a Star.
Star(double, String, String) - Constructor for class image.Star
Create a Star Image with (double) radius, mode and color
Star(int, String, String) - Constructor for class image.Star
Create a Star Image with (int) radius, mode and color
Star(double, int, String, String) - Constructor for class image.Star
Create a Star Image with (double) radius, sides, mode and color
Star(int, int, String, String) - Constructor for class image.Star
Create a Star Image with (int) radius, sides, mode and color
Star(double, double, int, String, String) - Constructor for class image.Star
Create a Star Image with (double) radius, inner-radius, sides, mode and color
Star(int, int, int, String, String) - Constructor for class image.Star
Create a Star Image with (int) radius, inner-radius, sides, mode and color
StateExamples - Class in world.test
World example with more complex States (Menus, Options, Etc.)
STEELDRUM - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
SteelDrums - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
StopTest - Class in universe.world.test
Simple Test of World/display for documentation
StopTest() - Constructor for class universe.world.test.StopTest
 
StopTest - Class in world.test
Simple Test of World/display for documentation
StopTest() - Constructor for class world.test.StopTest
 
StopTest.MousePointsWorld - Class in universe.world.test
 
StopTest.MousePointsWorld - Class in world.test
 
stopTune(Tune) - Method in class world.sound.tunes.MusicBox
Stop playing the given tune on the channel assigned to it.
stopWhen() - Method in class hidden.SnakeGame
 
StopWhen - Interface in universe.world.base
An interface that represents a function that determines when the World/Animation/Game should be stopped
stopWhen(StopWhen) - Method in class universe.world.BigBang
Install a StopWhen Handler into this BigBang.
stopWhen() - Method in class universe.world.test.StopTest.MousePointsWorld
 
stopWhen() - Method in class universe.world.VoidWorld
Determine if the World/interaction/animation should be stopped.
stopWhen() - Method in class universe.world.World
Determine if the World/interaction/animation should be stopped.
stopWhen(Object) - Method in class world.BigBang
Install a StopWhen Handler into this BigBang.
stopWhen() - Method in class world.sound.SoundWorld
Determine if the World/interaction/animation should be stopped.
stopWhen() - Method in class world.test.StopTest.MousePointsWorld
 
stopWhen() - Method in class world.VoidWorld
Determine if the World/interaction/animation should be stopped.
stopWhen() - Method in class world.World
Determine if the World/interaction/animation should be stopped.
StringEnsemble_1 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
StringEnsemble_2 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
sublist(int, int) - Method in class universe.List
Return a sublist, starting at index i, with length k
subtype(Class<?>, Class<?>) - Static method in class util.Util
Subtype comparison
subtypes(Class<?>[], Class<?>[]) - Static method in class util.Util
Array Subtype comparison
SynthBass_1 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SynthBass_2 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SynthBrass_1 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SynthBrass_2 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SynthDrum - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SynthStrings_1 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SynthStrings_2 - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
SynthVoice - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers

T

TaikoDrum - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Tambourine - Static variable in interface world.sound.tunes.SoundConstants
 
TangoAccordion - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
TELEPHONE - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
TelephoneRing - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
TenorSax - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
test(boolean) - Static method in class testing.Examples
Run all the tests for the invoking class, i.e., the outer Examples class, passin whether or not to show all the examples
test() - Static method in class testing.Examples
Run all the tests for the invoking class, i.e., the outer Examples class, show all examples
testing - package testing
Testing package for students in CS-2510.
testing.test - package testing.test
 
Text - Class in image
A Class representing an Image of a String.
Text(String, int, String) - Constructor for class image.Text
Construct a text Image of the given String, size, and color
Text(String, double, String) - Constructor for class image.Text
Construct a text Image of the given String, size, and color
tickRate() - Method in class examples.FallingWorld
Set the tick rate to 25/second
tickRate() - Method in class hidden.SnakeGame
 
tickRate() - Method in class universe.Universe
Return the tick rate for this World.
tickRate() - Method in class universe.world.VoidWorld
Return the tick rate for this VoidWorld in seconds.
tickRate() - Method in class universe.world.World
Return the tick rate for this World in seconds.
tickRate() - Method in class world.sound.SoundWorld
Return the tick rate for this World in seconds.
tickRate() - Method in class world.sound.test.Mario
Medium tick-rate
tickRate() - Method in class world.sound.test.SoundTest
Reasonable tick rate
tickRate() - Method in class world.test.FallingWorld
Set the tick rate to 25/second
tickRate() - Method in class world.VoidWorld
Return the tick rate for this VoidWorld in seconds.
tickRate() - Method in class world.World
Return the tick rate for this World in seconds.
tickTunes - Variable in class world.sound.SoundWorld
The collection of tunes to play on tick.
Timpani - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
TinkleBell - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
to - Variable in class universe.Mail
Target of the message (who)
toArray(X[]) - Method in class universe.List
Convert this List into an Array, starting at Index 'i'
toFile(String) - Method in class image.Image
Save this image to a file
toFile(String) - Method in class image.Scene
Save this Scene to a File
toJavaList() - Method in class universe.List
Convert this List into a java.util.List
top() - Method in class universe.Cons
 
top() - Method in class universe.Empty
 
top() - Method in class universe.List
Return the first Element of this List
toScene() - Method in class image.Image
Convert this image into a Scene containing the image without a background
toSExp(Object) - Static method in class util.Util
Return a String representing an SExp of the given arbitrary Object
toString(String, String) - Method in class universe.Empty
 
toString(List.Stringer<X>) - Method in class universe.Empty
 
toString(X, List<X>) - Method in class universe.List.Stringer
 
toString() - Method in class universe.List
Canonical ToString
toString(String, String) - Method in class universe.List
To String, with a separator and prefix
toString(List.Stringer<X>) - Method in class universe.List
To String using a Stringer (Visitor)
toString() - Method in class world.sound.tunes.Note
Produce a Human readable String representation of this Note.
toString() - Method in class world.sound.tunes.Tune
Produce a human readable representation of this Tune/Chord.
toString() - Method in class world.sound.tunes.TuneCollection
Produce a String representation of this TunCollection.
toWhiteFile(String) - Method in class image.Image
Save this image to a file
toWhiteScene() - Method in class image.Image
Convert this image into a Scene containing the image with a white background
Transfer - Class in universe.control
Represents a Transfer of some message payload
Transfer(long, Object) - Constructor for class universe.control.Transfer
Create a Transfer Message with the given World ID and Payload
TremoloStrings - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Triangle - Class in image
Represents an Image of a Triangle.
Triangle(double, String, String) - Constructor for class image.Triangle
Create a Triangle Image with (double) height, mode and color
Triangle(int, String, String) - Constructor for class image.Triangle
Create a Triangle Image with (int) height, mode and color
Trombone - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Trumpet - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
TUBA - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Tuba - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
TubularBells - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Tune - Class in world.sound.tunes
Represents one a Chord to be played on the given channel.
Tune(int, Chord) - Constructor for class world.sound.tunes.Tune
Create a Tune on the given channel from the given Chord.
Tune(int) - Constructor for class world.sound.tunes.Tune
Create an empty Tune on the given channel.
Tune(int, Note...) - Constructor for class world.sound.tunes.Tune
Create a Tune on the given channel from the given Notes.
TuneCollection - Class in world.sound.tunes
A collection of Notes/Tunes to be played on MIDI instruments, together with the MusicBox on which the Notes will be played.
TuneCollection(MusicBox) - Constructor for class world.sound.tunes.TuneCollection
Create a TunCollection associated with the given MusicBox.

U

unboxed - Static variable in class util.Util
Unboxed -> Boxed primitive types
universe - package universe
Server side Universe library.
universe() - Method in class universe.base.UniverseBase
 
Universe<Msg extends java.io.Serializable> - Class in universe
A Class representing a Universe (a collection of Worlds) of some type, and related methods and Function Objects for handling messages and events
Universe() - Constructor for class universe.Universe
Empty Default Constructor
universe() - Method in class universe.Universe
 
universe.base - package universe.base
 
universe.control - package universe.control
Universe/World distributed communication package
universe.test - package universe.test
Samples/Tests for the Universe client/server libraries.
universe.world - package universe.world
Universe/World package mimics the Racket 2htdp/image with the ability to develop distributed client/server programs.
universe.world.base - package universe.world.base
 
universe.world.test - package universe.world.test
Image package mimics the Racket 2htdp/image
UniverseBase<Msg extends java.io.Serializable> - Class in universe.base
A Class representing a Universe (a collection of Worlds) of some type, and related methods and Function Objects for handling messages and events
UniverseBase(Universe<Msg>) - Constructor for class universe.base.UniverseBase
 
util - package util
 
Util - Class in util
Wrapper class for various helper methods.
Util() - Constructor for class util.Util
 

V

Vibraphone - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Vibraslap - Static variable in interface world.sound.tunes.SoundConstants
 
Viola - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
VIOLIN - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Violin - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
VoiceOohs - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
VoidPackage<Msg extends java.io.Serializable> - Class in universe
Represents the results of World functions with a possible Universe Message
VoidPackage() - Constructor for class universe.VoidPackage
Construct a Package with the current state of the World
VoidPackage(Msg) - Constructor for class universe.VoidPackage
Construct a Package with the current state of the World and a Message to the Universe
VoidWorld<Msg extends java.io.Serializable> - Class in universe.world
A Class representing an imperative World and the related methods for drawing the world and handling various events connected to a Universe.
VoidWorld() - Constructor for class universe.world.VoidWorld
 
VoidWorld - Class in world
A Class representing an imperative World and the related methods for drawing the world and handling various events.
VoidWorld() - Constructor for class world.VoidWorld
 
VoidWorldInteractions - Class in world.test
 
VoidWorldInteractions() - Constructor for class world.test.VoidWorldInteractions
 

W

WebPage - Class in hidden
Images for the JavaWorld homepage
Whistle - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
Widget - Class in image
Represents a wrapper for Java Swing Components.
Widget(JComponent) - Constructor for class image.Widget
Create a Widget from the given JComponent with no padding.
Widget(JComponent, int, int) - Constructor for class image.Widget
Create a Widget from the given JComponent with the given X/Y paddings.
Widget(JComponent, double, double) - Constructor for class image.Widget
Create a Widget from the given JComponent with the given X/Y paddings.
width() - Method in class image.EmptyScene
Return the Width of this Scene/Image
width() - Method in class image.Image
Calculate the width of this Image
width() - Method in class image.Line
Return the width of this Line Image
width() - Method in class image.Overlay
Return the width of this Image
width() - Method in class image.RasterImage
Return the width of this Image
width() - Method in class image.Rectangle
Return the Width of this Image
width() - Method in class image.RegularPolygon
Return the Width of this Image
width() - Method in class image.Text
Return the Width of this Image
width() - Method in class image.Triangle
Return the Width of this Image
width() - Method in class image.Widget
Return the Width of this Image
WithWorld - Class in universe.control
 
WithWorld(Message, Server.WorldShell) - Constructor for class universe.control.WithWorld
 
WOOD_BLOCK - Static variable in interface world.sound.tunes.SoundConstants
Default channel assignments
Woodblock - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers
world - package world
 
World<Msg extends java.io.Serializable> - Class in universe.world
A Class representing a World and the related methods for drawing the world and handling various events connected to a Universe.
World() - Constructor for class universe.world.World
 
World - Class in world
A Class representing a World and the related methods for drawing the world and handling various events.
World() - Constructor for class world.World
 
world.sound - package world.sound
 
world.sound.test - package world.sound.test
 
world.sound.tunes - package world.sound.tunes
 
world.test - package world.test
Sample/Test applications using the Universe/World packages.
WorldTest - Class in world.test
Simple Test of World/display for documentation
WorldTest() - Constructor for class world.test.WorldTest
 
WorldTest.DisplayTest - Class in world.test
 
WorldTest.DisplayTest() - Constructor for class world.test.WorldTest.DisplayTest
 
WorldTest.MousePointsWorld - Class in world.test
 
WriteTests - Class in image.test
Image tests for documentation, examples are similar (almost identical) to those found in the 2htdp/image documentation.
WriteTests() - Constructor for class image.test.WriteTests
 

X

x - Variable in class world.Posn
 
Xylophone - Static variable in interface world.sound.tunes.SoundConstants
Standard MIDI instrument numbers

Y

y - Variable in class world.Posn
 

Z

zip(List.Zip<X, Y, Z>, List<Y>) - Method in class universe.Empty
 
zip(List.Zip<X, Y, Z>, List<Y>) - Method in class universe.List
Zip two lists (this, and 'l') into a single list, one element at a time
zip(X, Y) - Method in class universe.List.Zip
 

A B C D E F G H I J K L M N O P R S T U V W X Y Z