Class Combiner


  • public class Combiner
    extends Object
    Utility class for combining Combinable objects.
    • Constructor Detail

      • Combiner

        public Combiner()
    • Method Detail

      • combine

        public static <T extends Combinable<T>> int combine​(T[] objects)
        Combine an array of Combinable 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