Package ix.util

General-purpose utilities.

See:
          Description

Interface Summary
Collector A Collector can be given new elements and can return the "result" derived from those elements.
Function0 An interface for functions of zero arguments.
Function1 An interface for functions of one argument.
Function2 An interface for functions of two arguments.
Function3 An interface for functions of three arguments.
IPC.CommunicationStrategy An object that determines how various IPC operations are performed.
IPC.Connection An object that can send and receive.
IPC.DestinationTable A mapping from destination names to the data needed to establish connections with the corresponding agents.
IPC.InputMessage An object that represents an incoming message.
IPC.MessageListener An object that is notified when a message is received.
IPC.SocketlikeCommunicationStrategy A CommunicationStrategy that provides "connections" analogous to sockets and a visible mapping from destination names to the data needed to establish a connection.
Markable An interface for markable objects.
MultiMap  
Predicate0 An interface for boolean functions of zero arguments
Predicate1 An interface for boolean functions of one argument.
Predicate2 An interface for boolean functions of two arguments.
SemiPrimitive Tagging interface for objects that have a straightforward representation as Strings.
TextAreaFrame.TListener  
 

Class Summary
CatchingThread A thread that catches and reports errors or exceptions.
ClassFinder Converts between class names (Strings) and classes.
ClassFinder.Import Internal class that performs the name-to-class mapping that corresponds to a single import specification.
Collect Collection and Map utilities
CommandLoop  
Debug Class for useful static debugging tools
EnumeratedValue  
FieldWalker Used to visit the fields of an object.
FieldWalker.FieldInfo  
Fn Function utilities
ImageCanvas  
IPC Support for interprocess communication in a framework that allows different communication strategies to be used in a uniform way.
IPC.BasicDestinationTable A HashMap implementation of the DestinationTable interface.
IPC.BasicInputMessage A minimal implementation of InputMessage.
IPC.ObjectStreamCommunicationStrategy A communication strategy in which a destination is mapped to a host and port number, and objects are sent by writing their serialization to a socket.
IPC.ObjectStreamConnection A Connection that is used to send and receive serialized objects via a socket.
IPC.ObjectStreamNameServer A Thread that acts as a name-server on a specified port.
IPC.ObjectStreamServer A Thread that accepts connections to a ServerSocket and creates an object-reading thread for each connection.
IPC.ServiceAddress An object that contains a host name and a port number.
IPC.SimpleIXCommunicationStrategy An ObjectStream communication strategy that provides default host and port assignments for standard I-X agents.
IPC.SimpleIXDestinationTable A DestinationTable that provides default host and port assignments for standard I-X agents, suitable for use with an instance of ObjectStreamCommunicationStrategy.
IPC.SimpleIXXMLCommunicationStrategy An ObjectStream communication strategy that provides default host and port assignments for standard I-X agents and encodes the message contents in XML rather than serializing.
IPC.XMLObjectStreamCommunicationStrategy A version of ObjectStreamCommunicationStrategy that encodes the message contents in XML rather than serializing.
JavaNameWordIterator An iterator that returns successive words from a name that follows Java capitalization conventions.
Mark A class used when marking objects as used, visited, etc.
MessageQueue MessageQueues can be used for messages between threads.
MultiHashMap A MultiHashMap is (by weak analogy with "multiset") a HashMap that maps each key to a collection of values.
MultiHashtable A MultiHashtable is (by weak analogy with "multiset") a Hashtable that maps each key to a collection of values.
Name Wrapper for relatively short strings used as names.
ObjectCopier Copies Objects, including to instances of a different class.
Parameters The Parameters class contains methods that allow information from application command-line arguments and from Applet parameters to be used in a uniform way.
Parameters.AccessRecordingProperties  
Seq Seq defines some convenient methods for use with sequences, where a sequence is an Object[], a Vector, a LList, or an Enumeration.
Seq.IteratorEnumeration  
Strings A class containing useful static string methods.
TextAreaFrame A TextArea that has its own frame and some buttons.
TwoKeyHashMap  
Util Class for useful static methods that don't belong anywhere else.
Util.NameGenerator Name generator a la gensym.
 

Exception Summary
AssertionFailure The exception thrown by Debug.assert when an assertion is false.
IPC.BrokenConnectionException  
IPC.IPCException The exception thrown by IPC methods.
 

Package ix.util Description

General-purpose utilities.