Package sisc.data

Examples of sisc.data.Pair


      while (now < end)
      {
        // user terminated execution
        if (Thread.interrupted())
        {
          throw new SchemeException(new Pair(), null, null);
        } // if (Thread.interrupted())
        now = now + this.interval;
        if (now > end)
        {
          break;
View Full Code Here


   * @return a <code>Pair</code> value representing the entry, or
   * <tt>FALSE</tt> if no such entry is present.
   */
  static public Value assq (Value l, Value v)
  {
    Pair list = pair(l);
    while (list != EMPTYLIST) {
      Pair entry = pair(list.car);
      if (entry.car.eq(v))
        return entry;
      list = pair(list.cdr);
    }
    return FALSE;
View Full Code Here

  {
    Parameters params = emptyParam;

    if (!sparams.eq(FALSE)) {
      params = new Parameters();
      Pair sparamValues = pair(pair(sparams).cdr);
      while (sparamValues != EMPTYLIST) {
        Pair entry = pair(sparamValues.car);
        String name = string(entry.car);
        String value = string(entry.cdr);
        params.setParameter(name, value);
        sparamValues = pair(sparamValues.cdr);
      }
View Full Code Here

TOP

Related Classes of sisc.data.Pair

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.