A C D F G H I L M O P R S T

A

adapter - Variable in class lights.adapters.Field
 
add(IField) - Method in class lights.Tuple
Adds a field at the end of the tuple.
add(IField) - Method in interface lights.interfaces.ITuple
Adds a field at the end of the tuple.
add(IField) - Method in class lights.adapters.Tuple
Creates an uninitialized tuple.
addActual(Serializable) - Method in class lights.Tuple
Adds an actual field, whose value is the given object, at the end of the tuple.
addActual(Serializable) - Method in interface lights.interfaces.ITuple
Adds an actual field, whose value is the given object, at the end of the tuple.
addActual(Serializable) - Method in class lights.adapters.Tuple
Adds an actual field, whose value is the given object, at the end of the tuple.
addFormal(Class) - Method in class lights.Tuple
Adds a formal field, whose type is the given class, at the end of the tuple.
addFormal(Class) - Method in interface lights.interfaces.ITuple
Adds a formal field, whose type is the given class, at the end of the tuple.
addFormal(Class) - Method in class lights.adapters.Tuple
Adds a formal field, whose type is the given class, at the end of the tuple.

C

count(ITuple) - Method in class lights.TupleSpace
Returns a count of the tuples found in the tuple space that match the template.
count(ITuple) - Method in interface lights.interfaces.ITupleSpace
Returns a count of the tuples found in the tuple space that match the template.
count(ITuple) - Method in class lights.adapters.TupleSpace
Returns a count of the tuples found in the tuple space that match the template.
createFieldAdapter() - Method in class lights.adapters.TupleSpaceFactory
 
createFieldAdapter() - Method in class lights.adapters.builtin.TupleSpaceFactory
 
createTupleAdapter() - Method in class lights.adapters.TupleSpaceFactory
 
createTupleAdapter() - Method in class lights.adapters.builtin.TupleSpaceFactory
 
createTupleSpaceAdapter(String) - Method in class lights.adapters.TupleSpaceFactory
 
createTupleSpaceAdapter(String) - Method in class lights.adapters.builtin.TupleSpaceFactory
 

D

DEFAULT_NAME - Static variable in interface lights.interfaces.ITupleSpace
The default name of a tuple space.

F

Field - class lights.Field.
Represents a single typed field of a tuple.
Field - class lights.adapters.Field.
Represents a single typed field of a tuple.
Field() - Constructor for class lights.Field
Creates an uninitialized field.
Field() - Constructor for class lights.adapters.Field
Creates an uninitialized field.

G

get(int) - Method in class lights.Tuple
Returns the field at position index.
get(int) - Method in interface lights.interfaces.ITuple
Returns the field at position index.
get(int) - Method in class lights.adapters.Tuple
Replaces the field at position index with the given one.
getFactory() - Static method in class lights.adapters.TupleSpaceFactory
 
getFields() - Method in class lights.Tuple
Returns all the fields in this tuple.
getFields() - Method in interface lights.interfaces.ITuple
Returns all the fields in this tuple.
getFields() - Method in class lights.adapters.Tuple
Returns all the fields in this tuple.
getInternal() - Method in class lights.interfaces.TupleSpaceError
Returns the internal exception associated with this object.
getInternal() - Method in class lights.interfaces.TupleSpaceRuntimeException
Returns the internal exception associated with this object.
getInternal() - Method in class lights.interfaces.TupleSpaceException
Returns the internal exception associated with this object.
getName() - Method in class lights.TupleSpace
Returns the name of the tuple space.
getName() - Method in interface lights.interfaces.ITupleSpace
Returns the name of the tuple space.
getName() - Method in class lights.adapters.TupleSpace
Returns the name of the tuple space.
getType() - Method in class lights.Field
Returns the type of this field.
getType() - Method in interface lights.interfaces.IField
Returns the type of this field.
getType() - Method in class lights.adapters.Field
Returns the type of this field.
getValue() - Method in class lights.Field
Returns the value of this field.
getValue() - Method in interface lights.interfaces.IField
Returns the value of this field.
getValue() - Method in class lights.adapters.Field
Returns the value of this field.

H

hasInternal() - Method in class lights.interfaces.TupleSpaceError
 
hasInternal() - Method in class lights.interfaces.TupleSpaceRuntimeException
Tests whether this exception contains an internal exception.
hasInternal() - Method in class lights.interfaces.TupleSpaceException
Tests whether this exception contains an internal exception.

