|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xbn.XBNObject | +--xbn.array.CAConfig
Manges configuration for CompareArrays. See CompareArrays
Source code: CAConfig.java
Fields inherited from class xbn.XBNObject |
bFALSE_IN_PRODUCTION, bTRUE_IN_PRODUCTION, sCNSTR, sES, sLINE_SEP |
Constructor Summary | |
|
CAConfig()
Create a CAConfig with default settings. |
|
CAConfig(boolean b_missingOk)
Create a CAConfig. |
|
CAConfig(boolean b_missingOk,
boolean b_extraOk)
Create a CAConfig. |
protected |
CAConfig(boolean b_missingOk,
boolean b_extraOk,
boolean b_orderingRqd,
boolean b_orderDirSameOpp)
Create a CACAtLeast. |
Method Summary | |
boolean |
getOrderDirSameOpp()
In which direction should the actual values be ordered? |
boolean |
isExtraOk()
Is it legal for extra values to be provided? |
boolean |
isMissingOk()
Is it legal for required values to be missing? |
boolean |
isOrderingRqd()
Is it required for the actual values to be in the same/opposite order as the required values? |
String |
toString()
Get some information about this CAConfig. |
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 CAConfig()
Create a CAConfig with default settings.
Equal to CAConfig(true)
public CAConfig(boolean b_missingOk)
Create a CAConfig.
Equal to CAConfig(b_missingOk, true)
public CAConfig(boolean b_missingOk, boolean b_extraOk)
Create a CAConfig.
Equal to CAConfig(b_missingOk, b_extraOk, false, false)
protected CAConfig(boolean b_missingOk, boolean b_extraOk, boolean b_orderingRqd, boolean b_orderDirSameOpp)
Create a CACAtLeast.
This constructor is publically available in CACExact.
b_missingOk
- If any required values are missing, is this okay? If true, yes. If false, no. See isMissingOk.b_extraOk
- If any extra (non-required) values are provided, is this okay? If true, yes. If false, no. See isExtraOk.b_orderingRqd
- Must the actual values be ordered in the same or opposite way as the required values? If true, yes (b_orderDirSameOpp defines the direction). If false, no. When (b_orderDirSameOpp is ignored). See isOrderingRqd.b_orderDirSameOpp
- When ordering is required, which direction--in relation to the required values--should the actual values be? If true, the actual values must be in the same order as the required values. If false, the actual values must be in the opposite order as the required values. When b_orderingRqd equals false, this parameter is ignored. See getOrderDirSameOpp.Method Detail |
public final boolean isMissingOk()
Is it legal for required values to be missing?
public final boolean isExtraOk()
Is it legal for extra values to be provided?
public final boolean isOrderingRqd()
Is it required for the actual values to be in the same/opposite order as the required values?
When true, the order direction is determined by getOrderDirSameOpp.
public final boolean getOrderDirSameOpp()
In which direction should the actual values be ordered?
This value is ignored when isOrderingRqd equals false.
public String toString()
Get some information about this CAConfig.
toString
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