|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucdavis.rj.Ops.InniArm.By
edu.ucdavis.rj.Ops.Common
edu.ucdavis.rj.Ops.Common.Largest
public static class Common.Largest
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.ucdavis.rj.Ops.Common |
---|
Common.Largest, Common.Smallest |
Field Summary |
---|
Fields inherited from class edu.ucdavis.rj.Ops.Common |
---|
exprPos |
Fields inherited from class edu.ucdavis.rj.Ops.InniArm.By |
---|
q |
Constructor Summary | |
---|---|
Common.Largest(int exprPos)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Comparable o1,
java.lang.Comparable o2)
Comparison method used to compare two invocations' ranks. |
java.lang.Comparable |
expr(Invocation inv)
Expression applied to an invocation to determine the invocation's `rank'. |
Methods inherited from class edu.ucdavis.rj.Ops.InniArm.By |
---|
setQuantifiers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Common.Largest(int exprPos)
Method Detail |
---|
public java.lang.Comparable expr(Invocation inv)
InniArm.By
expr
in class InniArm.By
inv
- The invocation.
public int compareTo(java.lang.Comparable o1, java.lang.Comparable o2)
InniArm.By
InniArm.By.expr(edu.ucdavis.rj.Ops.Invocation)
.
This method may be overridden, but generally it won't need to be.
(But, see Common.Largest
).
compareTo
in class InniArm.By
o1
- First rank.o2
- Second rank.
compareTo
((@link Comparable#compareTo}}.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |