Searched defs:compare (Results 26 - 50 of 134) sorted by relevance

123456

/openjdk7/jdk/src/share/classes/java/util/
H A DObjects.java162 * c.compare(a, b)} otherwise.
174 * @param c the {@code Comparator} to compare the first two arguments
176 * c.compare(a, b)} otherwise.
180 public static <T> int compare(T a, T b, Comparator<? super T> c) { method in class:Objects
181 return (a == b) ? 0 : c.compare(a, b);
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/c14n/helper/
H A DAttrCompare.java71 public int compare(Object obj0, Object obj1) { method in class:AttrCompare
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/server/
H A DFinalizerSummaryQuery.java60 public int compare(HistogramElement other) { method in class:FinalizerSummaryQuery.HistogramElement
112 public int compare(HistogramElement o1, HistogramElement o2) {
113 return o1.compare(o2);
/openjdk7/hotspot/src/share/vm/utilities/
H A Dhistogram.cpp50 int HistogramElement::compare(HistogramElement* e1,HistogramElement* e2) { function in class:HistogramElement
67 return (*e1)->compare(*e1,*e2);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/
H A DHeaders.java78 public int compare(String o1, String o2) { method in class:Headers.InsensitiveComparator
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/util/
H A DVersionUtil.java135 public static int compare(String version1, String version2) { method in class:VersionUtil
/openjdk7/jdk/test/com/sun/net/httpserver/
H A DTest12.java162 compare (new File(orig), temp);
171 /* compare the contents of the two files */
173 static void compare (File f1, File f2) throws IOException { method in class:Test12
182 throw new RuntimeException ("file compare failed 1");
186 throw new RuntimeException ("file compare failed 2");
H A DTest13.java169 compare (new File(orig), temp);
178 /* compare the contents of the two files */
180 static void compare (File f1, File f2) throws IOException { method in class:Test13
189 throw new RuntimeException ("file compare failed 1");
193 throw new RuntimeException ("file compare failed 2");
H A DTest3.java150 if (!compare (s, result)) {
155 static boolean compare (String s, String result) { method in class:Test3
H A DTest4.java148 if (!compare (s, result)) {
153 static boolean compare (String s, String result) { method in class:Test4
H A DTest5.java147 if (!compare (s, result)) {
152 static boolean compare (String s, String result) { method in class:Test5
H A DTest9.java183 compare (new File(orig), temp);
191 /* compare the contents of the two files */
193 static void compare (File f1, File f2) throws IOException { method in class:Test9
202 throw new RuntimeException ("file compare failed 1");
206 throw new RuntimeException ("file compare failed 2");
H A DTest9a.java176 compare (new File(orig), temp);
184 /* compare the contents of the two files */
186 static void compare (File f1, File f2) throws IOException { method in class:Test9a
195 throw new RuntimeException ("file compare failed 1");
199 throw new RuntimeException ("file compare failed 2");
/openjdk7/jdk/src/share/classes/sun/tools/jcmd/
H A DJCmd.java221 * Class to compare two Monitor objects by name in ascending order.
226 public int compare(Monitor m1, Monitor m2) { method in class:JCmd.AscendingMonitorComparator
/openjdk7/jdk/test/javax/sound/midi/Gervill/ModelByteBufferWavetable/
H A DSet8BitExtensionBuffer.java83 static float compare(float[] a, float[] b) method in class:Set8BitExtensionBuffer
109 float spec1 = compare(f1, testarray);
110 float spec2 = compare(f2, testarray);
/openjdk7/langtools/test/tools/javah/6572945/
H A DT6572945.java132 // so compare will update the golden files on the fly before the
134 compare(new File(new File(testSrc, "gold"), out.getName()), out);
165 void compare(File f1, File f2) { method in class:T6572945
166 compare(f1, f2, null);
174 void compare(File f1, File f2, String p) { method in class:T6572945
177 System.out.println("compare " + f1p + " " + f2p);
183 compare(f1, f2, new File(p, c).getPath()); // null-safe for p
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dv/xs/
H A DFloatDV.java53 public int compare(Object value1, Object value2){ method in class:FloatDV
55 }//compare()
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/
H A DObjectHistogramElement.java49 public int compare(ObjectHistogramElement other) { method in class:ObjectHistogramElement
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DIntervalTree.java118 public int compare(Object o1, Object o2) { method in class:IntervalTree.IntervalComparator
121 return endpointComparator.compare(i1.getLowEndpoint(), i2.getLowEndpoint());
137 (endpointComparator.compare(left.getMaxEndpoint(),
150 (endpointComparator.compare(interval.getHighEndpoint(),
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDefaultFocusManager.java147 return (comparator.compare(a, b) < 0);
166 public int compare(Component o1, Component o2) { method in class:CompareTabOrderComparator
/openjdk7/jdk/src/share/classes/javax/swing/table/
H A DTableRowSorter.java304 public int compare(Object o1, Object o2) { method in class:TableRowSorter.ComparableComparator
/openjdk7/jdk/src/share/classes/java/lang/
H A DBoolean.java207 * @param obj the object to compare with.
258 return compare(this.value, b.value);
268 * @param x the first {@code boolean} to compare
269 * @param y the second {@code boolean} to compare
275 public static int compare(boolean x, boolean y) { method in class:Boolean
/openjdk7/jdk/src/share/classes/java/net/
H A DCookieManager.java429 public int compare(HttpCookie c1, HttpCookie c2) { method in class:CookieManager.CookiePathComparator
/openjdk7/jdk/src/share/classes/java/text/
H A DRuleBasedCollator.java156 * This allows you to use a RuleBasedCollator to compare accented strings
254 // need to be preserved in these objects between calls to compare() or
256 // creation time. compare() and getCollationKey() are synchronized to ensure
348 public synchronized int compare(String source, String target) method in class:RuleBasedCollator
355 // to step through both the source and target strings. We compare each
757 // be created/destroyed on every call to compare() and getCollationKey()
/openjdk7/jdk/test/com/sun/jdi/
H A DCompatibleConnectors.java232 // compare the actual list of Connectors against the
234 static void compare(Object[][] prev, List list) { method in class:CompatibleConnectors
280 compare(attachingConnectors(), vmm.attachingConnectors());
281 compare(listeningConnectors(), vmm.listeningConnectors());
282 compare(launchingConnectors(), vmm.launchingConnectors());

Completed in 103 milliseconds

123456