Examples of Hashtable


Examples of java.util.Hashtable

    super("MSG");
    addParam(passport);
    addParam(alias);
    addParam(String.valueOf(data.length));

    headers = new Hashtable();
    body = new StringBuffer();

    BufferedReader rd = new BufferedReader(new StringReader(new String(data)));

    try
View Full Code Here

Examples of java.util.Hashtable

  MsnMessage(Font font, Color color, String text)
  {
    super("MSG");
    addParam("N"); // We do not need message acknowledgements

    this.headers = new Hashtable();
    this.body = new StringBuffer(text);

    headers.put("MIME-Version", "1.0");
    headers.put("Content-Type", "text/plain; charset=UTF-8");
View Full Code Here

Examples of java.util.Hashtable

  {
    super(host, port, info);
    this.protocol = protocol;
    this.processor = processor;

    this.allGroups = new Hashtable();
    this.allBuddies = new Vector();
    this.allowList = new Vector();
    this.blockList = new Vector();
    this.confSBMap = new Hashtable();

    Command cmd = new Command("VER");
    cmd.addParam("MSNP8");
    sendToServer(cmd, "processVersion");
  }
View Full Code Here

Examples of java.util.Hashtable

  /**
   * Default constructor.
   */
  public YahooProtocol()
  {
    confRoomMap = new Hashtable();
    roomConfMap = new Hashtable();
    readBuffer = new Vector();
    writeBuffer = new Vector();

    smileys = Util.loadSmileys();

View Full Code Here

Examples of org.apache.batik.dom.util.HashTable

        while (child != null) {
            if (child.getNodeType() == child.PROCESSING_INSTRUCTION_NODE) {
                ProcessingInstruction pi
                    = (ProcessingInstruction)child;
               
                HashTable table = new HashTable();
                DOMUtilities.parseStyleSheetPIData(pi.getData(),
                                                   table);

                Object type = table.get(PSEUDO_ATTRIBUTE_TYPE);
                if (XSL_PROCESSING_INSTRUCTION_TYPE.equals(type)) {
                    Object href = table.get(PSEUDO_ATTRIBUTE_HREF);
                    if (href != null) {
                        return href.toString();
                    } else {
                        return null;
                    }
View Full Code Here

Examples of org.apache.flex.forks.batik.dom.util.HashTable

     * not trigger an <code>EventListener</code> designated to use
     * capture. 
     */
    public void addEventListener(String type, EventListener listener,
         boolean useCapture) {
  HashTable listeners;
  if (useCapture) {
      if (capturingListeners == null) {
    capturingListeners = new HashTable();
      }
      listeners = capturingListeners;
  } else {
      if (bubblingListeners == null) {
    bubblingListeners = new HashTable();
      }
      listeners = bubblingListeners;
  }
  EventListenerList list = (EventListenerList) listeners.get(type);
  if (list == null) {
      list = new EventListenerList();
      listeners.put(type, list);
  }
  if (!list.contains(listener)) {
      list.add(listener);
  }
    }
View Full Code Here

Examples of org.apache.xalan.xsltc.runtime.Hashtable

  _cdataStack.push(new Integer(-1));   // push dummy value
    }

    protected void initNamespaces() {
  // Namespaces
  _namespaces = new Hashtable();
  _nodeStack = new Stack();
  _prefixStack = new Stack();

  // Define the default namespace (initially maps to "" uri)
  Stack stack;
View Full Code Here

Examples of org.rsbot.client.HashTable

    if (!methods.game.isLoggedIn()) {
      return new RSGroundItem[0];
    }
    final List<RSGroundItem> list = new ArrayList<RSGroundItem>();

    final HashTable itemNC = methods.client.getRSItemHashTable();
    final int id = x | y << 14 | methods.client.getPlane() << 28;

    final org.rsbot.client.NodeListCache itemNLC = (org.rsbot.client.NodeListCache) methods.nodes.lookup(itemNC, id);

    if (itemNLC == null) {
View Full Code Here

Examples of org.rsbot.script.internal.wrappers.HashTable

    if (inter.getParentID() != -1) {
      return inter.getParentID();
    }

    final int mainID = getID() >>> 16;
    final HashTable ncI = new HashTable(methods.client.getRSInterfaceNC());

    for (RSInterfaceNode node = (RSInterfaceNode) ncI.getFirst(); node != null;
         node = (RSInterfaceNode) ncI.getNext()) {
      if (mainID == node.getMainID()) {
        return (int) node.getID();
      }
    }
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.