Examples of characterHasName()


Examples of mesquite.categ.lib.CategoricalData.characterHasName()

      if (tbChar == null) {
        // it is probably a Standard dataType,
        // need to create characters for each column.

        if (!categoricalData.characterHasName(i) && !categoricalData.hasStateNames(i)) {
          // 1. if there is no character name defined and no state names defined,
          // need to use the defined symbol character
          // which is shared for the entire matrix.
          if (symbolChar == null) {
View Full Code Here

Examples of mesquite.categ.lib.CategoricalData.characterHasName()

          // 2. if there is character name defined but still no state names,
          // create a new character but need to use symbols as state names.
          tbChar = createCharUseSymbols(categoricalData, i);

          String charName = null;
          if (categoricalData.characterHasName(i)) {
            charName = categoricalData.getCharacterName(i);
          }
          tbChar.setDescription(charName);

        } else {
View Full Code Here

Examples of mesquite.categ.lib.CategoricalData.characterHasName()

          // 3. has stateNames defined,
          // create a new character and set defined state names and symbols.
          tbChar = new DiscreteChar();

          String charName = null;
          if (categoricalData.characterHasName(i)) {
            charName = categoricalData.getCharacterName(i);
          }
          tbChar.setDescription(charName);

          int lastState = categoricalData.maxStateWithName(i);
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.