Searched refs:other (Results 1 - 25 of 515) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/diags/examples/
H A DStaticNotQualifiedByType.java28 int m(Other other) { argument
29 return other.i;
/openjdk7/jdk/test/java/io/Serializable/oldTests/
H A DPrimitivesTest.java36 public boolean equals(PrimitivesTest other) { argument
37 if (b != other.b ||
38 c != other.c ||
39 f != other.f ||
40 l != other.l ||
41 d != other.d ||
42 i != other.i ||
43 s != other.s ||
44 z != other.z )
H A DArrayTest.java48 public boolean equals(ArrayTest other) { argument
50 if (other == null) {
51 System.err.println("\nother Array is " + other);
54 if (!ArrayOpsTest.verify(i, other.i)) {
58 if (!ArrayOpsTest.verify(b, other.b)) {
62 if (!ArrayOpsTest.verify(s, other.s)) {
66 if (!ArrayOpsTest.verify(c, other.c)) {
70 if (!ArrayOpsTest.verify(l, other.l)) {
74 if (!ArrayOpsTest.verify(f, other.f)) {
78 if (!ArrayOpsTest.verify(d, other
[all...]
H A DCheckingEquality.java102 boolean equals(Firstpsio other) { argument
105 if (!one.equals(other.one)) {
107 " actual " + other.one);
110 if (two != other.two) {
112 " actual " + other.two);
117 if (three[i] != other.three[i]) {
119 three[i] + " actual " + other.three[i]);
151 boolean equals(Secondpsio other) { argument
152 boolean ret = super.equals(other);
154 if (!quatre.equals(other
190 equals(Thirdpsio other) argument
[all...]
/openjdk7/langtools/test/tools/javac/generics/
H A DT4784207a.java38 public int compareTo(T4784207a_i other) { argument
H A DExtendedRaw3.java34 int compareTo(T other); argument
37 public int compareTo(E other) { argument
/openjdk7/jdk/src/share/classes/java/nio/file/
H A DFileSystemException.java43 private final String other; field in class:FileSystemException
56 this.other = null;
66 * @param other
67 * a string identifying the other file or {@code null} if there
72 public FileSystemException(String file, String other, String reason) { argument
75 this.other = other;
88 * Returns the other file used to create this exception.
90 * @return the other file (can be {@code null})
93 return other;
[all...]
H A DPath.java42 * The other name elements are directory names. A {@code Path} can represent a
56 * Paths can be {@link #compareTo compared}, and tested against each other using
69 * directories, and other types of files. For example, suppose we want a {@link
81 * with the {@link java.io.File java.io.File} class. Paths created by other
112 * with other path information in order to locate a file.
234 * @param other
240 boolean startsWith(Path other); argument
249 * @param other
258 boolean startsWith(String other); argument
279 * @param other
285 endsWith(Path other) argument
306 endsWith(String other) argument
358 resolve(Path other) argument
378 resolve(String other) argument
399 resolveSibling(Path other) argument
416 resolveSibling(String other) argument
458 relativize(Path other) argument
751 compareTo(Path other) argument
775 equals(Object other) argument
[all...]
H A DAccessDeniedException.java30 * due to a file permission or other access check.
60 * @param other
61 * a string identifying the other file or {@code null} if not known
65 public AccessDeniedException(String file, String other, String reason) { argument
66 super(file, other, reason);
H A DFileAlreadyExistsException.java55 * @param other
56 * a string identifying the other file or {@code null} if not known
60 public FileAlreadyExistsException(String file, String other, String reason) { argument
61 super(file, other, reason);
H A DNoSuchFileException.java55 * @param other
56 * a string identifying the other file or {@code null} if not known.
60 public NoSuchFileException(String file, String other, String reason) { argument
61 super(file, other, reason);
H A DNotLinkException.java55 * @param other
56 * a string identifying the other file or {@code null} if not known
60 public NotLinkException(String file, String other, String reason) { argument
61 super(file, other, reason);
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/internal/model/
H A DJavaThing.java69 * Are we the same type as other?
73 public boolean isSameTypeAs(JavaThing other) { argument
74 return getClass() == other.getClass();
92 * Compare our string representation to other's
95 public int compareTo(JavaThing other) { argument
96 return toString().compareTo(other.toString());
/openjdk7/langtools/test/tools/javac/6402516/
H A DTestClass.java33 public boolean equals(Object other) {
37 return (this == other);
45 public boolean equals(Object other) {
49 return (this == other);
H A DTestMethod.java32 public boolean equals(Object other) {
36 return (this == other);
44 public boolean equals(Object other) {
48 return (this == other);
H A DTestLocalElements.java33 public boolean equals(Object other) {
34 String p = "p, other, super, this; -, o, z, y, x, m1_arg, super, this; List, Test2, Test; java.io.*, java.lang.*";
35 String q = "q, p, other, super, this; -, o, z, y, x, m1_arg, super, this; List, Test2, Test; java.io.*, java.lang.*";
36 String r = "r, q, p, other, super, this; -, o, z, y, x, m1_arg, super, this; List, Test2, Test; java.io.*, java.lang.*";
37 return (this == other);
45 public boolean equals(Object other) {
46 String p = "p, other, super, this; super, this; List, Test2, Test; java.io.*, java.lang.*";
47 String q = "q, p, other, super, this; super, this; List, Test2, Test; java.io.*, java.lang.*";
48 String r = "r, q, p, other, super, this; super, this; List, Test2, Test; java.io.*, java.lang.*";
49 return (this == other);
[all...]
/openjdk7/langtools/test/tools/javac/enum/forwardRef/
H A DTestEnum1.java35 private final TestEnum other = QUX;
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_ValueSet.hpp48 bool set_intersect(ValueSet* other);
49 void set_union(ValueSet* other);
51 void set_from(ValueSet* other);
52 bool equals (ValueSet* other);
82 inline bool ValueSet::set_intersect(ValueSet* other) { argument
83 return _map.set_intersection_with_result(other->_map);
87 inline void ValueSet::set_union(ValueSet* other) { argument
88 _map.set_union(other->_map);
96 inline void ValueSet::set_from(ValueSet* other) { argument
97 _map.set_from(other
100 equals(ValueSet* other) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/fs/
H A DAbstractPath.java42 public final boolean startsWith(String other) { argument
43 return startsWith(getFileSystem().getPath(other));
47 public final boolean endsWith(String other) { argument
48 return endsWith(getFileSystem().getPath(other));
52 public final Path resolve(String other) { argument
53 return resolve(getFileSystem().getPath(other));
57 public final Path resolveSibling(Path other) { argument
58 if (other == null)
61 return (parent == null) ? other : parent.resolve(other);
65 resolveSibling(String other) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/spi/
H A DPolicyAssertionValidator.java43 public Fitness combine(Fitness other) { argument
44 if (this.compareTo(other) < 0) {
45 return other;
/openjdk7/jdk/src/share/classes/sun/awt/geom/
H A DEdge.java76 public int compareTo(Edge other, double yrange[]) { argument
77 if (other == lastEdge && yrange[0] < lastLimit) {
83 if (this == other.lastEdge && yrange[0] < other.lastLimit) {
84 if (yrange[1] > other.lastLimit) {
85 yrange[1] = other.lastLimit;
87 return 0-other.lastResult;
90 int ret = curve.compareTo(other.curve, yrange);
95 System.identityHashCode(other))
96 ? this+" to "+other
[all...]
/openjdk7/jdk/test/java/lang/ThreadLocal/
H A DInitialValue.java32 static ThreadLocal<String> other; field in class:InitialValue
38 other = new ThreadLocal<String>();
41 other.set("Other");
50 // And this should pick up the other local in this thread's locals map
51 String s2 = other.get();
/openjdk7/jdk/src/share/classes/sun/font/
H A DStrikeMetrics.java128 void merge(StrikeMetrics other) { argument
129 if (other == null) {
132 if (other.ascentX < ascentX) {
133 ascentX = other.ascentX;
135 if (other.ascentY < ascentY) {
136 ascentY = other.ascentY;
138 if (other.descentX > descentX) {
139 descentX = other.descentX;
141 if (other.descentY > descentY) {
142 descentY = other
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/im/
H A DInputMethodLocator.java57 public boolean equals(Object other) { argument
58 if (other == this) {
61 if (other == null || this.getClass() != other.getClass()) {
65 InputMethodLocator otherLocator = (InputMethodLocator) other;
136 * Returns whether this and other describe the same input method
139 boolean sameInputMethod(InputMethodLocator other) { argument
140 if (other == this) {
143 if (other == null) {
147 if (!descriptor.getClass().equals(other
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DCharSubstitutionFilter.h63 CharSubstitutionFilter(const CharSubstitutionFilter &other); // forbid copying of this class
70 CharSubstitutionFilter &operator=(const CharSubstitutionFilter &other); // forbid copying of this class

Completed in 230 milliseconds

1234567891011>>