Package net.sf.chellow.monad.types

Examples of net.sf.chellow.monad.types.MonadString


      throws InternalException {
    return getValidatable(MonadDouble.class, parameterNameString);
  }

  public String getString(String parameterName) throws InternalException {
    MonadString monadString = getMonadString(parameterName);
    if (monadString != null) {
      return monadString.getString();
    } else {
      return null;
    }
  }
View Full Code Here


    }
  }

  public Character getCharacter(String parameterName)
      throws InternalException {
    MonadString monadString = getMonadString(parameterName);
    if (monadString != null) {
      String chars = monadString.getString();
      if (chars.length() > 0) {
        return chars.charAt(0);
      } else {
        return null;
      }
View Full Code Here

TOP

Related Classes of net.sf.chellow.monad.types.MonadString

Copyright © 2018 www.massapicom. 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.