I

IField - interface lights.interfaces.IField.
Represents a single typed field of a tuple.
in(ITuple) - Method in class lights.TupleSpace
Withdraws from the tuple space a tuple matching the template specified; if no tuple is found, the caller is suspended until such a tuple shows up in the tuple space.
in(ITuple) - Method in interface lights.interfaces.ITupleSpace
Withdraws from the tuple space a tuple matching the template specified; if no tuple is found, the caller is suspended until such a tuple shows up in the tuple space.
in(ITuple) - Method in class lights.adapters.TupleSpace
Withdraws from the tuple space a tuple matching the template specified.
ing(ITuple) - Method in class lights.TupleSpace
Withdraws from the tuple space all the tuple matching the template specified.
ing(ITuple) - Method in interface lights.interfaces.ITupleSpace
Withdraws from the tuple space all the tuple matching the template specified.
ing(ITuple) - Method in class lights.adapters.TupleSpace
Withdraws from the tuple space all the tuple matching the template specified.
inp(ITuple) - Method in class lights.TupleSpace
Withdraws from the tuple space a tuple matching the template specified; if no tuple is found, null is returned.
inp(ITuple) - Method in interface lights.interfaces.ITupleSpace
Withdraws from the tuple space a tuple matching the template specified; if no tuple is found, null is returned.
inp(ITuple) - Method in class lights.adapters.TupleSpace
Withdraws from the tuple space a tuple matching the template specified.
insertAt(IField, int) - Method in class lights.Tuple
Inserts the given field at position index.
insertAt(IField, int) - Method in interface lights.interfaces.ITuple
Inserts the given field at position index.
insertAt(IField, int) - Method in class lights.adapters.Tuple
Inserts the given field at position index.
isFormal() - Method in class lights.Field
Returns true if the field is a formal, false otherwise.
isFormal() - Method in interface lights.interfaces.IField
Returns true if the field is a formal, false otherwise.
isFormal() - Method in class lights.adapters.Field
Returns true if the field is a formal, false otherwise.
ITuple - interface lights.interfaces.ITuple.
The definition of a tuple, i.e., an ordered sequence of typed fields.
ITupleSpace - interface lights.interfaces.ITupleSpace.
Defines the operations available on a tuple space.

L

length() - Method in class lights.Tuple
Returns the number of fields in the tuple.
length() - Method in interface lights.interfaces.ITuple
Returns the number of fields in the tuple.
length() - Method in class lights.adapters.Tuple
Returns the number of fields in the tuple.
lights - package lights
 
lights.adapters - package lights.adapters
 
lights.adapters.builtin - package lights.adapters.builtin
 
lights.interfaces - package lights.interfaces
 

M

matches(IField) - Method in class lights.Field
Determines the rule used for pattern matching between fields.
matches(IField) - Method in interface lights.interfaces.IField
Determines the rule used for pattern matching between fields.
matches(IField) - Method in class lights.adapters.Field
Determines the rule used for pattern matching between fields.
matches(ITuple) - Method in class lights.Tuple
Determines the rule used for pattern matching between tuples.
matches(ITuple) - Method in interface lights.interfaces.ITuple
Determines the rule used for pattern matching between tuples.
matches(ITuple) - Method in class lights.adapters.Tuple
Determines the rule used for pattern matching between tuples.

O

optimizationFor - Variable in class lights.TupleSpace
The default for optimization is speed.
out(ITuple) - Method in class lights.TupleSpace
Inserts a tuple in the tuple space.
out(ITuple) - Method in interface lights.interfaces.ITupleSpace
Inserts a tuple in the tuple space.
out(ITuple) - Method in class lights.adapters.TupleSpace
Inserts a tuple in the tuple space.
outg(ITuple[]) - Method in class lights.TupleSpace
Inserts multiple tuples in the tuple space.
outg(ITuple[]) - Method in interface lights.interfaces.ITupleSpace
Inserts multiple tuples in the tuple space.
outg(ITuple[]) - Method in class lights.adapters.TupleSpace
Inserts multiple tuples in the tuple space.

P

