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

io.virtdata.libbasics.shared.stateful.from_long.SaveAutoDocsInfo Maven / Gradle / Ivy

There is a newer version: 2.12.15
Show newest version
// This file is auto-generated.
package io.virtdata.libbasics.shared.stateful.from_long;

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

@Service(DocFuncData.class)
public class SaveAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "Save";
  }

  public String getPackageName() {
    return "io.virtdata.libbasics.shared.stateful.from_long";
  }

  public String getClassJavadoc() {
    return "Save the current input value at this point in the function chain to a thread-local variable name.\n"
            + "The input value is unchanged, and available for the next function in the chain to use as-is.\n";
  }

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

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

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

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("Save", "", 
            new LinkedHashMap() {{
              put("name","java.lang.String");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("Save('foo')");
                add("for the current thread, save the input object value to the named variable");
              }});
            }}
          ));
          add(new DocForFuncCtor("Save", "", 
            new LinkedHashMap() {{
              put("nameFunc","java.util.function.LongFunction");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("Save(NumberNameToString())");
                add("for the current thread, save the current input object value to the named variable,where the variable name is provided by a function.");
              }});
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy