Package com.yahoo.jrt
Class Values
java.lang.Object
com.yahoo.jrt.Values
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Values
public Values()Create an empty sequence of values
-
-
Method Details
-
satisfies
Check whether the values stored in this object satisfies the given type string.- Parameters:
types
- type string- Returns:
- true if this value sequence satisfies 'types'
-
add
Add a value to the end of the sequence- Parameters:
value
- the value to add- Returns:
- this, to enable chaining
-
get
Obtain a specific value from this sequence- Parameters:
idx
- the index of the value to obtain- Returns:
- a value from this sequence
-
size
public int size()Obtain the number of values in this sequence- Returns:
- the number of values in this sequence
-
toString
-