Examples of elementAt()


Examples of abstrasy.Node.elementAt()

            Node acc=arg0.select(0, arg0.size());
            int i = 2;
            while (i < startAt.size()){
                Node ap=startAt.getSubNode(i++, qt);
                for(int j=0;j<ap.size();j++)
                    acc.addElement(ap.elementAt(j).secure());
            }
            return acc;
        }
        else {
            // hash
View Full Code Here

Examples of antlr.collections.impl.Vector.elementAt()

          // Walk the token vocabulary and generate code to register every TokenID->ASTNodeType
          // mapping specified in the  tokens {...} section with the ASTFactory.
      Vector v = g.tokenManager.getVocabulary();
      for (int i = 0; i < v.size(); i++) {
        String s = (String)v.elementAt(i);
        if (s != null) {
          TokenSymbol ts = g.tokenManager.getTokenSymbol(s);
          if (ts != null && ts.getASTNodeType() != null) {
            println("factory.setTokenTypeASTNodeType(" + s + ", \"" + ts.getASTNodeType() + "\");");
          }
View Full Code Here

Examples of anvil.core.Array.elementAt()

    try {
      Vector vector = new Vector();
      if (attachments.isArray()) {
        Array array = attachments.toArray();
        for (int i=0; i<array.size(); i++) {
          vector.add(array.elementAt(i).toObject());
        }
      }
      MailUtils.sendMail(host, from, to, cc, subject, content, vector);
      return Any.TRUE;
    } catch (Exception e) {
View Full Code Here

Examples of ariba.ui.aribaweb.core.AWBindingDictionary.elementAt()

                    }
                }
            }

            for (int index = bindings.size() - 1; index >= 0; index--) {
                AWBinding currentBinding = bindings.elementAt(index);
                Object value = currentBinding.value(component);
                String key = bindings.keyAt(index);
                context.set(key, value);
            }
View Full Code Here

Examples of ariba.ui.aribaweb.util.AW2DVector.elementAt()

                            if (firstCharacter >= '0' && firstCharacter <= '9') {
                                String currentLocalizedString = (String)localizedStringsHashtable.get(currentStringId);
                                localizedStringsCopy.setElementAt(currentLocalizedString, resourceManagerIndex, Integer.parseInt(currentStringId));
                            }
                        }
                        localizedString = (String)localizedStringsCopy.elementAt(resourceManagerIndex, stringId);
                        if (localizedString == null) {
                            if (AWLocal.IsDebuggingEnabled) {
                                localizedString =
                                    AWUtil.addEmbeddedContextForDefaultString(stringId, originalString, component.namePath());
                            }
View Full Code Here

Examples of ariba.ui.aribaweb.util.AWStringDictionary.elementAt()

        if (otherBindings != null) {
            AWStringDictionary otherBindingsValues = (AWStringDictionary)otherBindings.value(component);
            if (otherBindingsValues != null) {
                for (int index = otherBindingsValues.size() - 1; index >= 0; index--) {
                    AWEncodedString currentBindingName = otherBindingsValues.nameAt(index);
                    AWEncodedString currentBindingValue = otherBindingsValues.elementAt(index);

                    // translate any "on..." handlers
                    String bindingString = currentBindingName.string();
                    AWEncodedString translatedBinding;
                    if (bindingString.startsWith("on") && (translatedBinding = (AWEncodedString)_TranslatedBindings.get(bindingString)) != null) {
View Full Code Here

Examples of ariba.util.fieldvalue.OrderedList.elementAt()

        incrementNestingLevel();
        OrderedList orderedListClassExtension = OrderedList.get(currSubList);
        int count = orderedListClassExtension.size(currSubList);
        for (int i=0; i<count; i++) {
            Object currObj = orderedListClassExtension.elementAt(currSubList, i);
            all.add(currObj);
            setCurrentItem(currObj);
            if (isExpanded()) {
                accumulateList(all, currentItemChildren());
            }
View Full Code Here

Examples of aterm.ATermList.elementAt()

    ATermList list = (ATermList) pattern;
    int length = list.getLength();
    if (length == 0) {
      result = "ATempty";
    } else {
      ATerm last = list.elementAt(length - 1);
      if (last.getType() == ATerm.PLACEHOLDER) {
        ATerm ph = ((ATermPlaceholder) last).getPlaceholder();
        if (ph.getType() == ATerm.LIST) {
          ATermAppl field = (ATermAppl) (((ATermList) ph).getFirst());
          result = "(ATermList)"
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangList.elementAt()

                        .getProcessInfo(getBackend().getOtpRpc(), pid);
                if (r instanceof OtpErlangList) {
                    final OtpErlangList l = (OtpErlangList) r;
                    final StringBuilder s = new StringBuilder();
                    for (int i = 0; i < l.arity(); i++) {
                        final OtpErlangTuple e = (OtpErlangTuple) l.elementAt(i);
                        s.append(' ').append(e.elementAt(0).toString()).append("\t= ")
                                .append(e.elementAt(1).toString()).append('\n');
                    }
                    showMessage(s.toString());
                } else {
View Full Code Here

Examples of com.ericsson.otp.erlang.OtpErlangTuple.elementAt()

                if (r instanceof OtpErlangList) {
                    final OtpErlangList l = (OtpErlangList) r;
                    final StringBuilder s = new StringBuilder();
                    for (int i = 0; i < l.arity(); i++) {
                        final OtpErlangTuple e = (OtpErlangTuple) l.elementAt(i);
                        s.append(' ').append(e.elementAt(0).toString()).append("\t= ")
                                .append(e.elementAt(1).toString()).append('\n');
                    }
                    showMessage(s.toString());
                } else {
                    showMessage("Process " + pid.toString()
View Full Code Here
TOP
Copyright © 2015 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.