the Array whose members will be cast
Cast the Array's objects as type T
, returning a new Array with each data member that was
successfully cast.
Cast the Array's objects as type T
, returning a new Array with each data member that was
successfully cast. Has the potential to lose data, as any uncastable members are not included in the new
Array.
the type to which Array members will be cast
a new Array containing all the members of this Array that were successfully cast
Cast the Array's objects as type T
, returning a new Array with each data member that was
successfully cast and that satisfied pred
.
Cast the Array's objects as type T
, returning a new Array with each data member that was
successfully cast and that satisfied pred
. Has the potential to lose data, as any uncastable members are
not included in the new Array.
the type to which Array members will be cast
the function to be satisfied, based on some value of type T
a new Array containing all the members of this Array that were successfully cast and
that satisfied pred
Cast the wrapped object as type T
, optionally returning the newly cast object if the cast was successful
Cast the wrapped object as type T
, optionally returning the newly cast object if the cast was successful
the type to which this wrapped object will be cast
the ClassTag of type T
optionally, the newly cast object, or None if the cast was unsuccessful
(castableArray: CastableAny).cast(target)
Cast the wrapped object as type T
and optionally return it if it satisfies some predicate pred
Cast the wrapped object as type T
and optionally return it if it satisfies some predicate pred
the type to which this wrapped object will be cast
the function to be satisfied, based on some value of type T
optionally, the newly cast object, or None if the cast was unsuccessful or pred
was not satisfied
(castableArray: CastableAny).castIf(pred)(arg0)
Wrapper to allow an Array to be cast into a new Array with objects of type
T
. Attempts to cast each individual member of the given Array.