Searched refs:compareTo (Results 151 - 175 of 453) sorted by relevance

1234567891011>>

/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DDocImpl.java271 public int compareTo(Object obj) { method in class:DocImpl
272 // System.out.println("COMPARE \"" + this + "\" to \"" + obj + "\" = " + key().compareTo(((DocImpl)obj).key()));
273 return key().compareTo(((DocImpl)obj).key());
H A DSerialFieldTagImpl.java259 public int compareTo(Object obj) { method in class:SerialFieldTagImpl
260 return key().compareTo(((SerialFieldTagImpl)obj).key());
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DTokenTracker.java98 if (entry.compareTo(number) <= 0)
374 final int compareTo(int number) { method in class:TokenTracker.Entry
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DKeyUtil.java192 if (y.compareTo(leftOpen) <= 0) {
196 if (y.compareTo(rightOpen) >= 0) {
/openjdk7/jdk/test/javax/management/ObjectName/
H A DComparatorTest.java27 * @summary Test the ObjectName.compareTo() method.
82 int result = o1.compareTo(o2);
157 System.out.println("Test ObjectName.compareTo(null)");
159 new ObjectName("d:k=v").compareTo(null);
/openjdk7/jdk/test/sun/rmi/log/ReliableLog/
H A DRecovery.java154 && recovered.compareTo(sacr) == 0)
159 && recovered.compareTo(sacr + f) == 0)
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DXMLString.java137 * @see java.lang.String#compareTo(java.lang.String)
152 * @see java.lang.String#compareTo(java.lang.String)
167 * @see java.lang.String#compareTo(java.lang.String)
201 public abstract int compareTo(XMLString anotherString); method in interface:XMLString
206 * <code>this.toUpperCase().toLowerCase().compareTo(
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DDoubleValueImpl.java48 public int compareTo(DoubleValue doubleVal) { method in class:DoubleValueImpl
/openjdk7/jdk/src/share/classes/java/lang/
H A DByte.java420 public int compareTo(Byte anotherByte) { method in class:Byte
428 * Byte.valueOf(x).compareTo(Byte.valueOf(y))
/openjdk7/jdk/src/share/classes/java/security/spec/
H A DEllipticCurve.java56 if (p.compareTo(c) != 1) {
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/server/
H A DAllRootsQuery.java64 return left.getDescription().compareTo(right.getDescription());
H A DHistogramQuery.java58 return first.getName().compareTo(second.getName());
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/util/
H A DArraySorter.java45 * return ((String) lhs).compareTo((String) rhs);
64 * Sort an array of strings, using String.compareTo()
69 return ((String) lhs).compareTo((String) rhs);
H A DVectorSorter.java45 * return ((String) lhs).compareTo((String) rhs);
65 * Sort a vector of strings, using String.compareTo()
70 return ((String) lhs).compareTo((String) rhs);
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DDoubleValueImpl.java49 public int compareTo(DoubleValue obj) { method in class:DoubleValueImpl
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/
H A DPolicyMerger.java82 if (mergedVersion.compareTo(policy.getNamespaceVersion()) < 0) {
/openjdk7/jdk/test/java/io/Serializable/subclass/
H A DTest.java121 argv[0].compareTo("-expectSecurityException") == 0)
/openjdk7/jdk/test/java/math/BigDecimal/
H A DCompareToTests.java27 * @summary Tests of BigDecimal.compareTo
39 // First operand, second operand, expected compareTo result
82 int result = a.compareTo(b);
85 System.err.println("(" + a + ").compareTo(" + b + ") => " + result +
98 " failures while testing exact compareTo.");
/openjdk7/jdk/test/java/math/BigInteger/
H A DCompareToTests.java27 * @summary Tests of BigDecimal.compareTo
39 // First operand, second operand, expected compareTo result
82 int result = a.compareTo(b);
85 System.err.println("(" + a + ").compareTo(" + b + ") => " + result +
98 " failures while testing exact compareTo.");
/openjdk7/jdk/test/java/util/concurrent/DelayQueue/
H A DIterate.java38 public int compareTo(Delayed other) {return 0;} method in class:Iterate.Godot
/openjdk7/jdk/test/javax/naming/ldap/LdapName/
H A DCompareToEqualsTests.java36 * Tests for LdapName/Rdn compareTo, equals and hashCode methods.
99 int result = name1.compareTo(name2);
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DMonitoredVmUtil.java85 } else if (commandLine.compareTo("Unknown") == 0) {
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DNodeSortRecord.java209 public int compareTo(NodeSortRecord other) { method in class:NodeSortRecord
220 cmp = our.compareTo(their);
225 cmp = our.compareTo(their);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/datatype/
H A DDurationImpl.java729 if (years != null && years.compareTo(maxintAsBigInteger) == 1) {
738 if (months != null && months.compareTo(maxintAsBigInteger) == 1) {
748 if (days != null && days.compareTo(maxintAsBigInteger) == 1) {
758 if (hours != null && hours.compareTo(maxintAsBigInteger) == 1) {
768 if (minutes != null && minutes.compareTo(maxintAsBigInteger) == 1) {
778 if (seconds != null && seconds.toBigInteger().compareTo(maxintAsBigInteger) == 1) {
791 if (rhsYears != null && rhsYears.compareTo(maxintAsBigInteger) == 1) {
802 if (rhsMonths != null && rhsMonths.compareTo(maxintAsBigInteger) == 1) {
813 if (rhsDays != null && rhsDays.compareTo(maxintAsBigInteger) == 1) {
824 if (rhsHours != null && rhsHours.compareTo(maxintAsBigIntege
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DJavaObject.java132 public int compareTo(JavaThing other) { method in class:JavaObject
135 return getClazz().getName().compareTo(oo.getClazz().getName());
137 return super.compareTo(other);

Completed in 172 milliseconds

1234567891011>>