/libcore/ojluni/src/main/java/java/util/stream/ |
H A D | ReferencePipeline.java | 515 public final Optional<P_OUT> max(Comparator<? super P_OUT> comparator) { method in class:ReferencePipeline
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
H A D | MathTest.java | 615 * java.lang.Math#max(double, double) 618 // Test for method double java.lang.Math.max(double, double) 619 assertEquals("Incorrect double max value", 1908897.6000089, 620 max(-1908897.6000089, 1908897.6000089, useMath), 0D); 621 assertEquals("Incorrect double max value", 622 1908897.6000089, max(2.0, 1908897.6000089, useMath), 0D); 623 assertEquals("Incorrect double max value", -2.0, max(-2.0, -1908897.6000089, useMath), 0D); 628 Double.toString(Double.NaN), Double.toString(max(Double.NaN, 42.0d, useMath))); 630 Double.toString(Double.NaN), Double.toString(max(42. 739 private static double max(double a, double b, boolean useMath) { method in class:MathTest [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
H A D | CharsetEncoderTest.java | 140 // // OK: average length less than max length 205 // Illegal Argument: byte array is longer than max length 215 // // OK: average length less than max length 1037 public MockCharsetEncoder(Charset cs, float aver, float max) { argument 1038 super(cs, aver, max); 1041 public MockCharsetEncoder(Charset cs, float aver, float max, argument 1043 super(cs, aver, max, replacement);
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | ConcurrentSkipListMapTest.java | 1018 void mutateMap(NavigableMap<Integer, Integer> map, int min, int max) { argument 1020 int rangeSize = max - min + 1; 1038 assertTrue(key >= min && key <= max); 1043 void mutateSubMap(NavigableMap<Integer, Integer> map, int min, int max) { argument 1045 int rangeSize = max - min + 1; 1063 if (key >= min && key <= max) { 1085 int min, int max, boolean ascending) { 1086 check(map, min, max, ascending); 1087 check(map.descendingMap(), min, max, !ascending); 1089 mutateSubMap(map, min, max); 1084 bashSubMap(NavigableMap<Integer, Integer> map, int min, int max, boolean ascending) argument 1165 check(NavigableMap<Integer, Integer> map, final int min, final int max, final boolean ascending) argument [all...] |
/libcore/luni/src/main/java/java/math/ |
H A D | BigInteger.java | 195 final int max = (int) Math.sqrt(x); 196 for (int i = 3; i <= max; i += 2) { 822 public BigInteger max(BigInteger value) { method in class:BigInteger
|
H A D | BigDecimal.java | 750 if (Math.max(this.bitLength, augend.bitLength) + 1 < 64) { 764 Math.max(thisValue.bitLength,augend.bitLength+LONG_POWERS_OF_TEN_BIT_LENGTH[diffScale])+1<64) { 854 if (Math.max(this.bitLength, subtrahend.bitLength) + 1 < 64) { 861 Math.max(this.bitLength,subtrahend.bitLength+LONG_POWERS_OF_TEN_BIT_LENGTH[diffScale])+1<64) { 869 Math.max(this.bitLength+LONG_POWERS_OF_TEN_BIT_LENGTH[diffScale],subtrahend.bitLength)+1<64) { 1244 newScale = safeLongToInt(diffScale + Math.max(k, l)); 1434 newScale = Math.min(diffScale, Math.max(mcPrecision - quotPrecision + 1, 0)); 1440 long exp = Math.min(-diffScale, Math.max((long)mcPrecision - diffPrecision, 0)); 1958 return zeroScaledBy(Math.max(newScale, 0)); 2148 * @return {@code max(thi 2152 public BigDecimal max(BigDecimal val) { method in class:BigDecimal [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | GregorianCalendar.java | 1146 int max = getMaximum(field); 1164 int unit = max + 1; // 12 or 24 hours 1244 max = getActualMaximum(WEEK_OF_YEAR); 1249 // If the new value is in between min and max 1251 if (value > min && value < max) { 1262 // Make sure the same thing for the max week 1263 fd += 7 * (max - internalGet(WEEK_OF_YEAR)); 1265 max--; 1286 // Make sure the same thing for the max week 1287 fd += 7 * (max 3301 getRolledValue(int value, int amount, int min, int max) argument [all...] |
H A D | Collections.java | 740 public static <T extends Object & Comparable<? super T>> T max(Collection<? extends T> coll) { method in class:Collections 776 public static <T> T max(Collection<? extends T> coll, Comparator<? super T> comp) { method in class:Collections 778 return (T)max((Collection) coll);
|
/libcore/ojluni/src/main/java/javax/sql/ |
H A D | RowSet.java | 331 * @param max the new max column size limit in bytes; zero means unlimited 335 void setMaxFieldSize(int max) throws SQLException; argument 354 * @param max the new maximum number of rows; zero means unlimited 358 void setMaxRows(int max) throws SQLException; argument
|
/libcore/benchmarks/src/benchmarks/regression/ |
H A D | R.java | 1878 public static final int max = 0; field in class:R
|