Package com.ericsson.otp.erlang

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


      List<Node> nodes = new ArrayList<Node>();
      List<Node> runningNodes = new ArrayList<Node>();
      if (erlangObject instanceof OtpErlangList) {
        OtpErlangList erlangList = (OtpErlangList) erlangObject;

        OtpErlangTuple runningAppTuple = (OtpErlangTuple) erlangList.elementAt(0);
        OtpErlangList appList = (OtpErlangList) runningAppTuple.elementAt(1);
        extractApplications(applications, appList);

        OtpErlangTuple nodesTuple = (OtpErlangTuple) erlangList.elementAt(1);
        OtpErlangList nodesList = (OtpErlangList) nodesTuple.elementAt(1);
View Full Code Here


              case arguments:
                OtpErlangList list = (OtpErlangList) value;
                if (list != null) {
                  String[] args = new String[list.arity()];
                  for (int i = 0; i < list.arity(); i++) {
                    OtpErlangObject obj = list.elementAt(i);
                    args[i] = obj.toString();
                  }
                  queueInfo.setArguments(args);
                }
                break;
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.