Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- actionPerformed(ActionEvent) - Method in class ucb.gui2.TopLevel
- add(double[], int, double[], int, double[], int) - Static method in class ucb.proj2.Physics
-
Same as add (Z, IZ, 1.0, X, IX, 1.0, Y, IY).
- add(double[], int, double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
-
Same as add (Z, IZ, 1.0, X, IX, AY, Y, IY).
- add(double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
-
Same as add (NZ, 0, 1.0, X, IX, AY, Y, IY), where NZ is a new double[2].
- add(double[], int, double, double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
-
Set Z[IZ : IZ+1] to AX*X[IX : IX+1] + AY*Y[IY : IY+1], returning Z.
- add(double, double[], int, double, double[], int) - Static method in class ucb.proj2.Physics
-
Same as add (NZ, 0, AX, X, IX, AY, Y, IY), where NZ is a new double[2].
- add(Component, LayoutSpec) - Method in class ucb.gui2.TopLevel
- add(Object...) - Method in class ucb.gui2.LayoutSpec
-
Modify THIS by setting the parameters indicated by SPECS, which has the same form as described in the class comment for LayoutSpec.
- addButton(String, Consumer<String>, LayoutSpec) - Method in class ucb.gui2.TopLevel
-
Add a new button displaying LABEL, laid out according to LAYOUT, which when clicked calls FUNC, with the button and LABEL as its arguments.
- addCheckBox(String, boolean, Consumer<String>, LayoutSpec) - Method in class ucb.gui2.TopLevel
-
Add a new check box displaying LABEL, laid out according to LAYOUT, which when clicked calls FUNC, with the button and LABEL as its arguments.
- addLabel(String, String, LayoutSpec) - Method in class ucb.gui2.TopLevel
-
Add a label that initially displays the text TEXT, placed according to LAYOUT, and identified by the tag ID.
- addLabel(String, LayoutSpec) - Method in class ucb.gui2.TopLevel
-
Add a new, anonymous label that displays the text TEXT, placed according to LAYOUT.
- addMenuButton(String, Consumer<String>) - Method in class ucb.gui2.TopLevel
-
Add a new simple menu button labeled LABEL to my menus, which when clicked, invokes FUNC, sending LABEL as argument.
- addMenuCheckBox(String, boolean, Consumer<String>) - Method in class ucb.gui2.TopLevel
-
Add a check box labeled LABEL to my menus, which when clicked, flips its state and invokes FUNC, sending LABEL as arguments.
- addMenuRadioButton(String, String, boolean, Consumer<String>) - Method in class ucb.gui2.TopLevel
-
Add a radio button labeled LABEL to my menus, belonging to the group of buttons called GROUPNAME.
- addRadioButton(String, String, boolean, Consumer<String>, LayoutSpec) - Method in class ucb.gui2.TopLevel
-
Add a radio button labeled LABEL, placed according to LAYOUT, belonging to the group of buttons called GROUPNAME.
- addSeparator(String) - Method in class ucb.gui2.TopLevel
-
Add a separator to the end of the menu labeled LABEL (which must exist) in my menu bar.
- awaitClose() - Method in class ucb.util.mailbox.Rendezvous
-
Wait for THIS to be closed.
- awaitClose(long) - Method in class ucb.util.mailbox.Rendezvous
-
Wait for THIS to be closed, or MILLIS milliseconds, whichever comes first.
C
- capacity - Variable in class ucb.util.mailbox.QueuedMailbox
- capacity() - Method in interface ucb.util.mailbox.Mailbox
-
The capacity (see interface comment above) of THIS.
- capacity() - Method in class ucb.util.mailbox.QueuedMailbox
-
The capacity (see interface comment above) of THIS.
- capacity() - Method in class ucb.util.mailbox.Rendezvous
-
The capacity (see interface comment above) of THIS.
- checkType(Class<T>) - Method in interface ucb.util.mailbox.Mailbox
-
Returns THIS, assuming that THIS conveys messages of class MSGCLASS.
- checkType(Class<T>) - Method in class ucb.util.mailbox.Rendezvous
- close() - Method in interface ucb.util.mailbox.Mailbox
-
Short for close (0).
- close() - Method in class ucb.util.mailbox.MailboxWatch
- close() - Method in class ucb.util.mailbox.QueuedMailbox
-
Short for close (0).
- close() - Method in class ucb.util.mailbox.Rendezvous
-
Short for close (0).
- close() - Method in class ucb.util.SimpleObjectRegistry
-
Remove all bindings from this registry, and disable it from further use.
- close() - Method in class ucb.util.Ticker
-
Permanently stop THIS and terminate its thread.
- close(long) - Method in interface ucb.util.mailbox.Mailbox
-
Performs a flush(MILLIS) and then invalidates THIS for all future use, deleting all remaining messages.
- close(long) - Method in class ucb.util.mailbox.QueuedMailbox
-
Performs a flush(MILLIS) and then invalidates THIS for all future use, deleting all remaining messages.
- close(long) - Method in class ucb.util.mailbox.Rendezvous
-
Performs a flush(MILLIS) and then invalidates THIS for all future use, deleting all remaining messages.
- collide(double[], double[], double) - Static method in class ucb.proj2.Physics
-
Given two objects with radius R with states P0 and P1 (see the class documentation for ucb.proj2.Physics, above), compute the time at which they next collide, assuming that initially, they are separated by a distance of >= 2R.
- CommandArgs - Class in ucb.util
-
A CommandArgs object is a mapping from option keys to values that interprets the command-line options to a main program.
- CommandArgs(String, String[]) - Constructor for class ucb.util.CommandArgs
-
A set of argument values extracted from RAWARGS according to the description given in OPTIONSTRING.
- contains(String) - Method in class ucb.util.CommandArgs
-
Returns true iff option KEY is present.
- containsKey(String) - Method in class ucb.util.CommandArgs
-
Deprecated.
- create() - Static method in class ucb.util.mailbox.Rendezvous
-
A new Rendezvous for messages of unchecked type.
- create() - Static method in class ucb.util.mailbox.SinkBox
-
A new SinkBox with no type checking.
- create(int) - Static method in class ucb.util.mailbox.QueuedMailbox
-
A new QueuedMailbox with capacity () fixed at CAPACITY, with no type checking.
- create(Class<Msg>) - Static method in class ucb.util.mailbox.Rendezvous
-
A new Rendezvous for messages of type MSGCLASS.
- create(Class<Msg>) - Static method in class ucb.util.mailbox.SinkBox
-
A new SinkBox for messages of type MSGCLASS.
- create(Class<Msg>, int) - Static method in class ucb.util.mailbox.QueuedMailbox
-
A new QueuedMailbox
with capacity () fixed at CAPACITY.
D
- DEFAULT_HIGH_PORT - Static variable in class ucb.util.SimpleObjectRegistry
-
The default values for LOWPORT and HIGHPORT arguments.
- DEFAULT_LOW_PORT - Static variable in class ucb.util.SimpleObjectRegistry
-
The default values for LOWPORT and HIGHPORT arguments.
- DEFAULT_PORTS - Static variable in class ucb.util.SimpleObjectRegistry
-
The default values for LOWPORT and HIGHPORT arguments.
- deposit(Msg) - Method in interface ucb.util.mailbox.Mailbox
-
Deposit MSG in this Mailbox.
- deposit(Msg) - Method in class ucb.util.mailbox.QueuedMailbox
-
Deposit MSG in this Mailbox.
- deposit(Msg) - Method in class ucb.util.mailbox.Rendezvous
-
Deposit MSG in this Mailbox.
- deposit(Msg, long) - Method in interface ucb.util.mailbox.Mailbox
-
Deposit MSG in this Mailbox, if this can be done within approximately MILLIS milliseconds.
- deposit(Msg, long) - Method in class ucb.util.mailbox.QueuedMailbox
-
Deposit MSG in this Mailbox, if this can be done within approximately MILLIS milliseconds.
- deposit(Msg, long) - Method in class ucb.util.mailbox.Rendezvous
-
Deposit MSG in this Mailbox, if this can be done within approximately MILLIS milliseconds.
- depositBlocks - Variable in class ucb.util.mailbox.QueuedMailbox
- display(boolean) - Method in class ucb.gui2.TopLevel
-
If VISIBLE, display this TopLevel.
E
- enqueue(Msg) - Method in class ucb.util.mailbox.QueuedMailbox
-
Place MSG at the end of the message queue.
- enqueue(Msg) - Method in class ucb.util.mailbox.SinkBox
F
- findObject(String, String) - Static method in class ucb.util.SimpleObjectRegistry
-
Return findObject(NAME, HOST, DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
- findObject(String, String[]) - Static method in class ucb.util.SimpleObjectRegistry
-
Return findObject(NAME, HOSTS, DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
- findObject(String, String[], int, int) - Static method in class ucb.util.SimpleObjectRegistry
-
Return a remote object named NAME in some registry on one of the hosts in HOSTS on some port number between LOWPORT and HIGHPORT.
- findObject(String, String, int, int) - Static method in class ucb.util.SimpleObjectRegistry
-
Return a remote object named NAME in some registry on HOST on some port number between LOWPORT and HIGHPORT.
- flush(long) - Method in interface ucb.util.mailbox.Mailbox
-
Wait for all queued messages to be received, or MILLIS milliseconds, whichever comes first.
- flush(long) - Method in class ucb.util.mailbox.QueuedMailbox
-
Wait for all queued messages to be received, or MILLIS milliseconds, whichever comes first.
- flush(long) - Method in class ucb.util.mailbox.Rendezvous
-
Wait for any queued message to be received, or MILLIS milliseconds, whichever comes first.
- forward(Msg, long) - Method in class ucb.util.mailbox.QueuedMailbox
-
Perform forwarding of MSG to all recipients, waiting for up to MILLIS milliseconds for each deposit to be accepted.
- forward(Msg, long) - Method in class ucb.util.mailbox.Rendezvous
- forwardTo(List<Mailbox<Msg>>) - Method in interface ucb.util.mailbox.Mailbox
-
Forward copies of all messages (including any already present) to BOXES in the order received.
- forwardTo(List<Mailbox<Msg>>) - Method in class ucb.util.mailbox.QueuedMailbox
-
Forward copies of all messages (including any already present) to BOXES in the order received.
- forwardTo(List<Mailbox<Msg>>) - Method in class ucb.util.mailbox.Rendezvous
- forwardTo(Mailbox<Msg>) - Method in interface ucb.util.mailbox.Mailbox
-
Forward copies of all messages (including any already present) to BOX in the order received.
- forwardTo(Mailbox<Msg>) - Method in class ucb.util.mailbox.QueuedMailbox
-
Forward copies of all messages (including any already present) to BOXES in the order received.
- forwardTo(Mailbox<Msg>) - Method in class ucb.util.mailbox.Rendezvous
-
Forward copies of all messages (including any already present) to BOXES in the order received.
G
- get(String) - Method in class ucb.util.CommandArgs
-
Return the list of all argument values for option KEY, (empty if the option does not appear).
- getAccum() - Method in class ucb.util.Stopwatch
-
Return the total time in milliseconds that isRunning() has been true since THIS was created or reset.
- getArguments() - Method in class ucb.util.CommandArgs
-
Return the argument array (not a copy) with which THIS was created.
- getDouble(String) - Method in class ucb.util.CommandArgs
-
Return the value of the last occurrence of option KEY, as a floating-point value.
- getDouble(String, double) - Method in class ucb.util.CommandArgs
-
REturn the value of the last occurrence of option KEY, as a floating-point value, or DFLT if KEY is not present.
- getElapsed() - Method in class ucb.util.Stopwatch
-
Return the time in milliseconds since the latest, still-running subtimer started.
- getFirst(String) - Method in class ucb.util.CommandArgs
-
The argument value of the first occurrence of option KEY, or null if there is no occurrence, or it has the wrong format.
- getFirst(String, String) - Method in class ucb.util.CommandArgs
-
The argument value of the first occurrence of option KEY, or DFLT if there is no occurrence, or it has the wrong format.
- getInt(String) - Method in class ucb.util.CommandArgs
-
Return The value of the last occurrence of option KEY, as a decimal integer.
- getInt(String, int) - Method in class ucb.util.CommandArgs
-
Return The value of the last occurrence of option KEY, as an integer of given RADIX.
- getInt(String, int, int) - Method in class ucb.util.CommandArgs
-
Return the value of the last occurrence of option KEY, as an integer of given RADIX, or DFLT if KEY is not present.
- getLast(String) - Method in class ucb.util.CommandArgs
-
The argument value of the last occurrence of option KEY, or null if there is no occurrence, or it has the wrong format.
- getLast(String, String) - Method in class ucb.util.CommandArgs
-
The argument value of the last occurrence of option KEY, or DFLT if there is no occurrence, or it has the wrong format.
- getLong(String) - Method in class ucb.util.CommandArgs
-
Return the value of the last occurrence of option KEY, as a decimal integer.
- getLong(String, int) - Method in class ucb.util.CommandArgs
-
Return the value of the last occurrence of option KEY, as an integer of given RADIX.
- getLong(String, int, long) - Method in class ucb.util.CommandArgs
-
Return the value of the last occurrence of option KEY, as an integer of given RADIX, or DFLT if KEY is not present.
- getOptionString() - Method in class ucb.util.CommandArgs
-
Return the option string with which THIS was created.
- getRunning() - Method in class ucb.util.Stopwatch
-
Return the number of nested subtimers currently running.
- getTextInput(String, String, String, String) - Method in class ucb.gui2.TopLevel
-
Display a dialog box with message MESSAGE and title TITLE that prompts the user for textual input, with INIT providing the initial value of the text.
- getTextInputs(String, String, String, int, String...) - Method in class ucb.gui2.TopLevel
-
Display a dialog box that requests and returns input from multiple text fields.
I
- ip(double[], int, double[], int) - Static method in class ucb.proj2.Physics
-
The inner product X[IX] * Y[IY] + X[IX+1] * Y[IY+1].
- isClosed() - Method in interface ucb.util.mailbox.Mailbox
-
True iff THIS is closed.
- isClosed() - Method in class ucb.util.mailbox.QueuedMailbox
-
True iff THIS is closed.
- isClosed() - Method in class ucb.util.mailbox.Rendezvous
- isForwarding() - Method in interface ucb.util.mailbox.Mailbox
-
True iff THIS is currently forwarding messages as a result of forwardTo.
- isForwarding() - Method in class ucb.util.mailbox.QueuedMailbox
-
True iff THIS is currently forwarding messages as a result of forwardTo.
- isForwarding() - Method in class ucb.util.mailbox.Rendezvous
-
True iff THIS is currently forwarding messages as a result of forwardTo.
- isRunning() - Method in class ucb.util.Stopwatch
-
Return true iff there are subtimers of THIS running.
- isSelected(String) - Method in class ucb.gui2.TopLevel
-
Return true iff the button named LABEL is currently selected.
- iterator() - Method in class ucb.util.CommandArgs
-
Return An iterator over the set of keys in optionKeys().
K
- keyPressed(KeyEvent) - Method in class ucb.gui2.Pad
- keyReleased(KeyEvent) - Method in class ucb.gui2.Pad
- keyTyped(KeyEvent) - Method in class ucb.gui2.Pad
L
- LayoutSpec - Class in ucb.gui2
-
A LayoutSpec specifies how an item is to be laid out in a TopLevel or other graphical container (here, we'll refer to such things collectively as containers).
- LayoutSpec(Object...) - Constructor for class ucb.gui2.LayoutSpec
-
A new LayoutSpec, initialized with the parameters SPECS, as described in the class comment for LayoutSpec.
- len(double[], int) - Static method in class ucb.proj2.Physics
-
The length of X[IX : IX+1]
- len(double[], int, double[], int) - Static method in class ucb.proj2.Physics
-
The length of X[IX : IX+1] - Y[IY : IY+1].
- len2(double[], int) - Static method in class ucb.proj2.Physics
-
The squared length of X[IX : IX+1].
- len2(double[], int, double[], int) - Static method in class ucb.proj2.Physics
-
The squared length of X[IX : IX+1] - Y[IY : IY+1].
M
- Mailbox<Msg extends Serializable> - Interface in ucb.util.mailbox
-
A repository for messages, suitable for remote use.
- MailboxWatch<Msg extends Serializable> - Class in ucb.util.mailbox
-
A MailboxWatch takes a stream of forwarded messages from a Mailbox and prints them to a specified stream.
- MailboxWatch(Class<Msg>, Mailbox<Msg>, String, PrintStream) - Constructor for class ucb.util.mailbox.MailboxWatch
-
A new MailboxWatch on BOX, reporting to STR.
- main(String...) - Static method in class ucb.junit.textui
-
Produces the report described for runClasses, on the classes named in ARGS.
- MESSAGES - Static variable in class ucb.junit.textui
-
Verbosity levels.
- messageType() - Method in interface ucb.util.mailbox.Mailbox
-
The (runtime) type of message sent through this box.
- messageType() - Method in class ucb.util.mailbox.Rendezvous
- mouseClicked(MouseEvent) - Method in class ucb.gui2.Pad
- mouseDragged(MouseEvent) - Method in class ucb.gui2.Pad
- mouseEntered(MouseEvent) - Method in class ucb.gui2.Pad
- mouseExited(MouseEvent) - Method in class ucb.gui2.Pad
- mouseMoved(MouseEvent) - Method in class ucb.gui2.Pad
- mousePressed(MouseEvent) - Method in class ucb.gui2.Pad
- mouseReleased(MouseEvent) - Method in class ucb.gui2.Pad
- msg - Variable in class ucb.util.mailbox.Rendezvous
- myWait(long) - Method in class ucb.util.mailbox.QueuedMailbox
-
Wait for up to LIMIT milliseconds or the next notify or interrupt.
- myWait(long) - Method in class ucb.util.mailbox.Rendezvous
N
- number(String) - Method in class ucb.util.CommandArgs
-
Return the number of occurrences of option key KEY.
O
- ok() - Method in class ucb.util.CommandArgs
-
Return true iff all arguments were correct.
- open - Variable in class ucb.util.mailbox.QueuedMailbox
- open - Variable in class ucb.util.mailbox.Rendezvous
- optionKeys() - Method in class ucb.util.CommandArgs
-
Return a list of all keys that appeared in the arguments, in order of appearance.
- optionValues() - Method in class ucb.util.CommandArgs
-
Return A list of all option values that appeared in the arguments, in order of appearance.
P
- Pad - Class in ucb.gui2
-
A Pad is a blank slate that may be inserted into a TopLevel.
- Pad() - Constructor for class ucb.gui2.Pad
-
A new, empty Pad.
- paintComponent(Graphics) - Method in class ucb.gui2.Pad
- paintComponent(Graphics2D) - Method in class ucb.gui2.Pad
-
Repaint myself on G.
- params() - Method in class ucb.gui2.LayoutSpec
-
Return my constraints.
- Physics - Class in ucb.proj2
-
Methods for computing collision times and effects on round equal-sized moving objects in 2D.
- Physics() - Constructor for class ucb.proj2.Physics
- port() - Method in class ucb.util.SimpleObjectRegistry
-
Return the port number on which this registry is exported.
Q
- queue - Variable in class ucb.util.mailbox.QueuedMailbox
- QueuedMailbox<Msg extends Serializable> - Class in ucb.util.mailbox
-
A Mailbox with a specified (positive) capacity
- QueuedMailbox(Class<Msg>, int) - Constructor for class ucb.util.mailbox.QueuedMailbox
-
A new QueuedMailbox with given CAPACITY carrying messages of type MSGCLASS.
R
- rebind(String, Remote) - Method in class ucb.util.SimpleObjectRegistry
-
Bind NAME to VALUE in this registry, replacing any existing binding.
- rebound(double[], double[]) - Static method in class ucb.proj2.Physics
-
Given two objects with P0 and P1 (see the class documentation for ucb.proj2.Physics, above) that are in collision with each other, (destructively) modify their velocities as a result of that collision.
- receive() - Method in interface ucb.util.mailbox.Mailbox
-
Receive the next queued message in this Mailbox.
- receive() - Method in class ucb.util.mailbox.QueuedMailbox
-
Receive the next queued message in this Mailbox.
- receive() - Method in class ucb.util.mailbox.Rendezvous
-
Receive the next queued message in this Mailbox.
- receive(long) - Method in interface ucb.util.mailbox.Mailbox
-
Receive the next queued message in this Mailbox, if one is available within MILLIS milliseconds.
- receive(long) - Method in class ucb.util.mailbox.QueuedMailbox
-
Receive the next queued message in this Mailbox, if one is available within MILLIS milliseconds.
- receive(long) - Method in class ucb.util.mailbox.Rendezvous
-
Receive the next queued message in this Mailbox, if one is available within MILLIS milliseconds.
- Rendezvous<Msg extends Serializable> - Class in ucb.util.mailbox
-
A Mailbox with a capacity of 0.
- Rendezvous(Class<Msg>) - Constructor for class ucb.util.mailbox.Rendezvous
- reset() - Method in class ucb.util.Stopwatch
-
Stop all subtimers, and set accumulated time to 0.
- run() - Method in class ucb.util.mailbox.MailboxWatch
- run() - Method in class ucb.util.Ticker
-
Internal method.
- runClasses(int, Class<?>...) - Static method in class ucb.junit.textui
-
Run all tests in CLASSES, reporting results on the standard error output, depending on VERBOSITY, which determines what is reported.
- runClasses(int, List<Class<?>>) - Static method in class ucb.junit.textui
-
Return as for
runClasses
(VERBOSITY, CLASSES), but with the class list stored in a list rather than an array. - runClasses(Class<?>...) - Static method in class ucb.junit.textui
-
Return
runClasses
(Messages, CLASSES). - runClasses(List<Class<?>>) - Static method in class ucb.junit.textui
-
Return
runClasses
(MESSAGES, CLASSES).
S
- select(String, boolean) - Method in class ucb.gui2.TopLevel
-
Set isSelected(LABEL) to VAL, if LABEL is a valid button.
- setEnabled(boolean, String...) - Method in class ucb.gui2.TopLevel
-
Set the enabled status of the buttons labeled LABELS[0], ...
- setKeyHandler(String, BiConsumer<String, KeyEvent>) - Method in class ucb.gui2.Pad
-
Handle the kind of key event EVENTKIND by calling FUNC's accept method with EVENTKIND and the KeyEvent that describes the event.
- setLabel(String, String) - Method in class ucb.gui2.TopLevel
-
Set the text of the existing label with tag ID to TEXT.
- setMaximumSize(int, int) - Method in class ucb.gui2.Pad
-
Set my maximum size to WIDTH x HEIGHT pixels.
- setMinimumSize(int, int) - Method in class ucb.gui2.Pad
-
Set my minimum size to WIDTH x HEIGHT pixels.
- setMouseHandler(String, BiConsumer<String, MouseEvent>) - Method in class ucb.gui2.Pad
-
Handle the kind of mouse event EVENTKIND by calling FUNC's accept method with EVENTKIND and the MouseEvent that describes the event.
- setPreferredFocus(JComponent) - Method in class ucb.gui2.TopLevel
-
When the focus is in my window, request that WIDGET, which should be one of my components, get the focus.
- setPreferredSize(int, int) - Method in class ucb.gui2.Pad
-
Set my preferred size to WIDTH x HEIGHT pixels.
- showMessage(String, String, String) - Method in class ucb.gui2.TopLevel
-
Display the dismissable message TEXT of type TYPE in a separate dialog window with title TITLE.
- showOptions(String, String, String, String, String...) - Method in class ucb.gui2.TopLevel
-
Display a choice of optional responses, labeled LABELS[0],...,LABELS[n] in a separate dialog box with title TITLE and message MESSAGE.
- SILENT - Static variable in class ucb.junit.textui
-
Verbosity levels.
- SimpleObjectRegistry - Class in ucb.util
-
A kind of registry that provides a very simple means of exchanging remote objects by name.
- SimpleObjectRegistry() - Constructor for class ucb.util.SimpleObjectRegistry
-
Same as SimpleObjectRegistry(DEFAULT_LOW_PORT, DEFAULT_HIGH_PORT).
- SimpleObjectRegistry(int) - Constructor for class ucb.util.SimpleObjectRegistry
-
Return SimpleObjectRegistry(PORT, PORT).
- SimpleObjectRegistry(int, int) - Constructor for class ucb.util.SimpleObjectRegistry
-
Create a new SimpleObjectRegistry on one of the ports LOWPORT to HIGHPORT, if possible.
- SinkBox<Msg extends Serializable> - Class in ucb.util.mailbox
-
A Mailbox that throws away all mail (after any forwarding).
- SinkBox(Class<Msg>) - Constructor for class ucb.util.mailbox.SinkBox
- start() - Method in class ucb.util.Stopwatch
-
Start a new subtimer at the current time.
- start() - Method in class ucb.util.Ticker
-
Start ticking, executing tick() at each tick.
- stop() - Method in class ucb.util.Stopwatch
-
Stops the most recently started, still-running subtimer, returning the time elapsed since it started in milliseconds.
- stop() - Method in class ucb.util.Ticker
-
Stop ticking.
- stopForwarding() - Method in interface ucb.util.mailbox.Mailbox
-
Stop forwarding copies of messages.
- stopForwarding() - Method in class ucb.util.mailbox.QueuedMailbox
-
Stop forwarding copies of messages.
- stopForwarding() - Method in class ucb.util.mailbox.Rendezvous
-
Stop forwarding copies of messages.
- Stopwatch - Class in ucb.util
-
A simple timer class based on elapsed wall-clock time.
- Stopwatch() - Constructor for class ucb.util.Stopwatch
-
A stopped timer(! isRunning()) with 0msec accumulated time.
- SUMMARY - Static variable in class ucb.junit.textui
-
Verbosity levels.
T
- TESTNAMES - Static variable in class ucb.junit.textui
-
Verbosity levels.
- textui - Class in ucb.junit
-
An alternative unit test runner with text output.
- textui() - Constructor for class ucb.junit.textui
- tick() - Method in class ucb.util.Ticker
-
Action to perform on each clock tick.
- Ticker - Class in ucb.util
-
A simple timer class that periodically performs some action.
- Ticker(long) - Constructor for class ucb.util.Ticker
-
A Ticker that, when started, fires every INTERVAL milliseconds, or never, if interval <= 0.
- TopLevel - Class in ucb.gui2
-
A top-level window with optional menu bar.
- TopLevel(String, boolean) - Constructor for class ucb.gui2.TopLevel
-
A new TopLevel with the given TITLE (which window managers typically display on the border).
U
- ucb.gui2 - package ucb.gui2
-
Provides the classes needed to implement a simple graphical user interface, containing buttons, a menu bar, simple canvases allowing arbitrary graphics and responding to the mouse or keyboard, and modal dialogs and messages.
- ucb.junit - package ucb.junit
- ucb.proj2 - package ucb.proj2
- ucb.util - package ucb.util
- ucb.util.mailbox - package ucb.util.mailbox
- unbind() - Method in class ucb.util.SimpleObjectRegistry
-
Remove all bindings in this registry.
- unbind(String) - Method in class ucb.util.SimpleObjectRegistry
-
Remove any binding of NAME in this registry.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
CommandArgs.contains(String)
instead.