printStackTrace() - Method in class lights.interfaces.TupleSpaceError
Prints this exception and its backtrace to the standard error stream.
printStackTrace() - Method in class lights.interfaces.TupleSpaceRuntimeException
Prints this exception and its backtrace to the standard error stream.
printStackTrace() - Method in class lights.interfaces.TupleSpaceException
Prints this exception and its backtrace to the standard error stream.
printStackTrace(PrintStream) - Method in class lights.interfaces.TupleSpaceError
Prints this exception and its backtrace to the specified print stream.
printStackTrace(PrintStream) - Method in class lights.interfaces.TupleSpaceRuntimeException
Prints this exception and its backtrace to the specified print stream.
printStackTrace(PrintStream) - Method in class lights.interfaces.TupleSpaceException
Prints this exception and its backtrace to the specified print stream.
printStackTrace(PrintWriter) - Method in class lights.interfaces.TupleSpaceError
Prints this exception and its backtrace to the specified print writer.
printStackTrace(PrintWriter) - Method in class lights.interfaces.TupleSpaceRuntimeException
Prints this exception and its backtrace to the specified print writer.
printStackTrace(PrintWriter) - Method in class lights.interfaces.TupleSpaceException
Prints this exception and its backtrace to the specified print writer.

R

rd(ITuple) - Method in class lights.TupleSpace
Reads from the tuple space a copy of a tuple matching the template specified.
rd(ITuple) - Method in interface lights.interfaces.ITupleSpace
Reads from the tuple space a copy of a tuple matching the template specified.
rd(ITuple) - Method in class lights.adapters.TupleSpace
Reads from the tuple space a copy of a tuple matching the template specified.
rdg(ITuple) - Method in class lights.TupleSpace
Reads from the tuple space a copy of all the tuples matching the template specified.
rdg(ITuple) - Method in interface lights.interfaces.ITupleSpace
Reads from the tuple space a copy of all the tuples matching the template specified.
rdg(ITuple) - Method in class lights.adapters.TupleSpace
Reads from the tuple space a copy of all the tuples matching the template specified.
rdp(ITuple) - Method in class lights.TupleSpace
Reads from the tuple space a copy of a tuple matching the template specified.
rdp(ITuple) - Method in interface lights.interfaces.ITupleSpace
Reads from the tuple space a copy of a tuple matching the template specified.
rdp(ITuple) - Method in class lights.adapters.TupleSpace
Reads from the tuple space a copy of a tuple matching the template specified.
removeAt(int) - Method in class lights.Tuple
Removes the field at position index.
removeAt(int) - Method in interface lights.interfaces.ITuple
Removes the field at position index.
removeAt(int) - Method in class lights.adapters.Tuple
Removes the field at position index.

S

set(IField) - Method in class lights.Field
Substitutes this field with the one passed as a parameter.
set(IField) - Method in interface lights.interfaces.IField
Substitutes this field with the one passed as a parameter.
set(IField) - Method in class lights.adapters.Field
Substitutes this field with the one passed as a parameter.
set(IField, int) - Method in class lights.Tuple
Replaces the field at position index with the given one.
set(IField, int) - Method in interface lights.interfaces.ITuple
Replaces the field at position index with the given one.
set(IField, int) - Method in class lights.adapters.Tuple
Replaces the field at position index with the given one.
setFactory(String) - Static method in class lights.adapters.TupleSpaceFactory
 
setToActual(Serializable) - Method in class lights.Field
Sets the value of this field to the object passed as a parameter.
setToActual(Serializable) - Method in interface lights.interfaces.IField
Sets the value of this field to the object passed as a parameter.
setToActual(Serializable) - Method in class lights.adapters.Field
Sets the value of this field to the object passed as a parameter.
setToFormal(Class) - Method in class lights.Field
Sets this field to be a formal whose type becomes the class passed as a parameter.
setToFormal(Class) - Method in interface lights.interfaces.IField
Sets this field to be a formal whose type becomes the class passed as a parameter.
setToFormal(Class) - Method in class lights.adapters.Field
Sets this field to be a formal whose type becomes the class passed as a parameter.
setToNullActual(Class) - Method in class lights.Field
Sets the value of this field to null.
setToNullActual(Class) - Method in interface lights.interfaces.IField
Sets the value of this field to null.
setToNullActual(Class) - Method in class lights.adapters.Field
Sets the value of this field to null.
SPACE - Static variable in class lights.TupleSpace
Used to specify that tuple space access should be optimized for space.
SPEED - Static variable in class lights.TupleSpace
Used to specify that tuple space access should be optimized for speed.

