Package anvil.java.util

Examples of anvil.java.util.Hashlist$Iterator


  public Brain(Zone zone, String poolname, int cachesize)
  {
    _zone = zone;
    _poolname = poolname;
    _cachesize = cachesize;
    _cache = new Hashlist();
  }
View Full Code Here


    clazz.setClassname(classname, null);
    clazz.setSuperClassname("java/lang/Object");
    clazz.addInterface("anvil/script/FunctionDispatcher");
    clazz.setAccessFlags(ACC_PUBLIC|ACC_FINAL);

    Hashlist constants = new Hashlist();

    //generic
    {
      Method method = clazz.createMethod("execute",
       "(Lanvil/script/Context;Lanvil/core/Any;[Lanvil/core/Any;)Lanvil/core/Any;",
View Full Code Here

 
  public synchronized Any setVariable(String name, Any value)
  {
    check();
    if (_attributes == null) {
      _attributes = new Hashlist();
    }
    dirty(E_DIRTY_ATTRIBUTES);
    _attributes.put(name, value);
    return value;
  }
View Full Code Here

 
  protected Any setInitialVariable(String name, Any value)
  {
    if (_attributes == null) {
      _attributes = new Hashlist();
    }
    _attributes.put(name, value);
    return value;
  }
View Full Code Here


  public boolean setPreference(String name, String value)
  {
    if (_prefs == null) {
      _prefs = new Hashlist();
    }
    if (value == null) {
      return (_prefs.remove(name) != null);
    } else {
      _prefs.put(name, value);
View Full Code Here

TOP

Related Classes of anvil.java.util.Hashlist$Iterator

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.