Class VariableString

All Implemented Interfaces:
JWATConstants

public class VariableString extends VariableNumber
String variable of a JWAT workload observation.
  • Constructor Details

  • Method Details

    • getOriginalValue

      public String getOriginalValue(int Index) throws ArrayIndexOutOfBoundsException
      Returns Index-th value of the variable
      Parameters:
      Index - index of variable's value desired
      Returns:
      value of Index-th value
      Throws:
      ArrayIndexOutOfBoundsException - throws if Index is < 0 or > numbero of observations
    • getOriginalValue

      public String getOriginalValue(int Index, int var) throws ArrayIndexOutOfBoundsException
      Returns the index-th value of the var-th variable of the observaion
      Parameters:
      Index - index of variable's value desired
      var - variable index
      Returns:
      index-th value of the var-th variable
      Throws:
      ArrayIndexOutOfBoundsException - throws if Index is < 0 or > numbero of observations or var < 0 or > number of variables ( elements of observation )
    • getListOfMatching

      public int[] getListOfMatching(String s)