org.armedbear.lisp
Class SimpleArray_UnsignedByte16

java.lang.Object
  extended by org.armedbear.lisp.LispObject
      extended by org.armedbear.lisp.AbstractArray
          extended by org.armedbear.lisp.SimpleArray_UnsignedByte16
All Implemented Interfaces:
java.io.Serializable

public final class SimpleArray_UnsignedByte16
extends AbstractArray

See Also:
Serialized Form

Constructor Summary
SimpleArray_UnsignedByte16(int[] dimv)
           
SimpleArray_UnsignedByte16(int[] dimv, LispObject initialContents)
           
SimpleArray_UnsignedByte16(int rank, LispObject initialContents)
           
 
Method Summary
 AbstractArray adjustArray(int[] dimv, AbstractArray displacedTo, int displacement)
           
 AbstractArray adjustArray(int[] dimv, LispObject initialElement, LispObject initialContents)
          Returns a newly allocated array or the current array with adjusted dimensions.
 int aref(int index)
           
 LispObject AREF(int index)
           
 void aset(int index, LispObject obj)
           
 LispObject classOf()
           
 void fill(LispObject obj)
           
 LispObject get(int[] subscripts)
           
 int getDimension(int n)
           
 LispObject getDimensions()
           
 LispObject getElementType()
           
 int getRank()
           
 int getRowMajorIndex(int[] subscripts)
           
 int getTotalSize()
           
 boolean isAdjustable()
           
 void set(int[] subscripts, LispObject obj)
           
 LispObject typeOf()
           
 LispObject typep(LispObject typeSpecifier)
           
 java.lang.String writeToString()
           
 
Methods inherited from class org.armedbear.lisp.AbstractArray
arrayDisplacement, computeTotalSize, equalp, getFillPointer, getRowMajorIndex, hasFillPointer, isDisplaced, psxhash, setFillPointer, setFillPointer, writeToString
 
Methods inherited from class org.armedbear.lisp.LispObject
ABS, add, add, aref_long, AREF, aset, aset, ash, ash, atom, ATOM, caddr, cadr, car, cddr, cdr, CHAR, characterp, CHARACTERP, chars, COMPLEXP, constantp, CONSTANTP, copyToArray, decr, DENOMINATOR, dispatch, divideBy, doubleValue, elt, endp, ENDP, EQ, eql, eql, eql, EQL, equal, equal, EQUAL, equalp, evenp, EVENP, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, floatp, FLOATP, floatValue, getBooleanValue, getCallCount, getDescription, getDocumentation, getFixnumSlotValue, getHotCount, getInstance, getParts, getPropertyList, getSlotValue_0, getSlotValue_1, getSlotValue_2, getSlotValue_3, getSlotValue, getSlotValueAsBoolean, getStringChars, getStringValue, getSymbolFunction, getSymbolFunctionOrDie, getSymbolSetfFunction, getSymbolSetfFunctionOrDie, getSymbolValue, incr, incrementCallCount, incrementHotCount, integerp, INTEGERP, intValue, IS_E, IS_GE, IS_GT, IS_LE, IS_LT, IS_NE, isEqualTo, isEqualTo, isGreaterThan, isGreaterThan, isGreaterThanOrEqualTo, isGreaterThanOrEqualTo, isLessThan, isLessThan, isLessThanOrEqualTo, isLessThanOrEqualTo, isNotEqualTo, isNotEqualTo, isSpecialOperator, isSpecialVariable, javaInstance, javaInstance, LDB, length, LENGTH, listp, LISTP, lockableInstance, LOGAND, LOGAND, LOGIOR, LOGIOR, LOGNOT, LOGXOR, LOGXOR, longValue, minusp, MINUSP, MOD, MOD, multiplyBy, multiplyBy, negate, noFillPointer, NOT, nreverse, NTH, NTH, nthcdr, numberp, NUMBERP, NUMERATOR, oddp, ODDP, plusp, PLUSP, psxhash, push, rationalp, RATIONALP, realp, REALP, resolve, reverse, RPLACA, RPLACD, SCHAR, setCallCount, setCar, setCdr, setDocumentation, setHotCount, setPropertyList, setSlotValue_0, setSlotValue_1, setSlotValue_2, setSlotValue_3, setSlotValue, setSlotValue, SIMPLE_STRING_P, SLOT_VALUE, STRING, stringp, STRINGP, subtract, subtract, SVREF, svset, sxhash, SYMBOLP, truncate, unreadableString, unreadableString, unreadableString, unreadableString, VECTOR_PUSH_EXTEND, VECTOR_PUSH_EXTEND, vectorp, VECTORP, vectorPushExtend, zerop, ZEROP
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleArray_UnsignedByte16

public SimpleArray_UnsignedByte16(int[] dimv)

SimpleArray_UnsignedByte16

public SimpleArray_UnsignedByte16(int[] dimv,
                                  LispObject initialContents)

SimpleArray_UnsignedByte16

public SimpleArray_UnsignedByte16(int rank,
                                  LispObject initialContents)
Method Detail

typeOf

public LispObject typeOf()
Overrides:
typeOf in class LispObject

classOf

public LispObject classOf()
Overrides:
classOf in class LispObject

typep

public LispObject typep(LispObject typeSpecifier)
Overrides:
typep in class AbstractArray

getRank

public int getRank()
Specified by:
getRank in class AbstractArray

getDimensions

public LispObject getDimensions()
Specified by:
getDimensions in class AbstractArray

getDimension

public int getDimension(int n)
Specified by:
getDimension in class AbstractArray

getElementType

public LispObject getElementType()
Specified by:
getElementType in class AbstractArray

getTotalSize

public int getTotalSize()
Specified by:
getTotalSize in class AbstractArray

isAdjustable

public boolean isAdjustable()
Overrides:
isAdjustable in class AbstractArray

aref

public int aref(int index)
Overrides:
aref in class LispObject

AREF

public LispObject AREF(int index)
Overrides:
AREF in class LispObject

aset

public void aset(int index,
                 LispObject obj)
Specified by:
aset in class AbstractArray

getRowMajorIndex

public int getRowMajorIndex(int[] subscripts)
Overrides:
getRowMajorIndex in class AbstractArray

get

public LispObject get(int[] subscripts)
Overrides:
get in class AbstractArray

set

public void set(int[] subscripts,
                LispObject obj)
Overrides:
set in class AbstractArray

fill

public void fill(LispObject obj)
Specified by:
fill in class AbstractArray

writeToString

public java.lang.String writeToString()
Overrides:
writeToString in class LispObject

adjustArray

public AbstractArray adjustArray(int[] dimv,
                                 LispObject initialElement,
                                 LispObject initialContents)
Description copied from class: AbstractArray
Returns a newly allocated array or the current array with adjusted dimensions.

Specified by:
adjustArray in class AbstractArray
initialElement - @c null if none
initialContents - @c null if none
Returns:
@c this or a new array

adjustArray

public AbstractArray adjustArray(int[] dimv,
                                 AbstractArray displacedTo,
                                 int displacement)
Specified by:
adjustArray in class AbstractArray
Returns: