Lines Matching refs:value

32      * The boolean value of the receiver.
34 private final boolean value;
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
77 * the primitive boolean value, {@code true} or {@code false}.
79 public Boolean(boolean value) {
80 this.value = value;
84 * Gets the primitive value of this boolean, either {@code true} or
87 * @return this object's primitive value, {@code true} or {@code false}.
90 return value;
96 * {@code Boolean} and have the same boolean value as this object.
106 return (o == this) || ((o instanceof Boolean) && (((Boolean) o).value == value));
115 * @return 0 if the value of this boolean and the value of {@code that} are
116 * equal; a positive value if the value of this boolean is
117 * {@code true} and the value of {@code that} is {@code false}; a
118 * negative value if the value if this boolean is {@code false} and
119 * the value of {@code that} is {@code true}.
124 return compare(value, that.value);
146 return value ? 1231 : 1237;
153 * @return "true" if the value of this boolean is {@code true}, "false"
158 return String.valueOf(value);
162 * Returns the {@code boolean} value of the system property identified by
183 * the string representation of a boolean value.
196 * @param value
198 * @return "true" if {@code value} is {@code true}, "false" otherwise.
200 public static String toString(boolean value) {
201 return String.valueOf(value);
205 * Parses the specified string as a boolean value.
208 * the string representation of a boolean value.
218 * Returns a {@code Boolean} instance for the specified boolean value.