|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.array.ArrayProtector
The base class for protecting an array, by only allowing access to its elements.
Source code: ArrayProtector.java
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
ArrayProtector()
Create an ArrayProtector. |
Method Summary | |
abstract int |
getLength()
How many elements exist in the array-being-protected? |
String |
getList()
Get a listing of every item in this ArrayProtector. |
String |
getList(String s_divider)
Get a listing of every item in this ArrayProtector. |
String |
getList(String s_prefix,
String s_postfix)
Get a listing of every item in this ArrayProtector. |
String |
getList(String s_prefix,
String s_divider,
String s_postfix)
Get a listing of every item in this ArrayProtector. |
PASArrayProtector |
getPASArrayProtector()
|
abstract String |
getString(int i_dx)
|
abstract boolean |
isNull()
As a whole, is the array-being-protected null? |
abstract boolean |
isNull(int i_dx)
|
abstract String |
toString()
Get some information about this ArrayProtector. |
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, wait, wait, wait |
Constructor Detail |
public ArrayProtector()
Create an ArrayProtector. This constructor does nothing.
Method Detail |
public abstract boolean isNull()
As a whole, is the array-being-protected null?
public abstract int getLength()
How many elements exist in the array-being-protected?
[the internal array].length
AssertException
- If isNull equals true.public abstract String toString()
Get some information about this ArrayProtector.
toString
in class Object
public abstract String getString(int i_dx)
public abstract boolean isNull(int i_dx)
public final PASArrayProtector getPASArrayProtector()
public String getList()
Get a listing of every item in this ArrayProtector.
(new ListPA()).get(getPASArrayProtector())
public String getList(String s_divider)
Get a listing of every item in this ArrayProtector.
(new ListPA(s_divider)).get(getPASArrayProtector())
public String getList(String s_prefix, String s_postfix)
Get a listing of every item in this ArrayProtector.
(new ListPA(s_prefix, s_postfix)).get(getPASArrayProtector())
public String getList(String s_prefix, String s_divider, String s_postfix)
Get a listing of every item in this ArrayProtector.
(new ListPA(s_prefix, s_divider, s_postfix)).get(getPASArrayProtector())
|
|||||||||
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