Package com.ericsson.otp.erlang

Examples of com.ericsson.otp.erlang.OtpErlangMap.arity()


      // #{2 => [],a => 1}
      final OtpErlangMap map = new OtpErlangMap(new OtpInputStream(
      new byte[] { (byte) 131, 116, 0, 0, 0, 2, 97, 2, 106,
             100, 0, 1, 97, 97, 1 }));

      if (map.arity() != 2) {
    fail(5);
      }
      if (!new OtpErlangLong(1).equals(map.get(new OtpErlangAtom("a")))) {
    fail(6);
      }
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.