Searched defs:zero (Results 1 - 5 of 5) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
H A D | BigIntegerTest.java | 29 BigInteger zero = new BigInteger("0", 10); field in class:BigIntegerTest 94 assertTrue("Random number is negative", bi.compareTo(zero) >= 0); 100 assertTrue("Not zero", new BigInteger(0, rand).equals(BigInteger.ZERO)); 131 assertTrue("Incorrect value for zero", bi.equals(zero)); 217 assertTrue("0=0", zero.equals(BigInteger.valueOf(0))); 220 assertTrue("0=1", !zero.equals(one)); 221 assertTrue("0=-1", !zero.equals(minusOne)); 273 assertTrue("0+0", zero.add(zero) [all...] |
/libcore/ojluni/src/main/java/sun/invoke/util/ |
H A D | Wrapper.java | 29 // wrapperType primitiveType char zero emptyArray format 47 private final Object zero; field in class:Wrapper 53 private Wrapper(Class<?> wtype, Class<?> ptype, char tchar, Object zero, Object emptyArray, int format) { argument 57 this.zero = zero; 68 basicTypeChar, zero, 217 /** Produce a zero value for the given wrapper type. 218 * This will be a numeric zero for a number or character, 225 public Object zero() { return zero; } method in class:Wrapper 231 public <T> T zero(Class<T> type) { return convert(zero, type); } method in class:Wrapper [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
H A D | CompletableFutureTest.java | 5 * http://creativecommons.org/publicdomain/zero/1.0/ 3790 public ZeroException() { super("monadic zero"); } 3796 // monadic zero ? 3797 static <T> CompletableFuture<T> zero() { method in class:CompletableFutureTest.Monad 3880 CompletableFuture<Long> zero = Monad.zero(); 3902 // zero is a monadic zero 3903 Monad.assertZero(zero); 3905 // left zero [all...] |
H A D | JSR166TestCase.java | 4 * http://creativecommons.org/publicdomain/zero/1.0/ 91 * discriminable from zero time, and always allows enough time for the 1066 public static final Integer zero = new Integer(0); field in class:JSR166TestCase
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Formatter.java | 384 * a leading zero as necessary i.e. {@code 00 - 23}. 388 * zero as necessary, i.e. {@code 01 - 12}. 397 * <td> Minute within the hour formatted as two digits with a leading zero 402 * zero as necessary, i.e. {@code 00 - 60} ("{@code 60}" is a special 475 * with leading zero as necessary, i.e. {@code 00 - 99} 581 * <td> The result will be zero-padded 853 * {@linkplain java.text.DecimalFormatSymbols#getZeroDigit() zero digit} 870 * java.text.DecimalFormatSymbols#getZeroDigit() zero digits} are inserted 871 * after the sign character, if any, and before the first non-zero digit, until 878 * <li> If the value is negative (or floating-point negative zero) an 1860 private final char zero; field in class:Formatter [all...] |
Completed in 480 milliseconds