Schnittstelle IArrayTool
- Alle bekannten Implementierungsklassen:
ArrayTool
public interface IArrayTool
A
IArrayTool provides functions to handle arrays.- Version:
- 2024-12-25
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibung<E> E[]createArrayWithElement(E element, E... elements) createIterable(byte[] bytes) createIterable(double[] values) createIterable(int[] values) createIterable(long[] values) <E> Iterable<E> createIterable(E[] elements) createString(long[] values)
-
Methodendetails
-
createArrayWithElement
<E> E[] createArrayWithElement(E element, E... elements) - Typparameter:
E- is the type of the given element and the given elements.- Parameter:
element-elements-- Gibt zurück:
- a new array with the given element and elements.
- Löst aus:
RuntimeException- if the given elements is null.
-
createIterable
- Parameter:
bytes-- Gibt zurück:
- a new
Iterablewith the given bytes. - Löst aus:
RuntimeException- if the given bytes is null.
-
createIterable
- Parameter:
values-- Gibt zurück:
- a new
Iterablewith the given values. - Löst aus:
RuntimeException- if the given values is null.
-
createIterable
- Typparameter:
E- is the type of the given elements.- Parameter:
elements-- Gibt zurück:
- a new
Iterablewith the given elements. - Löst aus:
RuntimeException- if the given elements is null.
-
createIterable
- Parameter:
values-- Gibt zurück:
- a new
Iterablewith the given values. - Löst aus:
RuntimeException- if the given values is null.
-
createIterable
- Parameter:
values-- Gibt zurück:
- a new
Iterablewith the given values. - Löst aus:
RuntimeException- if the given values is null.
-
createString
- Parameter:
values-- Gibt zurück:
- a
Stringrepresentation of the given values. - Löst aus:
RuntimeException- if the given values is null.
-