Package java.util

Examples of java.util.Vector.addElement()


    newVector.addElement(new Option(
              "\tRange of label indices to be used for selection on\n"+
        "\tnominal attribute.\n"+
        "\tFirst and last are valid indexes. (default all values)",
              "L", 1, "-L <index1,index2-index4,...>"));
    newVector.addElement(new Option(
        "\tMissing values count as a match. This setting is\n"+
              "\tindependent of the -V option.\n"+
              "\t(default missing values don't match)",
              "M", 0, "-M"));
    newVector.addElement(new Option(
View Full Code Here


    newVector.addElement(new Option(
        "\tMissing values count as a match. This setting is\n"+
              "\tindependent of the -V option.\n"+
              "\t(default missing values don't match)",
              "M", 0, "-M"));
    newVector.addElement(new Option(
        "\tInvert matching sense.",
              "V", 0, "-V"));
    newVector.addElement(new Option(
        "\tWhen selecting on nominal attributes, removes header\n"
        + "\treferences to excluded values.",
View Full Code Here

              "\t(default missing values don't match)",
              "M", 0, "-M"));
    newVector.addElement(new Option(
        "\tInvert matching sense.",
              "V", 0, "-V"));
    newVector.addElement(new Option(
        "\tWhen selecting on nominal attributes, removes header\n"
        + "\treferences to excluded values.",
              "H", 0, "-H"));

    return newVector.elements();
View Full Code Here

   */
  public Enumeration listOptions() {

    Vector newVector = new Vector(2);

    newVector.addElement(new Option(
              "\tNumber of execution slots.\n"
              + "\t(default 1 - i.e. no parallelism)",
              "num-slots", 1, "-num-slots <num>"));

    Enumeration enu = super.listOptions();
View Full Code Here

              + "\t(default 1 - i.e. no parallelism)",
              "num-slots", 1, "-num-slots <num>"));

    Enumeration enu = super.listOptions();
    while (enu.hasMoreElements()) {
      newVector.addElement(enu.nextElement());
    }
    return newVector.elements();
  }

  /**
 
View Full Code Here

  public Enumeration listOptions() {
    Vector  result;
   
    result = new Vector();

    result.addElement(new Option(
  "\tThe expression to use for filtering\n"
  + "\t(default: true).",
  "E", 1, "-E <expr>"));

    return result.elements();
View Full Code Here

  public Enumeration listOptions() {
    Vector  result;
   
    result = new Vector();

    result.addElement(new Option(
  "\tThe regular expression that the attribute names must match.\n"
  + "\t(default: ([\\s\\S]+))",
  "find", 1, "-find <regexp>"));

    result.addElement(new Option(
View Full Code Here

    result.addElement(new Option(
  "\tThe regular expression that the attribute names must match.\n"
  + "\t(default: ([\\s\\S]+))",
  "find", 1, "-find <regexp>"));

    result.addElement(new Option(
  "\tThe regular expression to replace matching attributes with.\n"
  + "\t(default: $0)",
  "replace", 1, "-replace <regexp>"));

    result.addElement(new Option(
View Full Code Here

    result.addElement(new Option(
  "\tThe regular expression to replace matching attributes with.\n"
  + "\t(default: $0)",
  "replace", 1, "-replace <regexp>"));

    result.addElement(new Option(
  "\tReplaces all occurrences instead of just the first.\n"
  + "\t(default: only first occurrence)",
  "all", 0, "-all"));

    result.addElement(new Option(
View Full Code Here

    result.addElement(new Option(
  "\tReplaces all occurrences instead of just the first.\n"
  + "\t(default: only first occurrence)",
  "all", 0, "-all"));

    result.addElement(new Option(
  "\tThe attribute range to work on.\n"
  + "This is a comma separated list of attribute indices, with "
        + "\"first\" and \"last\" valid values.\n"
        + "\tSpecify an inclusive range with \"-\".\n"
        + "\tE.g: \"first-3,5,6-10,last\".\n"
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.