T

toString() - Method in class lights.Field
Returns a string representation of the tuple.
toString() - Method in class lights.TupleSpace
Returns a string representation of the tuple space.
toString() - Method in class lights.Tuple
Returns a string representation of the field.
toString() - Method in class lights.interfaces.TupleSpaceError
 
toString() - Method in class lights.interfaces.TupleSpaceRuntimeException
 
toString() - Method in class lights.interfaces.TupleSpaceException
 
toString() - Method in class lights.adapters.Tuple
Returns a string representation of the field.
toString() - Method in class lights.adapters.Field
Returns a string representation of the tuple.
toString() - Method in class lights.adapters.TupleSpace
Returns a string representation of the tuple space.
ts - Variable in class lights.TupleSpace
The actual implementation of the tuple space data structure.
Tuple - class lights.Tuple.
The definition of a tuple, i.e., an ordered sequence of typed fields.
Tuple - class lights.adapters.Tuple.
The definition of a tuple, i.e., an ordered sequence of typed fields.
Tuple() - Constructor for class lights.Tuple
Creates an uninitialized tuple.
Tuple() - Constructor for class lights.adapters.Tuple
 
TupleSpace - class lights.TupleSpace.
Embodies the concept of a Linda-like tuple space.
TupleSpace - class lights.adapters.TupleSpace.
Embodies the concept of a Linda-like tuple space.
TupleSpace() - Constructor for class lights.TupleSpace
Creates a tuple space with a default name, and optimization for speed.
TupleSpace() - Constructor for class lights.adapters.TupleSpace
Creates a tuple space with a default name.
TupleSpace(String) - Constructor for class lights.TupleSpace
Creates a tuple space with the name specified by the user, and optimization for speed.
TupleSpace(String) - Constructor for class lights.adapters.TupleSpace
Creates a tuple space with the name specified by the user, and optimization for speed.
TupleSpace(String, int) - Constructor for class lights.TupleSpace
Creates a tuple space with the name and optimization specified by the user.
TupleSpaceError - error lights.interfaces.TupleSpaceError.
The superclass of every error generated by this package.
TupleSpaceError() - Constructor for class lights.interfaces.TupleSpaceError
Constructs a TupleSpaceError with no detail message.
TupleSpaceError(String) - Constructor for class lights.interfaces.TupleSpaceError
Constructs a TupleSpaceError with the specified detail message.
TupleSpaceException - exception lights.interfaces.TupleSpaceException.
The superclass of all exceptions raised by this package.
TupleSpaceException() - Constructor for class lights.interfaces.TupleSpaceException
Creates a new exception with no internal, lower-level exception.
TupleSpaceException(Exception) - Constructor for class lights.interfaces.TupleSpaceException
Creates an exception that wraps an internal exception.
TupleSpaceException(Exception, String) - Constructor for class lights.interfaces.TupleSpaceException
Creates an exception that wraps an internal exception.
TupleSpaceException(String) - Constructor for class lights.interfaces.TupleSpaceException
Creates a new exception with no internal, lower-level exception.
TupleSpaceFactory - class lights.adapters.TupleSpaceFactory.
 
TupleSpaceFactory - class lights.adapters.builtin.TupleSpaceFactory.
 
TupleSpaceFactory() - Constructor for class lights.adapters.TupleSpaceFactory
 
TupleSpaceFactory() - Constructor for class lights.adapters.builtin.TupleSpaceFactory
 
TupleSpaceRuntimeException - exception lights.interfaces.TupleSpaceRuntimeException.
The superclass of all exceptions raised by this package.
TupleSpaceRuntimeException() - Constructor for class lights.interfaces.TupleSpaceRuntimeException
Creates a new exception with no internal, lower-level exception.
TupleSpaceRuntimeException(Exception) - Constructor for class lights.interfaces.TupleSpaceRuntimeException
Creates an exception that wraps an internal exception.
TupleSpaceRuntimeException(Exception, String) - Constructor for class lights.interfaces.TupleSpaceRuntimeException
Creates an exception that wraps an internal exception.
TupleSpaceRuntimeException(String) - Constructor for class lights.interfaces.TupleSpaceRuntimeException
Creates a new exception with no internal, lower-level exception.

A C D F G H I L M O P R S T