Class DynamicTuple
java.lang.Object
cloud.commandframework.types.tuples.DynamicTuple
- All Implemented Interfaces:
Tuple
Dynamic sized tuple backed by a
Object[]-
Method Summary
-
Method Details
-
of
Create a new dynamic tuple, containing the given elements- Parameters:
elements- Elements that should be contained in the tuple- Returns:
- Created tuple, preserving the order of the given elements
-
getSize
public int getSize()Description copied from interface:TupleGet the tuple size -
toArray
Description copied from interface:TupleTurn the tuple into a type erased array
-