|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.util.XBNLocked | +--xbn.array.primitive.PrimitiveArray | +--xbn.array.primitive.PrimitiveArrayString | +--xbn.array.primitive.PASObject | +--xbn.array.PASArrayProtector
A PrimitiveArrayString that wraps around an ArrayProtector. See ArrayProtector.
Source code: PASArrayProtector.java.
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
PASArrayProtector()
Create a PASArrayProtector with default values. |
|
PASArrayProtector(ArrayProtector array_protector)
Create a PASArrayProtector. |
|
PASArrayProtector(ArrayProtector array_protector,
PARString par_string)
Create a PASArrayProtector. |
|
PASArrayProtector(String s_fqExtendingClass,
ArrayProtector array_protector)
Create a PASArrayProtector. |
|
PASArrayProtector(String s_fqExtendingClass,
ArrayProtector array_protector,
PARString par_string)
Create a PASArrayProtector. |
Method Summary | |
ArrayProtector |
getArrayProtector()
Get the object for direct manipulation. |
int |
getLength()
How many items exist in this PrimitiveArray? |
String |
getString(int i_dx)
Get the element at the requested array index, as a string. |
boolean |
isNull(int i_dx)
Is the [thing] at the requested array index null? |
Methods inherited from class xbn.array.primitive.PASObject |
getObject, isNull |
Methods inherited from class xbn.array.primitive.PrimitiveArrayString |
areLmntsEqual, areLmntsEqual, getPARString, isValid |
Methods inherited from class xbn.array.primitive.PrimitiveArray |
areLmntsEqual, crashIfBad, crashIfBad, declareNoViolation, getFQClassName, getList, getList, getList, getList, getNewAOSOBString, getNewAOSOBStringBuffer, getNewAOString, getPAViolation, getPrimitiveArrayRule, getSOBString, getSOBStringBuffer, isValid, setPAViolation, throwAXIllegal, throwLmntsEqualAioobx, wasValidated |
Methods inherited from class xbn.util.XBNLocked |
throwLX, throwLX, throwLXIfLocked, throwLXIfLocked, throwLXIfLocked, throwLXIfUnlocked |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PASArrayProtector()
Create a PASArrayProtector with default values.
Equal to PASArrayProtector(null)
public PASArrayProtector(ArrayProtector array_protector)
Create a PASArrayProtector.
Equal to PASArrayProtector("xbn.array.primitive.PASArrayProtector", array_protector)
public PASArrayProtector(String s_fqExtendingClass, ArrayProtector array_protector)
Create a PASArrayProtector.
Equal to PASArrayProtector(s_fqExtendingClass, array_protector, (new PARString())))
public PASArrayProtector(ArrayProtector array_protector, PARString par_string)
Create a PASArrayProtector.
Equal to PASArrayProtector("xbn.array.primitive.PASArrayProtector", array_protector, par_string)
public PASArrayProtector(String s_fqExtendingClass, ArrayProtector array_protector, PARString par_string)
Create a PASArrayProtector.
Equal to PrimitiveArrayString(s_fqExtendingClass, par_string)
Method Detail |
public final ArrayProtector getArrayProtector()
Get the object for direct manipulation.
public final String getString(int i_dx)
PrimitiveArray
Get the element at the requested array index, as a string.
getString
in class PrimitiveArray
xbn.array.primitive.PrimitiveArray
i_dx
- The array index. Must range 0..[getLength() - 1]
, inclusive.AssertException
- If isNull equals true.public final int getLength()
PrimitiveArray
How many items exist in this PrimitiveArray?
getLength
in class PrimitiveArray
xbn.array.primitive.PrimitiveArray
AssertException
- If isNull equals true.public final boolean isNull(int i_dx)
PrimitiveArray
Is the [thing] at the requested array index null?
isNull
in class PrimitiveArray
xbn.array.primitive.PrimitiveArray
i_dx
- The array index. Must range 0..[getLength() - 1]
, inclusiveAssertException
- If isNull equals true.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1997-2003, Jeff Epstein, All Rights Reserved. See top of source code files for copyright notice.
http://sourceforge.net/projects/xbnjava