Searched refs:compareTo (Results 76 - 100 of 453) sorted by relevance

1234567891011>>

/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/HierarchicalLayout/src/com/sun/hotspot/igv/hierarchicallayout/
H A DClusterOutputSlotNode.java142 public int compareTo(Vertex o) { method in class:ClusterOutputSlotNode
143 return toString().compareTo(o.toString());
/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDHKeyPairGenerator.java176 } while ((x.compareTo(BigInteger.ONE) < 0) ||
177 ((x.compareTo(pMinus2) > 0)));
/openjdk7/jdk/src/share/classes/java/sql/
H A DTimestamp.java447 return compareTo(ts) < 0;
459 return compareTo(ts) > 0;
475 public int compareTo(Timestamp ts) { method in class:Timestamp
504 public int compareTo(java.util.Date o) { method in class:Timestamp
507 // Hence it is basically calling this.compareTo((Timestamp))o);
509 return compareTo((Timestamp)o);
511 // When Date doing a o.compareTo(this)
514 return this.compareTo(ts);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/output/
H A DC14nXmlOutput.java106 public int compareTo(StaticAttribute that) { method in class:C14nXmlOutput.StaticAttribute
107 return this.name.compareTo(that.name);
128 public int compareTo(DynamicAttribute that) { method in class:C14nXmlOutput.DynamicAttribute
129 int r = this.getURI().compareTo(that.getURI());
131 return this.localName.compareTo(that.localName);
210 if( p.compareTo(q) > 0 ) {
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DParser.java160 if (lookahead.ttype == ttype && lookahead.sval.compareTo(token) == 0) {
463 if (lookahead.sval.compareTo(DATA) == 0) {
465 } else if (lookahead.sval.compareTo(HEADER) == 0) {
467 } else if (lookahead.sval.compareTo(WIDTH) == 0) {
469 } else if (lookahead.sval.compareTo(FORMAT) == 0) {
471 } else if (lookahead.sval.compareTo(ALIGN) == 0) {
473 } else if (lookahead.sval.compareTo(SCALE) == 0) {
532 || (lookahead.sval.compareTo(START) != 0)) {
542 && (lookahead.sval.compareTo(option) == 0)) {
562 || (lookahead.sval.compareTo(STAR
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DComparableTimSort.java35 * comparator that simply returns {@code ((Comparable)first).compareTo(Second)}.
232 if (pivot.compareTo(a[mid]) < 0)
290 if (((Comparable) a[runHi++]).compareTo(a[lo]) < 0) { // Descending
291 while (runHi < hi && ((Comparable) a[runHi]).compareTo(a[runHi - 1]) < 0)
295 while (runHi < hi && ((Comparable) a[runHi]).compareTo(a[runHi - 1]) >= 0)
479 if (key.compareTo(a[base + hint]) > 0) {
482 while (ofs < maxOfs && key.compareTo(a[base + hint + ofs]) > 0) {
497 while (ofs < maxOfs && key.compareTo(a[base + hint - ofs]) <= 0) {
522 if (key.compareTo(a[base + m]) > 0)
549 if (key.compareTo(
[all...]
/openjdk7/jdk/test/sun/jvmstat/monitor/HostIdentifier/
H A DHostIdentifierCreate.java204 if (qName.compareTo("HostIdentifierTests") == 0) {
213 if (qName.compareTo("testcase") == 0) {
244 if (qName.compareTo("description") == 0) {
247 } else if (qName.compareTo("HostIdentifier") == 0) {
321 if (test_hostid_str.compareTo(expectedHostIdentifier) != 0) {
/openjdk7/jdk/src/share/classes/sun/jvmstat/monitor/
H A DHostIdentifier.java110 if ((uriString == null) || (uriString.compareTo("localhost") == 0)) {
246 if ((scheme != null) && (scheme.compareTo("file") == 0)) {
253 if ((host != null) && (host.compareTo(authority) == 0)) {
342 if ((scheme != null) && (scheme.compareTo("file") == 0)) {
347 if ((host != null) && (host.compareTo(authority) == 0)) {
/openjdk7/jdk/test/java/util/concurrent/ThreadPoolExecutor/
H A DScheduledTickleService.java39 // because of calls to compareTo
162 public int compareTo(Delayed other) { method in class:ScheduledTickleService.CustomRunnableScheduledFuture
166 return task.compareTo(((CustomRunnableScheduledFuture)other).task());
168 return task.compareTo(other);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/
H A DHighPrecisionJScrollBar.java100 if (value.compareTo(getMaximumHP()) > 0) {
102 } else if (value.compareTo(getMinimumHP()) < 0) {
107 if (getValueHP().add(getVisibleAmountHP()).compareTo(getMaximumHP()) >= 0 ) {
141 if (visibleAmount.compareTo(rangeHP) < 0) {
254 if (minimum.compareTo(maximum) > 0 ) {
261 if (rangeHP.compareTo(range2) >= 0 ) {
/openjdk7/jdk/src/share/classes/sun/awt/shell/
H A DShellFolder.java171 * @see #compareTo(Object)
173 public int compareTo(File file2) { method in class:ShellFolder
178 return super.compareTo(file2);
186 return getName().compareTo(file2.getName());
565 gt = ((Comparable) o1).compareTo(o2);
593 return sf1.compareTo(sf2);
610 return name1.compareTo(name2);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DSortingIterator.java139 while (x.compareTo(_data[--j]) < 0);
140 while (x.compareTo(_data[++i]) > 0);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DSystemDictionaryHelper.java74 return s1.asString().compareTo(s2.asString());
128 int cmp = midVal.getName().asString().compareTo(className);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DOSInfo.java167 public int compareTo(WindowsVersion o) { method in class:OSInfo.WindowsVersion
178 return obj instanceof WindowsVersion && compareTo((WindowsVersion) obj) == 0;
/openjdk7/jdk/src/share/classes/javax/naming/
H A DCompositeName.java320 public int compareTo(Object obj) { method in class:CompositeName
324 return impl.compareTo(((CompositeName)obj).impl);
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DBlockWidget.java136 public int compareTo(Vertex o) { method in class:BlockWidget
137 return toString().compareTo(o.toString());
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/
H A DElement.java99 public int compareTo(Element<?> o) { method in class:Element
100 return name.compareTo(o.name);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/property/
H A DAttributeProperty.java116 public int compareTo(AttributeProperty that) { method in class:AttributeProperty
117 return this.attName.compareTo(that.attName);
/openjdk7/jdk/test/java/math/BigDecimal/
H A DZeroScalingTests.java120 result.compareTo(element) != 0) {
129 result.compareTo(element) != 0) {
138 result.compareTo(element.negate()) != 0) {
147 result.compareTo(element.negate()) != 0) {
222 result.compareTo(element) != 0) {
231 result.compareTo(element.negate()) != 0) {
240 result.compareTo(element.negate()) != 0) {
249 result.compareTo(element) != 0) {
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DRelativePath.java61 public int compareTo(RelativePath other) { method in class:RelativePath
62 return path.compareTo(other.path);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DSession.java73 public int compareTo(Session other) { method in class:Session
182 public int compareTo(SessionRef other) { method in class:SessionRef
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAKeyPairGenerator.java94 if (tmpPublicExponent.compareTo(RSAKeyGenParameterSpec.F0) < 0) {
134 if (p.compareTo(q) < 0) {
/openjdk7/jdk/test/java/util/Arrays/
H A DCorrect.java76 if (((Comparable)a1[y]).compareTo((Comparable)lowest) < 0) {
99 return c1.compareTo(c2);
/openjdk7/jdk/test/java/util/TreeMap/
H A DNullPermissiveComparator.java49 ((Comparable)x).compareTo(y); }};
56 ((Comparable)x).compareTo(y); }};
/openjdk7/jdk/test/java/util/concurrent/ScheduledThreadPoolExecutor/
H A DDecorateTask.java77 public int compareTo(Delayed o) {
78 return task.compareTo(o);

Completed in 421 milliseconds

1234567891011>>