Searched refs:equals (Results 26 - 50 of 5404) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/security/Exceptions/
H A DChainingConstructors.java42 if (!se.getCause().equals(cause)) {
46 if (!se.getMessage().equals(MSG) || !se.getCause().equals(cause)) {
51 if (!de.getCause().equals(cause)) {
55 if (!de.getMessage().equals(MSG) || !de.getCause().equals(cause)) {
60 if (!gse.getCause().equals(cause)) {
64 if (!gse.getMessage().equals(MSG) || !gse.getCause().equals(cause)) {
70 if (!iape.getCause().equals(caus
[all...]
/openjdk7/jdk/test/javax/security/auth/PrivateCredentialPermission/
H A DEquals.java38 // test regular equals and implies
43 if (!pcp1.equals(pcp2) || !pcp2.equals(pcp1))
53 if (!pcp1.equals(pcp2) || !pcp2.equals(pcp1))
58 // test equals/implies failure
61 if (pcp1.equals(pcp2) || pcp2.equals(pcp1))
69 if (pcp1.equals(pcp2) || pcp2.equals(pcp
[all...]
/openjdk7/langtools/test/tools/javac/generics/odersky/
H A DBadTest2.java48 static <A> boolean equals(A x, A y) { return x.equals(y); } method in class:BadTest2.Main
51 equals(c, d); // infer A=I&J
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/
H A DcomplexType.java194 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation"))) {
230 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexType"))) {
242 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleContent"))) {
247 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexContent"))) {
252 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("grou
[all...]
H A Dgroup.java100 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group"))) {
112 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("group")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("any")) || (((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("al
[all...]
H A DelementDeclBody.java124 if(((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("key")) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("keyref"))) || ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("unique")))) {
183 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleType"))) {
188 if(($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("complexTyp
[all...]
H A DSchema.java163 if(expectedNamespace!=null && !expectedNamespace.equals(tns)) {
173 if(tns!=null && expectedNamespace!=null && !expectedNamespace.equals(tns)) {
212 if((($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("annotation")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attributeGroup")) || (($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("simpleTyp
[all...]
/openjdk7/jdk/test/javax/security/auth/login/Exceptions/
H A DNewExceptions.java59 if (!ac.getMessage().equals("AccountException") ||
60 !aee.getMessage().equals("AccountExpiredException") ||
61 !ale.getMessage().equals("AccountLockedException") ||
62 !anfe.getMessage().equals("AccountNotFoundException") ||
63 !ce.getMessage().equals("CredentialException") ||
64 !cee.getMessage().equals("CredentialExpiredException") ||
65 !cnfe.getMessage().equals("CredentialNotFoundException")) {
/openjdk7/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/
H A DPrimitiveGen.java77 if (entry.name ().equals ("null"))
79 else if (entry.name ().equals ("void"))
81 else if (entry.name ().equals ("short"))
83 else if (entry.name ().equals ("long"))
85 else if (entry.name ().equals ("long long"))
87 else if (entry.name ().equals ("unsigned short"))
89 else if (entry.name ().equals ("unsigned long"))
91 else if (entry.name ().equals ("unsigned long long"))
93 else if (entry.name ().equals ("float"))
95 else if (entry.name ().equals ("doubl
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DBitXorExpression.java63 if (left.equals(true)) {
66 if (right.equals(true)) {
69 if (left.equals(false) || left.equals(0)) {
72 if (right.equals(false) || right.equals(0)) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/
H A DSpecVersion.java49 if(token.equals("2.0"))
51 if(token.equals("2.1"))
53 if(token.equals("2.2"))
/openjdk7/jdk/test/java/io/ByteArrayOutputStream/
H A DToString.java40 if (! b.toString().equals(test))
42 if (! b.toString("UTF8").equals(test))
44 if (! b.toString(0).equals(test))
/openjdk7/langtools/test/tools/javac/6402516/
H A DTestClass.java33 public boolean equals(Object other) {
45 public boolean equals(Object other) {
52 }.equals(null);
H A DTestMethod.java32 public boolean equals(Object other) {
33 String p = "equals; m1; 0; 0";
34 String q = "equals; m1; 0; 0";
35 String r = "equals; m1; 0; 0";
44 public boolean equals(Object other) {
45 String p = "equals; 0; 0; 0";
46 String q = "equals; 0; 0; 0";
47 String r = "equals; 0; 0; 0";
51 }.equals(null);
/openjdk7/jdk/test/java/util/AbstractMap/
H A DToString.java37 if (!m.toString().equals("{}"))
41 if (!m.toString().equals("{x=1}"))
45 if (!m.toString().equals("{x=1, y=2}"))
/openjdk7/jdk/test/java/util/Collections/
H A DMinMax.java38 if (!Collections.min(s).equals("x"))
40 if (!Collections.max(s).equals("x"))
44 if (!Collections.min(s).equals("x"))
46 if (!Collections.max(s).equals("y"))
50 if (!Collections.min(s).equals("w"))
52 if (!Collections.max(s).equals("y"))
57 if (!Collections.min(s, Collections.reverseOrder()).equals("x"))
59 if (!Collections.max(s, Collections.reverseOrder()).equals("x"))
63 if (!Collections.min(s, Collections.reverseOrder()).equals("y"))
65 if (!Collections.max(s, Collections.reverseOrder()).equals("
[all...]
/openjdk7/jdk/src/share/classes/java/lang/annotation/
H A DAnnotation.java54 * <tt>Float.valueOf(x).equals(Float.valueOf(y))</tt>.
60 * <tt>Double.valueOf(x).equals(Double.valueOf(y))</tt>.
66 * are considered equal if <tt>x.equals(y)</tt>. (Note that this
70 * are considered equal if <tt>Arrays.equals(x, y)</tt>, for the
71 * appropriate overloading of {@link java.util.Arrays#equals}.
77 boolean equals(Object obj); method in interface:Annotation
/openjdk7/jdk/src/share/classes/java/security/
H A DPrincipal.java50 public boolean equals(Object another); method in interface:Principal
/openjdk7/jdk/src/share/classes/java/util/
H A DComparator.java39 * <tt>S</tt> is said to be <i>consistent with equals</i> if and only if
41 * <tt>e1.equals(e2)</tt> for every <tt>e1</tt> and <tt>e2</tt> in
45 * ordering inconsistent with equals to order a sorted set (or sorted map).
48 * ordering imposed by <tt>c</tt> on <tt>S</tt> is inconsistent with equals,
51 * map), which is defined in terms of <tt>equals</tt>.<p>
54 * {@code (a.equals(b) && c.compare(a, b) != 0)}
80 * equals</i>, we mean that the quotient for the ordering is the equivalence
81 * relation defined by the objects' {@link Object#equals(Object)
82 * equals(Object)} method(s):<pre>
83 * {(x, y) such that x.equals(
167 boolean equals(Object obj); method in interface:Comparator
[all...]
/openjdk7/jdk/src/share/classes/javax/management/openmbean/
H A DOpenMBeanAttributeInfo.java96 * This ensures that this <tt>equals</tt> method works properly for <var>obj</var> parameters which are
103 public boolean equals(Object obj); method in interface:OpenMBeanAttributeInfo
109 * of all elements of information used in <code>equals</code> comparisons
112 * This ensures that <code> t1.equals(t2) </code> implies that <code> t1.hashCode()==t2.hashCode() </code>
/openjdk7/jdk/src/share/classes/com/sun/jdi/
H A DByteValue.java52 boolean equals(Object obj); method in interface:ByteValue
H A DCharValue.java53 boolean equals(Object obj); method in interface:CharValue
H A DDoubleValue.java53 boolean equals(Object obj); method in interface:DoubleValue
H A DFloatValue.java53 boolean equals(Object obj); method in interface:FloatValue
H A DIntegerValue.java53 boolean equals(Object obj); method in interface:IntegerValue

Completed in 166 milliseconds

1234567891011>>