java.lang.Object
org.kink_lang.kink.VecHelper
The helper of vec vals.
-
Method Summary
Modifier and TypeMethodDescriptionof()
Returns a new empty vec.Returns a vec containing the elems.Returns a new vec.Returns a new vec.Returns a new vec from the range of the array.Returns a new vec.Returns a new vec.Returns a new vec.
-
Method Details
-
of
Returns a vec containing the elems.- Parameters:
elems
- the elems of the vec.- Returns:
- a vec.
-
of
Returns a new vec from the range of the array.- Parameters:
vals
- the array of vals.from
- the from index of the range (inclusive).to
- the to index of the range (exclusive).- Returns:
- a new vec.
-
of
Returns a new empty vec.- Returns:
- a new empty vec.
-
of
Returns a new vec.- Parameters:
e0
- the #0 elem.- Returns:
- a new vec.
-
of
Returns a new vec.- Parameters:
e0
- the #0 elem.e1
- the #1 elem.- Returns:
- a new vec.
-
of
Returns a new vec.- Parameters:
e0
- the #0 elem.e1
- the #1 elem.e2
- the #2 elem.- Returns:
- a new vec.
-
of
Returns a new vec.- Parameters:
e0
- the #0 elem.e1
- the #1 elem.e2
- the #2 elem.e3
- the #3 elem.- Returns:
- a new vec.
-
of
Returns a new vec.- Parameters:
elems
- the elems.- Returns:
- a new vec.
-