Lines Matching refs:value

30  * The <code>Value</code> class represents a pools value.
38 * @param pointer A pointer to a C value.
47 * @param name The name of the value.
49 * allocating the value.
60 * @param name The name of the value.
61 * @param value The value of the value.
63 * allocating the value.
65 public Value(String name, long value) throws PoolsException
68 setValue(value);
73 * @param name The name of the value.
74 * @param value The value of the value.
75 * @param s Indicates if the value is signed or not.
77 * allocating the value.
79 public Value(String name, long value, boolean s) throws PoolsException
82 setValue(value, s);
87 * @param name The name of the value.
88 * @param value The value of the value.
90 * allocating the value.
92 public Value(String name, String value) throws PoolsException
95 setValue(value);
100 * @param name The name of the value.
101 * @param value The value of the value.
103 * allocating the value.
105 public Value(String name, boolean value) throws PoolsException
108 setValue(value);
113 * @param name The name of the value.
114 * @param value The value of the value.
116 * allocating the value.
118 public Value(String name, double value) throws PoolsException
121 setValue(value);
128 * Check whether the value is locked or not
129 * @return returns the value of _locked
137 * Lock the value
145 * Unlock the value
154 * allocated for this value by the C proxy.
167 * Reclaim the memory allocated for this value by the C
186 * Name this value.
188 * @param name The name to set for this value.
196 * Set this value to take the supplied signed long value.
198 * @param value The value to which this value should be set.
200 public void setValue(long value)
202 PoolInternal.pool_value_set_int64(_this, value);
206 * Set this value to take the supplied long value.
208 * @param value The value to which this value should be set.
209 * @param s Is the value signed or unsigned.
211 public void setValue(long value, boolean s)
214 setValue(value);
215 PoolInternal.pool_value_set_uint64(_this, value);
219 * Set this value to take the supplied string value.
221 * @param value The value to which this value should be set.
222 * @throws PoolsExecption If the setting of the value fails.
224 public void setValue(String value) throws PoolsException
226 if (PoolInternal.pool_value_set_string(_this, value) !=
232 * Set this value to take the supplied boolean value.
234 * @param value The value to which this value should be set.
236 public void setValue(boolean value)
238 if (value == true)
245 * Set this value to take the supplied double value.
247 * @param value The value to which this value should be set.
249 public void setValue(double value)
251 PoolInternal.pool_value_set_double(_this, value);
255 * Returns the name of the value.
257 * @return the name of the value.
265 * Returns the pointer to the native value represented by this
268 * @return the pointer to the native value represented by this
287 * Returns a string representation of this value.
289 * @return a string representation of this value.
313 * Returns the value as a UnsignedInt64.
315 * @return the value as a UnsignedInt64.
316 * @throws PoolsException if the value is not an
325 * Returns the value as a long.
327 * @return the value as a long.
328 * @throws PoolsException if the value is not a long.
336 * Returns the value as a String.
338 * @return the value as a String.
339 * @throws PoolsException if the value is not a String.
347 * Returns the value as a boolean.
349 * @return the value as a boolean.
350 * @throws PoolsException if the value is not a boolean.
358 * Returns the value as a double.
360 * @return the value as a double.
361 * @throws PoolsException if the value is not a double.
369 * Returns the value as a UnsignedInt64.
371 * @param pointer the native value to be accessed.
372 * @return the value as a UnsignedInt64.
378 * Returns the value as a long.
380 * @param pointer the native value to be accessed.
381 * @return the value as a long.
386 * Returns the value as a String.
388 * @param pointer the native value to be accessed.
389 * @return the value as a String.
394 * Returns the value as a boolean.
396 * @param pointer the native value to be accessed.
397 * @return the value as a boolean.
402 * Returns the value as a double.
404 * @param pointer the native value to be accessed.
405 * @return the value as a double.