Package csw.params.core.models
Class ArrayData<T>
java.lang.Object
csw.params.core.models.ArrayData<T>
- All Implemented Interfaces:
Serializable
,scala.Equals
,scala.Product
A top level key for a parameter set representing an array like collection.
param: data input array
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionscala.collection.mutable.ArraySeq<T>
data()
static <T> ArrayData<T>
Create an ArrayData from one or more valuesstatic <T> ArrayData<T>
fromArrays
(T first, Object... rest) Create an ArrayData from one or more valuesstatic <T> ArrayData<T>
fromArrays
(T first, scala.collection.immutable.Seq<T> rest) Create an ArrayData from one or more valuesjValues()
A Java helper that returns an Array of values this parameter holdstoString()
A comma separated string representation of all values this ArrayData holdsvalues()
An Array of values this parameter holdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface scala.Equals
canEqual, equals
Methods inherited from interface scala.Product
productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
-
Constructor Details
-
ArrayData
-
-
Method Details
-
fromArrays
Create an ArrayData from one or more values- Parameters:
rest
- one or more valuesfirst
- (undocumented)- Returns:
- an instance of ArrayData
-
fromArray
Create an ArrayData from one or more values- Parameters:
values
- an Array of one or more values- Returns:
- an instance of ArrayData
-
fromArrays
Create an ArrayData from one or more values- Parameters:
rest
- one or more valuesfirst
- (undocumented)- Returns:
- an instance of ArrayData
-
data
-
values
An Array of values this parameter holds- Returns:
- (undocumented)
-
jValues
A Java helper that returns an Array of values this parameter holds- Returns:
- (undocumented)
-
toString
A comma separated string representation of all values this ArrayData holds
-