Class Combiner
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.rules.jdk.combine.Combiner
-
public class Combiner extends Object
Utility class for combiningCombinable
objects.
-
-
Constructor Summary
Constructors Constructor Description Combiner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends Combinable<T>>
intcombine(T[] objects)
Combine an array ofCombinable
objects.
-
-
-
Method Detail
-
combine
public static <T extends Combinable<T>> int combine(T[] objects)
Combine an array ofCombinable
objects.- Type Parameters:
T
- common combinable type of objects- Parameters:
objects
- The objects to combine. This array will contain the combined objects on return.- Returns:
- the number of objects in the input array
objects
that are valid after return
-
-