Package | Description |
---|---|
gnu.jemacs.swt | |
gnu.kawa.functions |
Various core run-time functions and operators.
|
gnu.kawa.util | |
gnu.kawa.xml |
Classes for using XML within Kawa.
|
gnu.lists |
Contains utility classes and interfaces for sequences (lists), arrays, and trees.
|
gnu.mapping |
Supports
Procedure ,
and various related classes needed at run-time by dynamically typed
languages (such as Scheme and ECMAScript). |
Modifier and Type | Class and Description |
---|---|
class |
BufferContent |
class |
LineOffsets
The purpose of this class is to maintain an ordered set of line offsets for an
SwtCharBuffer.
|
class |
SwtCharBuffer
TODO Explain that this is all about.
|
Modifier and Type | Class and Description |
---|---|
static class |
Arrays.BuiltArray<E>
Class for implementing computed (virtual) array.
|
static class |
Arrays.ProcTransformedArray<E>
General array "view" class using a Procedure index transformer.
|
Modifier and Type | Method and Description |
---|---|
static <E> Array<E> |
Arrays.getBuiltArray(Array shape,
Procedure getter) |
static <E> Array<E> |
Arrays.getBuiltArray(Array shape,
Procedure getter,
Procedure setter) |
static <E> Array<E> |
Arrays.getTransformed(Array<E> base,
Procedure transformer,
Array shape) |
static Array |
Arrays.makeFromSimple(int[] dimensions,
int[] lowBounds,
java.lang.Object buffer,
PrimType elementType) |
static Array |
Arrays.makeFromValues(Array shape,
java.lang.Object[] values) |
static Array |
Arrays.makeSimple(Array shape,
SimpleVector base) |
static Array |
Arrays.shape(java.lang.Object[] vals)
Convert a sequence of (lower,upper) bounds to a SRFI-25 shape.
|
static Array |
Arrays.shareArray(Array array,
Array shape,
Procedure proc) |
Modifier and Type | Method and Description |
---|---|
static GeneralArray |
Arrays.allocateArray(Array shape)
Convenience method for resolving shape specifiers.
|
static java.lang.Object |
ArrayRef.arrayRef(Array array,
Sequence index) |
static void |
ArraySet.arraySet(Array array,
Sequence index,
java.lang.Object value) |
static <E> Array<E> |
Arrays.getBuiltArray(Array shape,
Procedure getter) |
static <E> Array<E> |
Arrays.getBuiltArray(Array shape,
Procedure getter,
Procedure setter) |
static int |
ArrayPrint.getSize(Array arr) |
static int |
ArrayPrint.getSizePrefix(Array arr) |
static <E> Array<E> |
Arrays.getTransformed(Array<E> base,
Procedure transformer,
Array shape) |
static <E> Array<E> |
Arrays.getTransformed(Array<E> base,
Procedure transformer,
Array shape) |
static int[] |
Arrays.handleShapeSpecifier(Array shape,
int rank,
int[] dimensions,
boolean toShape)
Process a shape specifier.
|
static Array |
Arrays.makeFromValues(Array shape,
java.lang.Object[] values) |
static Array |
Arrays.makeSimple(Array shape,
SimpleVector base) |
static Array |
Arrays.shareArray(Array array,
Array shape,
Procedure proc) |
static Array |
Arrays.shareArray(Array array,
Array shape,
Procedure proc) |
Constructor and Description |
---|
ProcTransformedArray(Array<E> base,
Procedure transformer,
int[] dimensions,
int[] lowBounds) |
SetGArray(Array array) |
Modifier and Type | Method and Description |
---|---|
static int |
HashUtils.boundedHash(Array arr,
int seed,
int limit) |
Modifier and Type | Class and Description |
---|---|
static class |
Nodes.NodeVector |
Modifier and Type | Interface and Description |
---|---|
interface |
AVector<E> |
interface |
GVector<E>
A "generalized vector" - a randomly-acessible sequence.
|
interface |
IntSequence |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCharVector<E> |
class |
BitVector
Simple adjustable-length vector of Boolean values.
|
class |
Blob
Binary data which may represent text or other information.
|
class |
ByteVector<E>
Simple adjustable-length vector of signed or unsigned 8-bit integers (bytes).
|
class |
CharBuffer
Editable character sequence using a buffer-gap implementation and
self-adjusting position.
|
class |
CharVector
Simple adjustable-length vector whose elements are 16-bit chars.
|
class |
ComposedArray<E>
Indexing "composes" with a set of indexing arrays.
|
static class |
ComposedArray.AsSequence<E>
Same as ComposedArray but also implements AVector.
|
class |
F32Vector
Simple adjustable-length vector of 32-bit floats.
|
class |
F64Vector
Simple adjustable-length vector of 64-bit doubles.
|
class |
FlattenedArray<E>
View an array as a vector, with the former's elements in row-major order.
|
class |
FString
Simple adjustable-length vector whose elements are 32-bit code points
Used for the Scheme string type.
|
class |
FVector<E>
Simple adjustable-length vector of objects.
|
class |
GeneralArray<E>
A class to handle general multi-dimensional arrays.
|
class |
GeneralArray1<E> |
class |
IndirectIndexedSeq<E>
Wrap a List (or an indexed selection of it) as a Sequence.
|
class |
IntVector<E>
Simple adjustable-length vector of signed or unsigned 32-bit integers (ints).
|
class |
IString
A string implementation with contant-time codepoint indexing.
|
static class |
IString.SubString |
class |
LongVector<E>
Simple adjustable-length vector of signed or unsigned 64-bit integers (longs).
|
class |
PrimIntegerVector<E> |
class |
Range<E> |
static class |
Range.IntRange |
class |
S16Vector
Simple adjustable-length vector of signed 16-bit integers (shorts).
|
class |
S32Vector
Simple adjustable-length vector of signed 32-bit integers (ints).
|
class |
S64Vector
Simple adjustable-length vector of signed 64-bit integers (longs).
|
class |
S8Vector
Simple adjustable-length vector of signed 8-bit integers (bytes).
|
class |
ShortVector<E>
Simple adjustable-length vector of signed or unsigned 16-bit integers (shorts).
|
class |
SimpleVector<E>
A generic simple vector.
|
class |
TransformedArray<E>
Indexes are mapped.
|
class |
U16Vector
Simple adjustable-length vector of unsigned 16-bit integers (shorts).
|
class |
U32Vector
Simple adjustable-length vector of unsigned 32-bit integers (ints).
|
class |
U64Vector
Simple adjustable-length vector of unsigned 64-bit integers (longs).
|
class |
U8Vector
Simple adjustable-length vector of unsigned 8-bit integers (bytes).
|
Modifier and Type | Field and Description |
---|---|
protected Array<E> |
TransformedArray.base |
Modifier and Type | Method and Description |
---|---|
Array<E> |
AbstractSequence.asImmutable() |
Array<E> |
Array.asImmutable() |
static Array<java.lang.Integer> |
Arrays.asIntArrayOrNull(java.lang.Object obj) |
static Array |
GeneralArray.makeSimple(int[] lowBounds,
int[] dimensions,
SimpleVector base) |
Modifier and Type | Method and Description |
---|---|
static <E> void |
Arrays.copy(Array<E> dst,
Array<E> src) |
static <E> void |
Arrays.copy(Array<E> dst,
Array<E> src) |
static <E> void |
Arrays.fill(Array<E> arr,
E value) |
static <E> AVector<E> |
FlattenedArray.flatten(Array<E> array)
Created a shared flattened view of the argument.
|
static <E> SimpleVector<E> |
Arrays.flattenCopy(Array<E> arr,
boolean writable) |
static java.lang.Object |
ComposedArray.generalIndex(Array arr,
boolean shared,
int start,
int nindexes,
java.lang.Object[] indexes) |
static java.lang.Object |
ComposedArray.generalIndex(Array arr,
boolean shared,
java.lang.Object... indexes) |
static int[] |
Arrays.getDimensions(Array<?> arr) |
static int[] |
Arrays.getLowBounds(Array<?> arr) |
static <E> E |
Arrays.getRowMajor(Array<E> arr,
int index) |
static int |
Arrays.hashCode(Array arr) |
static void |
Arrays.incrementIndexes(int[] indexes,
Array<?> arr) |
static int |
Arrays.rowMajorToEffectiveIndex(Array arr,
int index) |
static <E> GeneralArray<E> |
Arrays.simpleCopy(Array<E> arr,
boolean writable) |
static void |
GeneralArray.toString(Array array,
java.lang.StringBuffer sbuf) |
Constructor and Description |
---|
AsSequence(Array base,
int rank,
int[] dims,
int[] lowBounds,
Array<java.lang.Integer>[] mappers) |
AsSequence(Array base,
int rank,
int[] dims,
int[] lowBounds,
Array<java.lang.Integer>[] mappers) |
ComposedArray(Array base,
int rank,
int[] dims,
int[] lowBounds,
Array<java.lang.Integer>[] mappers) |
ComposedArray(Array base,
int rank,
int[] dims,
int[] lowBounds,
Array<java.lang.Integer>[] mappers) |
FlattenedArray(Array<E> base) |
TransformedArray(Array<E> base) |
Modifier and Type | Class and Description |
---|---|
class |
ArgListVector |