Package com.webobjects.foundation

Examples of com.webobjects.foundation.NSMutableArray.immutableClone()


        if (task != null) {
          tasks.add(task);
        } //~ if (task != null)
      } //~ if (thread instanceof ERXTaskThread)
    }
    return tasks.immutableClone();
  }

  /**
   * @return NSArray of {@link ERXTaskInfo}
   */
 
View Full Code Here


          ERXTaskInfo info = new ERXTaskInfo(task, elapsedTime);
          taskInfos.add(info);
        } //~ if (task != null)
      } //~ if (thread instanceof ERXTaskThread)
    }
    return taskInfos.immutableClone();
  }

  @SuppressWarnings("unchecked")
  public static <T> NSArray<T> taskForTaskClass(Class<T> clazz) {
    NSArray<ERXTaskInfo> taskInfos = taskInfos();
View Full Code Here

          if(task != null) {
            tasks.addObject(task);
          }
        }
      }
      return tasks.immutableClone();
    }
  }

  public abstract class DefaultImplementation implements Runnable, ERXLongResponseTask {
   
View Full Code Here

      }
    }
    if (actionClassName != null && temp.count() == 0) {
      temp.addObject(actionClassName);
    }
    return temp.immutableClone();
  }
 
  /**
   * Returns a dictionary similar to the normal request form value dict.
   * Translates /cgi-bin/.../wpa/foo/bar=2/baz into {foo = foo; bar = 2;
View Full Code Here

      if (hasBinding(Bindings.evalScripts)) _options.add("evalScripts: " + evalScripts());
      if (hasBinding(Bindings.onSuccess)) _options.add("onSuccess: " + valueForBinding(Bindings.onSuccess));
      if (hasBinding(Bindings.onComplete)) _options.add("onComplete: " + valueForBinding(Bindings.onComplete));
      if (hasBinding(Bindings.onCreate)) _options.add("onCreate: " + valueForBinding(Bindings.onCreate));

      return _options.immutableClone();
    }
   
    public String options() {
      return _options().componentsJoinedByString(",");
    }
View Full Code Here

      if (hasBinding(Bindings.name)) _options.add("name:'" + valueForBinding(Bindings.name) + "'");
      if (hasBinding(Bindings.onChange)) _options.add("onChange:" + valueForBinding(Bindings.onChange));
      if (hasBinding(Bindings.onComplete)) _options.add("onComplete:" + valueForBinding(Bindings.onComplete));
      if (hasBinding(Bindings.onSubmit)) _options.add("onChange:" + valueForBinding(Bindings.onSubmit));

      return _options.immutableClone();
    }
   
    public String options() {
      return _options().componentsJoinedByString(", ");
    }
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.