/libcore/luni/src/main/java/libcore/util/ |
H A D | MutableBoolean.java | 20 public boolean value; field in class:MutableBoolean 22 public MutableBoolean(boolean value) { argument 23 this.value = value;
|
H A D | MutableByte.java | 20 public byte value; field in class:MutableByte 22 public MutableByte(byte value) { argument 23 this.value = value;
|
H A D | MutableChar.java | 20 public char value; field in class:MutableChar 22 public MutableChar(char value) { argument 23 this.value = value;
|
H A D | MutableDouble.java | 20 public double value; field in class:MutableDouble 22 public MutableDouble(double value) { argument 23 this.value = value;
|
H A D | MutableFloat.java | 20 public float value; field in class:MutableFloat 22 public MutableFloat(float value) { argument 23 this.value = value;
|
H A D | MutableInt.java | 20 public int value; field in class:MutableInt 22 public MutableInt(int value) { argument 23 this.value = value;
|
H A D | MutableLong.java | 20 public long value; field in class:MutableLong 22 public MutableLong(long value) { argument 23 this.value = value;
|
H A D | MutableShort.java | 20 public short value; field in class:MutableShort 22 public MutableShort(short value) { argument 23 this.value = value;
|
H A D | Objects.java | 38 * 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/luni/src/main/java/java/text/ |
H A D | Annotation.java | 21 * Wrapper for a text attribute value which represents an annotation. An 27 * value is the same.</li> 39 private Object value; field in class:Annotation 48 value = attribute; 52 * Returns the value of this annotation. The value may be {@code null}. 54 * @return the value of this annotation or {@code null}. 57 return value; 67 return getClass().getName() + "[value=" + value [all...] |
/libcore/json/src/main/java/org/json/ |
H A D | JSON.java | 21 * 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/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
H A D | PKIFailureInfo.java | 50 The value of PKIFailureInfo can take only one of the values, 95 private final int value; field in class:PKIFailureInfo 99 PKIFailureInfo(int value) { argument 100 this.value = value; 104 * @return int value of the failure 107 return value; 116 if (cur.value > maxValue) { 117 maxValue = cur.value; 124 * @param value 127 getInstance(int value) argument [all...] |
/libcore/luni/src/main/java/java/sql/ |
H A D | DriverPropertyInfo.java | 29 * If the value member can be chosen from a set of possible values, they are 45 * {@code true} when the value member must be provided during {@code 51 * The current value associated with this property. It is depending on the 55 public String value; field in class:DriverPropertyInfo 59 * value. Other class members take their default values. 63 * @param value 64 * The property value. 66 public DriverPropertyInfo(String name, String value) { argument 68 this.value = value; [all...] |
/libcore/support/src/test/java/tests/support/ |
H A D | Support_Configuration.java | 152 String value; 154 value = props.get("DomainAddress"); 155 if (value != null) { 156 DomainAddress = value; 159 value = props.get("WebName"); 160 if (value != null) { 161 WebName = value; 164 value = props.get("TestResourcesDir"); 165 if (value != null) { 166 TestResourcesDir = value; [all...] |
/libcore/luni/src/main/java/libcore/net/http/ |
H A D | HeaderParser.java | 34 public static void parseCacheControl(String value, CacheControlHandler handler) { argument 36 while (pos < value.length()) { 38 pos = skipUntil(value, pos, "=,"); 39 String directive = value.substring(tokenStart, pos).trim(); 41 if (pos == value.length() || value.charAt(pos) == ',') { 48 pos = skipWhitespace(value, pos); 53 if (pos < value.length() && value.charAt(pos) == '\"') { 56 pos = skipUntil(value, po 152 parseSeconds(String value) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/ |
H A D | AnnotationMember.java | 32 * It consists of name and value, supplemented with element 34 * <br>The value may be one of the following types: 43 * The last type is specific for this implementation; a Throwable value 46 * is requested for value. 57 * Tag description of a Throwable value type. 62 * Tag description of an array value type. 67 * Tag description of all value types except arrays and Throwables. 86 * Singleton representing missing element value. 91 protected final Object value; // a primitive value i field in class:AnnotationMember [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
H A D | EnumTest.java | 27 Roshambo value = Roshambo.PAPER; 28 assertTrue(value.getClass() == Roshambo.class); 29 new SerializationTester<Roshambo>(value, s).test(); 36 Roshambo value = Roshambo.ROCK; 37 assertTrue(value.getClass() != Roshambo.class); 38 new SerializationTester<Roshambo>(value, s).test();
|
/libcore/luni/src/main/java/java/lang/ |
H A D | Boolean.java | 32 * The boolean value of the receiver. 34 private final boolean value; field in class:Boolean 47 * The {@code Boolean} object that represents the primitive value 53 * The {@code Boolean} object that represents the primitive value 59 * Constructs a new {@code Boolean} with its boolean value specified by 62 * Boolean representing the primitive value {@code true}, otherwise it will 63 * be a Boolean representing the primitive value {@code false}. 66 * the string representing a boolean value. 74 * value. 76 * @param value 79 Boolean(boolean value) argument 200 toString(boolean value) argument [all...] |
H A D | AbstractStringBuilder.java | 37 private char[] value; field in class:AbstractStringBuilder 47 return value; 55 return value; 70 value = val; 75 value = new char[INITIAL_CAPACITY]; 82 value = new char[capacity]; 88 value = new char[count + INITIAL_CAPACITY]; 89 string._getChars(0, count, value, 0); 93 int newCount = ((value.length >> 1) + value [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
H A D | hc_attrinsertbefore1.java | 31 * Appends a text node to an attribute and checks if the value of 64 String value; 78 value = titleAttr.getValue(); 79 assertEquals("attrValue", "Yesterday", value); 80 value = titleAttr.getNodeValue(); 81 assertEquals("attrNodeValue", "Yesterday", value); 82 value = retval.getNodeValue(); 83 assertEquals("retvalValue", "terday", value); 85 value = firstChild.getNodeValue(); 86 assertEquals("firstChildValue", "Yes", value); [all...] |
H A D | hc_attrinsertbefore2.java | 31 * Prepends a text node to an attribute and checks if the value of 64 String value; 78 value = titleAttr.getValue(); 79 assertEquals("attrValue", "terdayYes", value); 80 value = titleAttr.getNodeValue(); 81 assertEquals("attrNodeValue", "terdayYes", value); 82 value = retval.getNodeValue(); 83 assertEquals("retvalValue", "terday", value); 85 value = firstChild.getNodeValue(); 86 assertEquals("firstChildValue", "terday", value); [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 383 * Sets the element of the array at the specified index to the value. 384 * Equivalent to {@code array[index] = value}. If the array 385 * component is a primitive type, the value is automatically unboxed. 389 * if {@code array} is not an array or the value cannot be 394 public static void set(Object array, int index, Object value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { argument 400 if (value != null && !array.getClass().getComponentType().isInstance(value)) { 403 ((Object[]) array)[index] = value; 405 if (value == null) { 408 if (value instanceo 438 setBoolean(Object array, int index, boolean value) argument 456 setByte(Object array, int index, byte value) argument 484 setChar(Object array, int index, char value) argument 510 setDouble(Object array, int index, double value) argument 528 setFloat(Object array, int index, float value) argument 548 setInt(Object array, int index, int value) argument 572 setLong(Object array, int index, long value) argument 594 setShort(Object array, int index, short value) argument [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
H A D | DocumentBuilderSettingStrategy.java | 39 boolean value) throws DOMTestIncompatibleException; 45 public void applySetting(DocumentBuilderFactory factory, boolean value) 47 factory.setCoalescing(value); 59 public void applySetting(DocumentBuilderFactory factory, boolean value) 61 factory.setExpandEntityReferences(value); 72 public void applySetting(DocumentBuilderFactory factory, boolean value) 74 factory.setIgnoringElementContentWhitespace(value); 84 public void applySetting(DocumentBuilderFactory factory, boolean value) 86 if (value) { 100 public void applySetting(DocumentBuilderFactory factory, boolean value) throw 37 applySetting( DocumentBuilderFactory factory, boolean value) argument [all...] |
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | DocumentBuilderSettingStrategy.java | 20 boolean value); 26 boolean value) { 27 factory.setCoalescing(value); 37 public void applySetting(DocumentBuilderFactory factory, boolean value) { 38 factory.setExpandEntityReferences(value); 47 public void applySetting(DocumentBuilderFactory factory, boolean value) { 48 factory.setIgnoringElementContentWhitespace(value); 57 public void applySetting(DocumentBuilderFactory factory, boolean value) { 58 if (value) { 69 public void applySetting(DocumentBuilderFactory factory, boolean value) 19 applySetting(DocumentBuilderFactory factory, boolean value) argument [all...] |
/libcore/luni/src/main/java/java/io/ |
H A D | EmulatedFieldsForDumping.java | 60 * Find and set the byte value of a given field named <code>name</code> in 65 * @param value 66 * New value for the field. 69 public void put(String name, byte value) { argument 70 emulatedFields.put(name, value); 74 * Find and set the char value of a given field named <code>name</code> in 79 * @param value 80 * New value for the field. 83 public void put(String name, char value) { argument 84 emulatedFields.put(name, value); 97 put(String name, double value) argument 111 put(String name, float value) argument 125 put(String name, int value) argument 139 put(String name, long value) argument 153 put(String name, Object value) argument 167 put(String name, short value) argument 181 put(String name, boolean value) argument [all...] |