All Packages Class Hierarchy This Package Previous Next Index
Class Jaja.Vector
java.lang.Object
|
+----Jaja.Jaja
|
+----Jaja.Value
|
+----Jaja.Vector
- public class Vector
- extends Value
This class implements Scheme mutable vectors.
-
item
- The content of the Scheme vector is public; it may be modified
via
v.item[index]
as R- or L-value.
-
Vector(int)
-
-
Vector(int, Value)
-
-
Vector(Value[])
-
-
equalp(Value)
- Structural comparison: True if the two objects have the same
class and content.
-
eval(Environment, WorldAble)
- R4RS does not specify whether vectors may be evaluated.
-
toReadableString()
- Convert a Value into a computer-readable Java String.
-
toString()
- Convert a Value into a human-readable Java String.
item
public Value item[]
- The content of the Scheme vector is public; it may be modified
via
v.item[index]
as R- or L-value.
Vector
public Vector(int size)
Vector
public Vector(int size,
Value defaultValue)
Vector
public Vector(Value arguments[])
equalp
public boolean equalp(Value other)
- Structural comparison: True if the two objects have the same
class and content.
- Overrides:
- equalp in class Value
toString
public String toString()
- Convert a Value into a human-readable Java String.
- Overrides:
- toString in class Value
toReadableString
public String toReadableString()
- Convert a Value into a computer-readable Java String.
- Overrides:
- toReadableString in class Value
eval
public Value eval(Environment r,
WorldAble world)
- R4RS does not specify whether vectors may be evaluated. Jaja
takes position and forbids it.
- Overrides:
- eval in class Value
All Packages Class Hierarchy This Package Previous Next Index