Searched defs:MAX_VALUE (Results 1 - 13 of 13) sorted by relevance

/libcore/luni/src/main/java/libcore/util/
H A DNonNull.java43 int to() default Integer.MAX_VALUE;
H A DNullFromTypeParam.java42 int to() default Integer.MAX_VALUE;
H A DNullable.java43 int to() default Integer.MAX_VALUE;
/libcore/ojluni/src/main/java/sun/misc/
H A DDoubleConsts.java44 public static final double MAX_VALUE = java.lang.Double.MAX_VALUE; field in class:DoubleConsts
67 * <code>Math.ilogb(Double.MAX_VALUE)</code>.
H A DFloatConsts.java44 public static final float MAX_VALUE = java.lang.Float.MAX_VALUE; field in class:FloatConsts
63 * <code>Math.ilogb(Float.MAX_VALUE)</code>.
/libcore/ojluni/src/main/java/java/lang/
H A DByte.java56 public static final byte MAX_VALUE = 127; field in class:Byte
150 if (i < MIN_VALUE || i > MAX_VALUE)
278 if (i < MIN_VALUE || i > MAX_VALUE)
H A DShort.java55 public static final short MAX_VALUE = 32767; field in class:Short
119 if (i < MIN_VALUE || i > MAX_VALUE)
283 if (i < MIN_VALUE || i > MAX_VALUE)
H A DDouble.java79 public static final double MAX_VALUE = 0x1.fffffffffffffP+1023; // 1.7976931348623157e+308 field in class:Double
103 * {@code Math.getExponent(Double.MAX_VALUE)}.
267 * <tr><td>{@code Double.MAX_VALUE}</td>
413 * #MAX_VALUE} + {@link Math#ulp(double) ulp(MAX_VALUE)}/2),
576 return Math.abs(d) <= DoubleConsts.MAX_VALUE;
H A DFloat.java78 public static final float MAX_VALUE = 0x1.fffffeP+127f; // 3.4028235e+38f field in class:Float
101 * Math.getExponent(Float.MAX_VALUE)}.
269 * <tr><td>{@code Float.MAX_VALUE}</td>
373 * #MAX_VALUE} + {@link Math#ulp(float) ulp(MAX_VALUE)}/2),
490 return Math.abs(f) <= FloatConsts.MAX_VALUE;
H A DInteger.java64 @Native public static final int MAX_VALUE = 0x7fffffff; field in class:Integer
502 99999999, 999999999, Integer.MAX_VALUE };
593 int limit = -Integer.MAX_VALUE;
612 // Accumulating negatively avoids surprises near MAX_VALUE
657 * numbers larger than {@code MAX_VALUE}.
710 if (len <= 5 || // Integer.MAX_VALUE in Character.MAX_RADIX is 6 digits
711 (radix == 10 && len <= 9) ) { // Integer.MAX_VALUE in base 10 is 10 digits
829 // Maximum array size is Integer.MAX_VALUE
830 h = Math.min(i, Integer.MAX_VALUE - (-low) -1);
H A DLong.java66 @Native public static final long MAX_VALUE = 0x7fffffffffffffffL; field in class:Long
446 while (i > Integer.MAX_VALUE) {
572 long limit = -Long.MAX_VALUE;
591 // Accumulating negatively avoids surprises near MAX_VALUE
643 * positive numbers larger than {@code MAX_VALUE}.
696 if (len <= 12 || // Long.MAX_VALUE in Character.MAX_RADIX is 13 digits
697 (radix == 10 && len <= 18) ) { // Long.MAX_VALUE in base 10 is 19 digits
H A DCharacter.java168 public static final char MAX_VALUE = '\uFFFF'; field in class:Character
4704 * {@link #MIN_VALUE} and {@link #MAX_VALUE} inclusive;
4711 // codePoint >= MIN_VALUE && codePoint <= MAX_VALUE
/libcore/ojluni/src/main/java/java/time/
H A DYear.java139 public static final int MAX_VALUE = 999_999_999; field in class:Year
215 * @param isoYear the ISO proleptic year to represent, from {@code MIN_VALUE} to {@code MAX_VALUE}
329 * @return the year, {@code MIN_VALUE} to {@code MAX_VALUE}
430 return (year <= 0 ? ValueRange.of(1, MAX_VALUE + 1) : ValueRange.of(1, MAX_VALUE));
779 return (amountToSubtract == Long.MIN_VALUE ? plus(Long.MAX_VALUE, unit).plus(1, unit) : plus(-amountToSubtract, unit));
792 return (yearsToSubtract == Long.MIN_VALUE ? plusYears(Long.MAX_VALUE).plusYears(1) : plusYears(-yearsToSubtract));

Completed in 218 milliseconds