Searched defs:obj2 (Results 1 - 25 of 29) sorted by relevance

12

/openjdk7/jdk/src/share/classes/sun/misc/
H A DCompare.java41 * @param obj2 second object to compare.
42 * @return -1 if obj1 < obj2, 0 if obj1 == obj2, 1 if obj1 > obj2.
44 public int doCompare(Object obj1, Object obj2); argument
/openjdk7/langtools/test/tools/javac/generics/
H A DGenericAnonCtor.java36 Object obj2; field in class:A
39 obj2 = t2;
42 return (obj1 + " " + obj2).intern();
/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/objects/
H A DXBooleanStatic.java54 * @param obj2 Object to compare to this
60 public boolean equals(XObject obj2) argument
64 return m_val == obj2.bool();
H A DXNull.java124 * @param obj2 Object to compare this to
128 public boolean equals(XObject obj2) argument
130 return obj2.getType() == CLASS_NULL;
H A DXBoolean.java145 * @param obj2 Object to compare to this
151 public boolean equals(XObject obj2) argument
157 if (obj2.getType() == XObject.CLASS_NODESET)
158 return obj2.equals(this);
162 return m_val == obj2.bool();
H A DXNumber.java389 * @param obj2 Object to compare this to
395 public boolean equals(XObject obj2) argument
401 int t = obj2.getType();
405 return obj2.equals(this);
407 return obj2.bool() == bool();
409 return m_val == obj2.num();
H A DXRTreeFrag.java251 * @param obj2 Object to compare this to
257 public boolean equals(XObject obj2) argument
262 if (XObject.CLASS_NODESET == obj2.getType())
268 return obj2.equals(this);
270 else if (XObject.CLASS_BOOLEAN == obj2.getType())
272 return bool() == obj2.bool();
274 else if (XObject.CLASS_NUMBER == obj2.getType())
276 return num() == obj2.num();
278 else if (XObject.CLASS_NODESET == obj2.getType())
280 return xstr().equals(obj2
[all...]
H A DXNodeSet.java467 * @param obj2 Object to compare this nodeset to
474 public boolean compare(XObject obj2, Comparator comparator) argument
479 int type = obj2.getType();
497 DTMIterator list2 = ((XNodeSet) obj2).iterRaw();
554 double num2 = obj2.num();
569 double num2 = obj2.num();
587 XMLString s2 = obj2.xstr();
613 XMLString s2 = obj2.xstr();
631 result = comparator.compareNumbers(this.num(), obj2.num());
640 * @param obj2 objec
646 lessThan(XObject obj2) argument
660 lessThanOrEqual(XObject obj2) argument
674 greaterThan(XObject obj2) argument
688 greaterThanOrEqual(XObject obj2) argument
703 equals(XObject obj2) argument
724 notEquals(XObject obj2) argument
[all...]
H A DXString.java287 * @param obj2 Object to compare this to
293 public boolean equals(XObject obj2) argument
299 int t = obj2.getType();
303 return obj2.equals(this);
308 return obj2.bool() == bool();
312 return obj2.num() == num();
321 return xstr().equals(obj2.xstr());
330 * @param obj2 the object to compare this <code>String</code> against.
336 public boolean equals(String obj2) { argument
337 return str().equals(obj2);
353 equals(XMLString obj2) argument
378 equals(Object obj2) argument
[all...]
H A DXStringForFSB.java283 * @param obj2 the object to compare this <code>String</code>
291 public boolean equals(XMLString obj2) argument
294 if (this == obj2)
301 if (n == obj2.length())
309 if (fsb.charAt(i) != obj2.charAt(j))
327 * @param obj2 Object to compare this to
333 public boolean equals(XObject obj2) argument
336 if (this == obj2)
340 if(obj2.getType() == XObject.CLASS_NUMBER)
341 return obj2
420 equals(Object obj2) argument
[all...]
H A DXObject.java533 * @param obj2 Object to compare this to
539 public boolean lessThan(XObject obj2) argument
548 if (obj2.getType() == XObject.CLASS_NODESET)
549 return obj2.greaterThan(this);
551 return this.num() < obj2.num();
557 * @param obj2 Object to compare this to
563 public boolean lessThanOrEqual(XObject obj2) argument
572 if (obj2.getType() == XObject.CLASS_NODESET)
573 return obj2.greaterThanOrEqual(this);
575 return this.num() <= obj2
587 greaterThan(XObject obj2) argument
611 greaterThanOrEqual(XObject obj2) argument
635 equals(XObject obj2) argument
663 notEquals(XObject obj2) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/beans/finder/
H A DSignature.java92 * @param obj2 the second reference object that will compared
96 private static boolean isEqual(Object obj1, Object obj2) { argument
98 ? obj2 == null
99 : obj1.equals(obj2);
/openjdk7/jdk/src/share/classes/java/lang/invoke/
H A DMethodHandleStatics.java118 /*non-public*/ static RuntimeException newIllegalArgumentException(String message, Object obj, Object obj2) { argument
119 return new IllegalArgumentException(message(message, obj, obj2));
131 private static String message(String message, Object obj, Object obj2) { argument
132 if (obj != null || obj2 != null) message = message + ": " + obj + ", " + obj2;
/openjdk7/langtools/test/tools/javac/protectedAccess/
H A DProtectedMemberAccess2.java39 pkg.SuperClass.spC obj2; // illegal field in class:ProtectedMemberAccess2
79 pkg.SuperClass.spC obj2; // illegal
130 pkg.SuperClass.spC obj2; // illegal
H A DProtectedMemberAccess3.java41 pkg.SuperClass.spC obj2; // illegal field in class:ProtectedMemberAccess3.Inner
93 pkg.SuperClass.spC obj2; // illegal
H A DProtectedMemberAccess4.java45 pkg.SuperClass.spC obj2; // ok field in class:ProtectedMemberAccess4
85 pkg.SuperClass.spC obj2; // ok
136 pkg.SuperClass.spC obj2; // ok
173 pkg.SuperClass.spC obj2; // ok field in class:ProtectedMemberAccess4.Inner
225 pkg.SuperClass.spC obj2; // ok
H A DProtectedMemberAccess1.java48 spC obj2; field in class:ProtectedMemberAccess1a
72 spC obj2;
100 spC obj2;
128 spC obj2; field in class:ProtectedMemberAccess1a.Inner
157 spC obj2;
209 ProtectedMemberAccess2a.spC obj2; field in class:ProtectedMemberAccess2a
250 ProtectedMemberAccess2a.spC obj2;
302 ProtectedMemberAccess2a.spC obj2;
339 ProtectedMemberAccess2a.spC obj2; field in class:ProtectedMemberAccess2a.Inner
392 ProtectedMemberAccess2a.spC obj2;
447 SubClass.spC obj2; field in class:ProtectedMemberAccess3a
575 SubClass.spC obj2; field in class:ProtectedMemberAccess3a.Inner
[all...]
/openjdk7/jdk/src/share/classes/javax/crypto/
H A DCryptoPermission.java454 private boolean equalObjects(Object obj1, Object obj2) { argument
456 return (obj2 == null ? true : false);
459 return obj1.equals(obj2);
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DXMLStringDefault.java161 * @param obj2 the object to compare this <code>String</code> against.
167 public boolean equals(String obj2) { argument
168 return m_str.equals(obj2);
/openjdk7/jdk/src/share/classes/javax/naming/directory/
H A DBasicAttribute.java356 private static boolean valueEquals(Object obj1, Object obj2) { argument
357 if (obj1 == obj2) {
361 return false; // obj2 was not false
364 obj2.getClass().isArray()) {
365 return arrayEquals(obj1, obj2);
367 return (obj1.equals(obj2));
/openjdk7/hotspot/test/compiler/6865031/
H A DTest.java124 DoubletonList(final Object obj1, final Object obj2) { argument
126 this.element2 = obj2;
/openjdk7/jdk/src/windows/classes/sun/nio/fs/
H A DWindowsFileSystemProvider.java408 public boolean isSameFile(Path obj1, Path obj2) throws IOException { argument
410 if (file1.equals(obj2))
412 if (obj2 == null)
414 if (!(obj2 instanceof WindowsPath))
416 WindowsPath file2 = (WindowsPath)obj2;
514 public void createSymbolicLink(Path obj1, Path obj2, FileAttribute<?>... attrs) argument
518 WindowsPath target = WindowsPath.toWindowsPath(obj2);
583 public void createLink(Path obj1, Path obj2) throws IOException { argument
585 WindowsPath existing = WindowsPath.toWindowsPath(obj2);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixFileSystemProvider.java313 public boolean isSameFile(Path obj1, Path obj2) throws IOException { argument
315 if (file1.equals(obj2))
317 if (obj2 == null)
319 if (!(obj2 instanceof UnixPath))
321 UnixPath file2 = (UnixPath)obj2;
432 public void createSymbolicLink(Path obj1, Path obj2, FileAttribute<?>... attrs) argument
436 UnixPath target = UnixPath.toUnixPath(obj2);
461 public void createLink(Path obj1, Path obj2) throws IOException { argument
463 UnixPath existing = UnixPath.toUnixPath(obj2);
/openjdk7/jdk/src/share/classes/java/awt/datatransfer/
H A DDataFlavor.java699 * @param obj2 the second <code>DataFlavor</code> to be compared
709 public int compare(Object obj1, Object obj2) { argument
711 DataFlavor flavor2 = (DataFlavor)obj2;
715 return super.compare(obj1, obj2);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DataTransferer.cpp79 AwtDataTransferer::ConcatData(JNIEnv* env, jobject obj1, jobject obj2) { argument
88 ret = env->CallObjectMethod(transferer, concatDataMethodID, obj1, obj2);

Completed in 87 milliseconds

12