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

io.nosqlbench.virtdata.library.basics.shared.functionadapters.ToLongUnaryOperatorAutoDocsInfo Maven / Gradle / Ivy

The newest version!
// This file is auto-generated.
package io.nosqlbench.virtdata.library.basics.shared.functionadapters;

import io.nosqlbench.nb.annotations.Service;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.processors.DocCtorData;
import io.nosqlbench.virtdata.api.processors.DocForFuncCtor;
import io.nosqlbench.virtdata.api.processors.DocFuncData;
import java.lang.String;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;

@Service(
    value = DocFuncData.class,
    selector = "io.nosqlbench.virtdata.library.basics.shared.functionadapters.ToLongUnaryOperator"
)
public class ToLongUnaryOperatorAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "ToLongUnaryOperator";
  }

  public String getPackageName() {
    return "io.nosqlbench.virtdata.library.basics.shared.functionadapters";
  }

  public String getClassJavadoc() {
    return "Adapts any compatible {@link FunctionalInterface} type to a LongUnaryOperator,\n"
            + "for use with higher-order functions, when they require a\n"
            + "LongUnaryOperator as an argument. Some of the higher-order functions within\n"
            + "this library specifically require a LongUnaryOperator as an argument, while\n"
            + "some of the other functions are provided in semantically equivalent\n"
            + "forms with compatible types which can't be converted directly or\n"
            + "automatically by Java.\n"
            + "\n"
            + "In such cases, those types of functions can be wrapped with the forms\n"
            + "described here in order to allow the inner and outer functions to work together.\n";
  }

  public String getInType() {
    return "long";
  }

  public String getOutType() {
    return "long";
  }

  public Category[] getCategories() {
    return new Category[] { Category.diagnostics };
  }

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("ToLongUnaryOperator", "", 
            new LinkedHashMap() {{
              put("f","java.util.function.LongFunction");
            }},
            new ArrayList>() {{
            }}
          ));
          add(new DocForFuncCtor("ToLongUnaryOperator", "", 
            new LinkedHashMap() {{
              put("f","java.util.function.Function");
            }},
            new ArrayList>() {{
            }}
          ));
          add(new DocForFuncCtor("ToLongUnaryOperator", "", 
            new LinkedHashMap() {{
              put("f","java.util.function.LongUnaryOperator");
            }},
            new ArrayList>() {{
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy