/libcore/ojluni/src/main/java/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 40 * regarding each byte as unsigned. That is, compare array entries 45 * @param bytes1 first byte array to compare. 46 * @param bytes2 second byte array to compare. 53 public final int compare( byte[] bytes1, byte[] bytes2) { method in class:ByteArrayLexOrder
|
H A D | ByteArrayTagOrder.java | 42 * as defined in ITU-T X.680, sec. 6.4. (First compare 45 * @param bytes1 first byte array to compare. 46 * @param bytes2 second byte array to compare. 54 public final int compare(byte[] bytes1, byte[] bytes2) { method in class:ByteArrayTagOrder
|
/libcore/luni/src/test/java/libcore/java/util/ |
H A D | OldPriorityQueueTest.java | 87 public int compare(String object1, String object2) { method in class:OldPriorityQueueTest.MockComparatorStringByLength 103 public int compare(E object1, E object2) { method in class:OldPriorityQueueTest.MockComparatorCast
|
H A D | OldTreeMapTest.java | 36 public int compare(Object o1, Object o2) { method in class:OldTreeMapTest.ReversedComparator 49 public int compare(T o1, T o2) { method in class:OldTreeMapTest.MockComparator 65 public int compare(String o1, String o2) { method in class:OldTreeMapTest.MockComparatorNullTolerable 267 public int compare(String o1, String o2) { 332 * there's no other element to compare it to. This is more strict than the
|
/libcore/ojluni/src/main/java/java/text/ |
H A D | RuleBasedCollator.java | 155 * This allows you to use a RuleBasedCollator to compare accented strings 258 // need to be preserved in these objects between calls to compare() or 260 // creation time. compare() and getCollationKey() are synchronized to ensure 362 public synchronized int compare(String source, String target) method in class:RuleBasedCollator 368 return icuColl.compare(source, target);
|
H A D | Collator.java | 67 * The following example shows how to compare two strings using 73 * if( myCollator.compare("abc", "ABC") < 0 ) 96 * if( usCollator.compare("abc", "ABC") == 0 ) { 102 * For comparing <code>String</code>s exactly once, the <code>compare</code> 104 * <code>String</code>s however, it is generally necessary to compare each 258 public abstract int compare(String source, String target); method in class:Collator 266 * <code> compare((String)o1, (String)o2) </code>. 276 public int compare(Object o1, Object o2) { method in class:Collator 277 return compare((String)o1, (String)o2); 283 * Collator.compare whe [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | ASCIICaseInsensitiveComparator.java | 40 public int compare(String s1, String s2) { method in class:ASCIICaseInsensitiveComparator 60 * compare() method.
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Comparators.java | 51 public int compare(Comparable<Object> c1, Comparable<Object> c2) { method in class:Comparators.NaturalOrderComparator 77 public int compare(T a, T b) { method in class:Comparators.NullComparator 83 return (real == null) ? 0 : real.compare(a, b);
|
H A D | Comparator.java | 47 * <tt>c.compare(e1, e2)==0</tt> has the same boolean value as 61 * {@code (a.equals(b) && c.compare(a, b) != 0)} 78 * {(x, y) such that c.compare(x, y) <= 0}. 80 * {(x, y) such that c.compare(x, y) == 0}. 83 * It follows immediately from the contract for <tt>compare</tt> that the 121 * The implementor must ensure that <tt>sgn(compare(x, y)) == 122 * -sgn(compare(y, x))</tt> for all <tt>x</tt> and <tt>y</tt>. (This 123 * implies that <tt>compare(x, y)</tt> must throw an exception if and only 124 * if <tt>compare(y, x)</tt> throws an exception.)<p> 127 * <tt>((compare( 150 int compare(T o1, T o2); method in interface:Comparator [all...] |
H A D | Objects.java | 164 * c.compare(a, b)} otherwise. 176 * @param c the {@code Comparator} to compare the first two arguments 178 * c.compare(a, b)} otherwise. 182 public static <T> int compare(T a, T b, Comparator<? super T> c) { method in class:Objects 183 return (a == b) ? 0 : c.compare(a, b);
|
/libcore/ojluni/src/main/java/java/lang/ |
H A D | Boolean.java | 221 * @param obj the object to compare with. 273 return compare(this.value, b.value); 283 * @param x the first {@code boolean} to compare 284 * @param y the second {@code boolean} to compare 290 public static int compare(boolean x, boolean y) { method in class:Boolean
|
H A D | Byte.java | 415 * @param obj the object to compare with 440 return compare(this.value, anotherByte.value); 450 * @param x the first {@code byte} to compare 451 * @param y the second {@code byte} to compare 457 public static int compare(byte x, byte y) { method in class:Byte
|
H A D | Short.java | 420 * @param obj the object to compare with 445 return compare(this.value, anotherShort.value); 455 * @param x the first {@code short} to compare 456 * @param y the second {@code short} to compare 462 public static int compare(short x, short y) { method in class:Short
|
/libcore/ojluni/src/main/java/java/net/ |
H A D | CookieManager.java | 470 public int compare(HttpCookie c1, HttpCookie c2) { method in class:CookieManager.CookiePathComparator
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
H A D | CertificateVersion.java | 236 public int compare(int vers) { method in class:CertificateVersion
|
H A D | RDN.java | 481 public int compare(AVA a1, AVA a2) { method in class:AVAComparator
|
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Format.java | 65 + format.format(object), compare(results, expectedResults)); 71 protected static boolean compare(Vector<FieldContainer> vector1, Vector<FieldContainer> vector2) { method in class:Support_Format
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
H A D | TreeSetTest.java | 37 public int compare(Object o1, Object o2) { method in class:TreeSetTest.ReversedIntegerComparator
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | Duration.java | 57 * The {@link #compare(Duration duration)} method implements this 747 * @param duration to compare 762 public abstract int compare(final Duration duration); method in class:Duration 788 * @see #compare(Duration duration) 791 return compare(duration) == DatatypeConstants.GREATER; 810 * @see #compare(Duration duration) 813 return compare(duration) == DatatypeConstants.LESSER; 851 * @see #compare(Duration duration) 858 return compare((Duration) duration) == DatatypeConstants.EQUAL;
|
/libcore/ojluni/src/main/java/java/nio/ |
H A D | DoubleBuffer.java | 772 * {@link Double#compare(double,double)}, except that 787 // Android-changed: Call through to Double.compare() instead of 789 int cmp = Double.compare(this.get(i), that.get(j)); 796 private static int compare(double x, double y) { method in class:DoubleBuffer
|
H A D | FloatBuffer.java | 772 * {@link Float#compare(float,float)}, except that 790 int cmp = compare(this.get(i), that.get(j)); 797 private static int compare(float x, float y) { method in class:FloatBuffer
|
H A D | IntBuffer.java | 780 * {@link Integer#compare(int,int)}. 791 int cmp = compare(this.get(i), that.get(j)); 798 private static int compare(int x, int y) { method in class:IntBuffer 801 return Integer.compare(x, y);
|
H A D | LongBuffer.java | 773 * {@link Long#compare(long,long)}. 784 int cmp = compare(this.get(i), that.get(j)); 791 private static int compare(long x, long y) { method in class:LongBuffer 794 return Long.compare(x, y);
|
H A D | ShortBuffer.java | 773 * {@link Short#compare(short,short)}. 784 int cmp = compare(this.get(i), that.get(j)); 791 private static int compare(short x, short y) { method in class:ShortBuffer 794 return Short.compare(x, y);
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
H A D | ForwardBuilder.java | 432 static final String METHOD_NME = "PKIXCertComparator.compare()"; 480 public int compare(X509Certificate oCert1, X509Certificate oCert2) { method in class:ForwardBuilder.PKIXCertComparator
|