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

io.virtdata.formatting.FormatAutoDocsInfo Maven / Gradle / Ivy

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

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 FormatAutoDocsInfo implements DocFuncData {
  public String getClassName() {
    return "Format";
  }

  public String getPackageName() {
    return "io.virtdata.formatting";
  }

  public String getClassJavadoc() {
    return "Apply the Java String.format method to an incoming object.\n"
            + "@see Java 8 String.format(...) javadoc\n"
            + "Note: This function can often be quite slow, so more direct methods are generally preferrable.\n";
  }

  public String getInType() {
    return "java.lang.Object";
  }

  public String getOutType() {
    return "java.lang.String";
  }

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

  public List getCtors() {
    return new ArrayList() {{
          add(new DocForFuncCtor("Format", "", 
            new LinkedHashMap() {{
              put("format","java.lang.String");
            }},
            new ArrayList>() {{
              add(new ArrayList() {{
                add("Format('Y')");
                add("Yield the formatted year from a Java date object.");
              }});
            }}
          ));
        }};
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy