All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.codepoetics.fluvius.flows.Fluent Maven / Gradle / Ivy

There is a newer version: 1.10
Show newest version
package com.codepoetics.fluvius.flows;

import com.codepoetics.fluvius.api.scratchpad.Key;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

final class Fluent {

  private Fluent() {
  }

  static  TargetCapture targetCapture(Key target) {
    return new TargetCapture<>(target);
  }

  static InputKeysCapture inputKeysCapture(Key... inputKeys) {
    return inputKeysCapture(new HashSet<>(Arrays.asList(inputKeys)));
  }

  private static InputKeysCapture inputKeysCapture(Set> inputKeys) {
    return new InputKeysCapture(inputKeys);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy