|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.array.primitive.PAROrderDir
Configuration for ordering rules to impose onto the PrimitiveArray. This object, as a whole, is provided directly to the PrimitiveArrayRule constructor.
Source code: PAROrderDir.java
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
PAROrderDir()
Create a PAROrderDir with default settings. |
|
PAROrderDir(boolean b_directionAscDesc)
Create a PAROrderDir. |
|
PAROrderDir(boolean b_rdrd,
boolean b_directionAscDesc)
Create a PAROrderDir. |
Method Summary | |
protected Object |
clone()
Get a full (deep) copy of this PAROrderDir as an Object. |
boolean |
getDirectionAscDesc()
If ordering is required, in which direction must the order be?. |
PAROrderDir |
getPARODClone()
Get a full (deep) copy of this PAROrderDir. |
boolean |
isOrdered()
Is it required for the values in the array to be ordered? |
boolean |
isRestricted()
Does this PAROrderDir have any restrictions? |
String |
toString()
Get some information about this PAROrderDir. |
Methods inherited from class xbn.XBNObject |
getXMsgPrefix, sop, sopl, sopl, throwAX, throwAXIfBadStr, throwAXIfNull, throwAXSpoof |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PAROrderDir()
Create a PAROrderDir with default settings.
Equal to PAROrderDir(false, false)
public PAROrderDir(boolean b_directionAscDesc)
Create a PAROrderDir.
Equal to PAROrderDir(true, b_directionAscDesc)
public PAROrderDir(boolean b_rdrd, boolean b_directionAscDesc)
Create a PAROrderDir.
b_rdrd
- If true, then the array must be ordered, in the direction defined by b_orderAscDesc. If false, the array need not be ordered, and b_orderAscDesc parameter is ignored. See isOrdered.b_orderAscDesc
- When true, the array must be in ascending order (one to ten). If false, the array must be ordered in descending order (ten to one). If b_rdrd is false, this parameter is ignored. See getDirectionAscDesc.Method Detail |
public final boolean isOrdered()
Is it required for the values in the array to be ordered?
public final boolean getDirectionAscDesc()
If ordering is required, in which direction must the order be?. See isOrdered. This function is useless when isOrdered equals false.
public boolean isRestricted()
Does this PAROrderDir have any restrictions?
isOrdered()
public String toString()
Get some information about this PAROrderDir.
toString
in class Object
public final PAROrderDir getPARODClone()
Get a full (deep) copy of this PAROrderDir.
(PAROrderDir)clone()
protected Object clone() throws CloneNotSupportedException
Get a full (deep) copy of this PAROrderDir as an Object.
Equal to (new PAROrderDir(isOrdered(), getDirectionAscDesc()))
clone
in class Object
|
|||||||||
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