|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.armedbear.lisp.Lisp
org.armedbear.lisp.LispObject
org.armedbear.lisp.AbstractArray
public abstract class AbstractArray
Field Summary |
---|
Constructor Summary | |
---|---|
AbstractArray()
|
Method Summary | |
---|---|
abstract AbstractArray |
adjustArray(int[] dims,
AbstractArray displacedTo,
int displacement)
|
abstract AbstractArray |
adjustArray(int[] dims,
LispObject initialElement,
LispObject initialContents)
Returns a newly allocated array or the current array with adjusted dimensions. |
LispObject |
arrayDisplacement()
|
abstract void |
aset(int index,
LispObject newValue)
|
protected static int |
computeTotalSize(int[] dimensions)
|
boolean |
equalp(LispObject obj)
|
abstract void |
fill(LispObject obj)
|
LispObject |
get(int[] subscripts)
|
abstract int |
getDimension(int n)
|
abstract LispObject |
getDimensions()
|
abstract LispObject |
getElementType()
|
int |
getFillPointer()
|
abstract int |
getRank()
|
int |
getRowMajorIndex(int[] subscripts)
|
int |
getRowMajorIndex(LispObject[] subscripts)
|
abstract int |
getTotalSize()
|
boolean |
hasFillPointer()
|
boolean |
isAdjustable()
|
boolean |
isDisplaced()
|
int |
psxhash()
|
void |
set(int[] subscripts,
LispObject newValue)
|
void |
setFillPointer(int fillPointer)
|
void |
setFillPointer(LispObject fillPointer)
|
LispObject |
typep(LispObject type)
|
java.lang.String |
writeToString(int[] dimv)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractArray()
Method Detail |
---|
public LispObject typep(LispObject type) throws ConditionThrowable
typep
in class LispObject
ConditionThrowable
public boolean equalp(LispObject obj) throws ConditionThrowable
equalp
in class LispObject
ConditionThrowable
public boolean isDisplaced()
public LispObject arrayDisplacement() throws ConditionThrowable
ConditionThrowable
public boolean hasFillPointer()
public int getFillPointer() throws ConditionThrowable
ConditionThrowable
public void setFillPointer(LispObject fillPointer) throws ConditionThrowable
ConditionThrowable
public void setFillPointer(int fillPointer) throws ConditionThrowable
ConditionThrowable
public boolean isAdjustable()
public abstract int getRank()
public abstract LispObject getDimensions()
public abstract int getDimension(int n) throws ConditionThrowable
ConditionThrowable
public abstract LispObject getElementType()
public abstract int getTotalSize()
public abstract void aset(int index, LispObject newValue) throws ConditionThrowable
aset
in class LispObject
ConditionThrowable
protected static final int computeTotalSize(int[] dimensions)
public int getRowMajorIndex(LispObject[] subscripts) throws ConditionThrowable
ConditionThrowable
public int getRowMajorIndex(int[] subscripts) throws ConditionThrowable
ConditionThrowable
public LispObject get(int[] subscripts) throws ConditionThrowable
ConditionThrowable
public void set(int[] subscripts, LispObject newValue) throws ConditionThrowable
ConditionThrowable
public abstract void fill(LispObject obj) throws ConditionThrowable
ConditionThrowable
public java.lang.String writeToString(int[] dimv) throws ConditionThrowable
ConditionThrowable
public int psxhash()
psxhash
in class LispObject
public abstract AbstractArray adjustArray(int[] dims, LispObject initialElement, LispObject initialContents) throws ConditionThrowable
dims
- initialElement
- @c null if noneinitialContents
- @c null if none
ConditionThrowable
public abstract AbstractArray adjustArray(int[] dims, AbstractArray displacedTo, int displacement) throws ConditionThrowable
dims
- displacedTo
- displacement
-
ConditionThrowable
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |