/openjdk7/langtools/test/tools/javac/diags/examples/ |
H A D | StaticNotQualifiedByType.java | 28 int m(Other other) { argument 29 return other.i;
|
/openjdk7/jdk/test/java/io/Serializable/oldTests/ |
H A D | PrimitivesTest.java | 36 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 D | ArrayTest.java | 48 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 D | CheckingEquality.java | 102 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 D | T4784207a.java | 38 public int compareTo(T4784207a_i other) { argument
|
H A D | ExtendedRaw3.java | 34 int compareTo(T other); argument 37 public int compareTo(E other) { argument
|
/openjdk7/jdk/src/share/classes/java/nio/file/ |
H A D | FileSystemException.java | 43 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 D | Path.java | 42 * 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 D | AccessDeniedException.java | 30 * 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 D | FileAlreadyExistsException.java | 55 * @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 D | NoSuchFileException.java | 55 * @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 D | NotLinkException.java | 55 * @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 D | JavaThing.java | 69 * 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 D | TestClass.java | 33 public boolean equals(Object other) { 37 return (this == other); 45 public boolean equals(Object other) { 49 return (this == other);
|
H A D | TestMethod.java | 32 public boolean equals(Object other) { 36 return (this == other); 44 public boolean equals(Object other) { 48 return (this == other);
|
H A D | TestLocalElements.java | 33 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 D | TestEnum1.java | 35 private final TestEnum other = QUX;
|
/openjdk7/hotspot/src/share/vm/c1/ |
H A D | c1_ValueSet.hpp | 48 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 D | AbstractPath.java | 42 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 D | PolicyAssertionValidator.java | 43 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 D | Edge.java | 76 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 D | InitialValue.java | 32 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 D | StrikeMetrics.java | 128 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 D | InputMethodLocator.java | 57 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 D | CharSubstitutionFilter.h | 63 CharSubstitutionFilter(const CharSubstitutionFilter &other); // forbid copying of this class 70 CharSubstitutionFilter &operator=(const CharSubstitutionFilter &other); // forbid copying of this class
|