|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.filter.BooleanComparer
public class BooleanComparer
Comparer the Boolean data.
| Field Summary |
|---|
| Fields inherited from interface inetsoft.report.Comparer |
|---|
NEGATIVE_DOUBLE_ERROR, NEGATIVE_FLOAT_ERROR, POSITIVE_DOUBLE_ERROR, POSITIVE_FLOAT_ERROR |
| Constructor Summary | |
|---|---|
BooleanComparer()
Create a boolean comparer. |
|
| Method Summary | |
|---|---|
int |
compare(double v1,
double v2)
This method should return > 0 if v1 is greater than v2, 0 if v1 is equal to v2, or < 0 if v1 is less than v2. |
int |
compare(float v1,
float v2)
This method should return > 0 if v1 is greater than v2, 0 if v1 is equal to v2, or < 0 if v1 is less than v2. |
int |
compare(int v1,
int v2)
This method should return > 0 if v1 is greater than v2, 0 if v1 is equal to v2, or < 0 if v1 is less than v2. |
int |
compare(long v1,
long v2)
This method should return > 0 if v1 is greater than v2, 0 if v1 is equal to v2, or < 0 if v1 is less than v2. |
int |
compare(Object v1,
Object v2)
If v1 and v2 are both Boolean, 0 is returned if they are both true or false, if v1 is true v2 is false >0 is returned, if v1 is true v2 is false <0 is returned. |
int |
compare(short v1,
short v2)
This method should return > 0 if v1 is greater than v2, 0 if v1 is equal to v2, or < 0 if v1 is less than v2. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public BooleanComparer()
| Method Detail |
|---|
public int compare(Object v1,
Object v2)
compare in interface Comparercompare in interface Comparatorv1 - comparison value.v2 - comparison value.
public int compare(double v1,
double v2)
compare in interface Comparerv1 - comparison value.v2 - comparison value.
public int compare(float v1,
float v2)
compare in interface Comparerv1 - comparison value.v2 - comparison value.
public int compare(long v1,
long v2)
compare in interface Comparerv1 - comparison value.v2 - comparison value.
public int compare(int v1,
int v2)
compare in interface Comparerv1 - comparison value.v2 - comparison value.
public int compare(short v1,
short v2)
compare in interface Comparerv1 - comparison value.v2 - comparison value.
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||