Package mina

Examples of mina.MinaStructPacker.reset()


      byte[] b = null;
     
      MinaStructPacker out = new MinaStructPacker();
      for (int i = 0; i < iters; i++) {
        b = out.pack(o);
        out.reset();
      }
      System.out.println("(" + o.getClass().getName()
          + ") Packing performance:  "
          + TimeTracker.getItemCountPerSecond("s", iters));
      System.out.println("Size: " + b.length);
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.