/openjdk7/jdk/src/share/classes/java/util/ |
H A D | Comparator.java | 133 * @param o1 the first object to be compared. 143 int compare(T o1, T o2); argument 151 * <code>comp1.equals(comp2)</code> implies that <tt>sgn(comp1.compare(o1, 152 * o2))==sgn(comp2.compare(o1, o2))</tt> for every object reference 153 * <tt>o1</tt> and <tt>o2</tt>.<p>
|
/openjdk7/jdk/src/share/classes/sun/tools/jstat/ |
H A D | AscendingMonitorComparator.java | 38 public int compare(Monitor o1, Monitor o2) { argument 39 String name1 = o1.getName();
|
H A D | DescendingMonitorComparator.java | 38 public int compare(Monitor o1, Monitor o2) { argument 39 String name1 = o1.getName();
|
H A D | OptionLister.java | 48 public int compare(OptionFormat o1, OptionFormat o2) { 49 OptionFormat of1 = o1;
|
/openjdk7/langtools/test/tools/javac/cast/6358534/ |
H A D | T6358534.java | 34 MyInterface<Integer> o1 = (MyInterface<Integer>) (T6358534)null; field in class:T6358534
|
/openjdk7/langtools/test/tools/javac/generics/ |
H A D | ArrayTypearg.java | 39 Object o1 = list.get(0)[0];
|
/openjdk7/jdk/test/java/util/LinkedList/ |
H A D | ComodifiedRemove.java | 40 Object o1 = new Integer(1); 41 list.add(o1);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/table/ |
H A D | TableModelComparator.java | 84 Object o1 = getValueForColumn(row1, columns[i]); 88 if (o1 == null && o2 == null) { 90 } else if (o1 == null) { // Define null less than everything. 98 if (o1 instanceof Comparable) { 99 Comparable c1 = (Comparable)o1;
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/ |
H A D | LoadObjectComparator.java | 33 public int compare(Object o1, Object o2) { argument 34 LoadObject lo1 = (LoadObject) o1;
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/transport/ |
H A D | Headers.java | 78 public int compare(String o1, String o2) { argument 79 if (o1 == null && o2 == null) 81 if (o1 == null) 85 return o1.compareToIgnoreCase(o2);
|
/openjdk7/langtools/test/tools/javac/scope/6225935/ |
H A D | T6225935.java | 39 X o1 = new X();
|
/openjdk7/jdk/test/com/sun/jmx/snmp/ |
H A D | SnmpOidHashCode.java | 132 final Object o1 = newSnmpOid(oids[i]); 136 if (o1.equals(o2)) { 144 if (o1.hashCode() != o2.hashCode()) { 147 "\n\thashCode("+o1+")="+ 148 o1.hashCode()+", "+ 161 if (o1.hashCode() == o2.hashCode()) collisions++; 165 System.out.println("*** Test Passed for: " + o1); 169 + o1);
|
/openjdk7/langtools/test/tools/javac/cast/7005671/ |
H A D | T7005671.java | 12 Object o1 = (X[])(byte[])null; 23 Object o1 = (byte[])(X[])null;
|
/openjdk7/langtools/test/tools/javac/generics/diamond/7057297/ |
H A D | T7057297.java | 14 T7205797<String>[] o1 = new T7205797<>[1]; //error field in class:T7205797 22 T7205797<String>.Inner<String>[] o1 = new T7205797<String>.Inner<>[1]; //error
|
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Graph/src/com/sun/hotspot/igv/graph/ |
H A D | Slot.java | 57 public int compare(Slot o1, Slot o2) { 58 return o1.wantedIndex - o2.wantedIndex; 63 public int compare(Slot o1, Slot o2) { 64 return o1.figure.getId() - o2.figure.getId();
|
/openjdk7/jdk/test/java/io/Serializable/cloneArray/ |
H A D | CloneArray.java | 57 Object o1; 62 o1 = ois.readUnshared(); 66 if (o1 == o2) 67 throw new AssertionError("o1 and o2 must not be identical");
|
/openjdk7/jdk/src/share/classes/sun/management/snmp/util/ |
H A D | SnmpCachedData.java | 49 public int compare(SnmpOid o1, SnmpOid o2) { 50 return o1.compareTo(o2); 52 public boolean equals(Object o1, Object o2) { 53 if (o1 == o2) return true; 54 else return o1.equals(o2);
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | CopyOnWriteArraySet.java | 389 private static boolean eq(Object o1, Object o2) { argument 390 return (o1 == null ? o2 == null : o1.equals(o2));
|
/openjdk7/jdk/test/javax/crypto/Cipher/ |
H A D | ByteBuffers.java | 73 ByteBuffer o1 = o0.slice(); 77 crypt(cipher, i1, o1, outBytes, random); 78 crypt(cipher, i2, o1, outBytes, random); 79 crypt(cipher, i3, o1, outBytes, random);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | ObjectHistogram.java | 54 public int compare(Object o1, Object o2) { 55 return ((ObjectHistogramElement) o1).compare((ObjectHistogramElement) o2);
|
/openjdk7/jdk/test/javax/crypto/KeyGenerator/ |
H A D | TestGetInstance.java | 37 private static void same(Object o1, Object o2) throws Exception { argument 38 if (o1 != o2) {
|
/openjdk7/jdk/test/javax/crypto/Mac/ |
H A D | TestGetInstance.java | 37 private static void same(Object o1, Object o2) throws Exception { argument 38 if (o1 != o2) {
|
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/ |
H A D | linux_sparc.s | 38 mov %o1, %o0 52 mov %o1, %o0 75 cmp %o0, %o1 81 std %o2, [%o1] 83 add %o1, 8, %o1 90 std %o2, [%o1+%o4]
|
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/ |
H A D | solaris_sparc.s | 44 mov %o1, %o0 57 mov %o1, %o0 82 cmp %o0, %o1 88 std %o2, [%o1] 90 add %o1, 8, %o1 97 std %o2, [%o1+%o4]
|
/openjdk7/jdk/src/share/classes/sun/tools/jconsole/inspector/ |
H A D | TableSorter.java | 95 private int compare(Object o1, Object o2) { argument 96 // take care of the case where both o1 & o2 are null. Needed to keep 98 if (o1 == o2) 100 if (o1==null) 105 else if ((o1.getClass().equals(o2.getClass())) && 106 (o1 instanceof Comparable)) { 107 return (((Comparable) o1).compareTo(o2)); 110 return o1.toString().compareTo(o2.toString());
|