Searched refs:value (Results 1 - 25 of 563) sorted by relevance

1234567891011>>

/libcore/luni/src/main/java/android/util/
H A DMutableBoolean.java22 public boolean value; field in class:MutableBoolean
24 public MutableBoolean(boolean value) { argument
25 this.value = value;
H A DMutableByte.java22 public byte value; field in class:MutableByte
24 public MutableByte(byte value) { argument
25 this.value = value;
H A DMutableChar.java22 public char value; field in class:MutableChar
24 public MutableChar(char value) { argument
25 this.value = value;
H A DMutableDouble.java22 public double value; field in class:MutableDouble
24 public MutableDouble(double value) { argument
25 this.value = value;
H A DMutableFloat.java22 public float value; field in class:MutableFloat
24 public MutableFloat(float value) { argument
25 this.value = value;
H A DMutableInt.java22 public int value; field in class:MutableInt
24 public MutableInt(int value) { argument
25 this.value = value;
H A DMutableLong.java22 public long value; field in class:MutableLong
24 public MutableLong(long value) { argument
25 this.value = value;
H A DMutableShort.java22 public short value; field in class:MutableShort
24 public MutableShort(short value) { argument
25 this.value = value;
/libcore/ojluni/src/main/java/java/text/
H A DAnnotation.java29 * An Annotation object is used as a wrapper for a text attribute value if
35 * the same value for this attribute, the attribute still cannot be applied to
36 * the combined range as a whole with this value.
37 * <li>The attribute or its value usually do no longer apply if the underlying text is
48 * Wrapping the attribute value into an Annotation object guarantees that
60 * Constructs an annotation record with the given value, which
62 * @param value The value of the attribute
64 public Annotation(Object value) { argument
65 this.value
82 private Object value; field in class:Annotation
[all...]
H A DEntryPair.java43 * is the contracting character name and value is its collation
49 public int value; field in class:EntryPair
52 public EntryPair(String name, int value) { argument
53 this(name, value, true);
55 public EntryPair(String name, int value, boolean fwd) { argument
57 this.value = value;
/libcore/ojluni/src/main/java/java/util/function/
H A DDoublePredicate.java46 * @param value the input argument
50 boolean test(double value); argument
70 return (value) -> test(value) && other.test(value);
81 return (value) -> !test(value);
102 return (value) -> test(value) || other.test(value);
[all...]
H A DIntPredicate.java46 * @param value the input argument
50 boolean test(int value); argument
70 return (value) -> test(value) && other.test(value);
81 return (value) -> !test(value);
102 return (value) -> test(value) || other.test(value);
[all...]
H A DLongPredicate.java46 * @param value the input argument
50 boolean test(long value); argument
70 return (value) -> test(value) && other.test(value);
81 return (value) -> !test(value);
102 return (value) -> test(value) || other.test(value);
[all...]
H A DDoubleToIntFunction.java44 * @param value the function argument
47 int applyAsInt(double value); argument
H A DDoubleToLongFunction.java44 * @param value the function argument
47 long applyAsLong(double value); argument
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpReplyCode.java29 * to the numerical value according to the various RFCs (RFC 959 in
87 private final int value; field in class:FtpReplyCode
90 this.value = val;
94 * Returns the numerical value of the code.
96 * @return the numerical value.
99 return value;
104 * This means beginning with a 1 (which means a value between 100 and 199)
110 return value >= 100 && value < 200;
115 * This means beginning with a 2 (which means a value betwee
[all...]
/libcore/ojluni/src/main/java/sun/util/locale/
H A DExtension.java37 private String value, id; field in class:Extension
43 Extension(char key, String value) { argument
45 setValue(value);
48 protected void setValue(String value) { argument
49 this.value = value;
50 this.id = key + LanguageTag.SEP + value;
58 return value;
/libcore/json/src/main/java/org/json/
H A DJSON.java21 * Returns the input if it is a JSON-permissible value; throws otherwise.
25 throw new JSONException("Forbidden numeric value: " + d);
30 static Boolean toBoolean(Object value) { argument
31 if (value instanceof Boolean) {
32 return (Boolean) value;
33 } else if (value instanceof String) {
34 String stringValue = (String) value;
44 static Double toDouble(Object value) { argument
45 if (value instanceof Double) {
46 return (Double) value;
58 toInteger(Object value) argument
72 toLong(Object value) argument
86 toString(Object value) argument
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
H A DBigIntegerToStringTest.java36 String value = "442429234853876401";
38 BigInteger aNumber = new BigInteger(value, radix);
40 assertTrue(result.equals(value));
47 String value = "-101001100010010001001010101110000101010110001010010101010101010101010101010101010101010101010010101";
49 BigInteger aNumber = new BigInteger(value, radix);
51 assertTrue(result.equals(value));
58 String value = "101000011111000000110101010101010101010001001010101010101010010101010101010000100010010";
60 BigInteger aNumber = new BigInteger(value, radix);
62 assertTrue(result.equals(value));
69 String value
[all...]
/libcore/luni/src/main/java/libcore/util/
H A DObjects.java38 * Returns a string reporting the value of each declared field, via reflection.
53 Object value = f.get(o);
62 if (value.getClass().isArray()) {
63 if (value.getClass() == boolean[].class) {
64 sb.append(Arrays.toString((boolean[]) value));
65 } else if (value.getClass() == byte[].class) {
66 sb.append(Arrays.toString((byte[]) value));
67 } else if (value.getClass() == char[].class) {
68 sb.append(Arrays.toString((char[]) value));
69 } else if (value
[all...]
/libcore/ojluni/src/main/java/java/util/
H A DOptional.java33 * A container object which may or may not contain a non-null value.
34 * If a value is present, {@code isPresent()} will return {@code true} and
35 * {@code get()} will return the value.
38 * value are provided, such as {@link #orElse(java.lang.Object) orElse()}
39 * (return a default value if value not present) and
41 * of code if the value is present).
52 * If non-null, the value; if null, indicates no value is present
54 private final T value; field in class:Optional
90 Optional(T value) argument
102 of(T value) argument
115 ofNullable(T value) argument
[all...]
H A DOptionalDouble.java32 * A container object which may or may not contain a {@code double} value.
33 * If a value is present, {@code isPresent()} will return {@code true} and
34 * {@code getAsDouble()} will return the value.
37 * value are provided, such as {@link #orElse(double) orElse()}
38 * (return a default value if value not present) and
40 * of code if the value is present).
51 * If true then the value is present, otherwise indicates no value is present
54 private final double value; field in class:OptionalDouble
87 OptionalDouble(double value) argument
98 of(double value) argument
[all...]
H A DOptionalInt.java32 * A container object which may or may not contain a {@code int} value.
33 * If a value is present, {@code isPresent()} will return {@code true} and
34 * {@code getAsInt()} will return the value.
37 * value are provided, such as {@link #orElse(int) orElse()}
38 * (return a default value if value not present) and
40 * of code if the value is present).
51 * If true then the value is present, otherwise indicates no value is present
54 private final int value; field in class:OptionalInt
87 OptionalInt(int value) argument
99 of(int value) argument
[all...]
H A DOptionalLong.java32 * A container object which may or may not contain a {@code long} value.
33 * If a value is present, {@code isPresent()} will return {@code true} and
34 * {@code getAsLong()} will return the value.
37 * value are provided, such as {@link #orElse(long) orElse()}
38 * (return a default value if value not present) and
40 * of code if the value is present).
51 * If true then the value is present, otherwise indicates no value is present
54 private final long value; field in class:OptionalLong
87 OptionalLong(long value) argument
98 of(long value) argument
[all...]
/libcore/ojluni/src/main/java/java/sql/
H A DDriverPropertyInfo.java40 * name and value. The <code>description</code> and <code>choices</code>
45 * @param value the current value, which may be null
47 public DriverPropertyInfo(String name, String value) { argument
49 this.value = value;
63 * The <code>required</code> field is <code>true</code> if a value must be
70 * The <code>value</code> field specifies the current value of
74 * may be null if no value i
76 public String value = null; field in class:DriverPropertyInfo
[all...]

Completed in 377 milliseconds

1234567891011>>