Package br.com.bfmapper.model

Examples of br.com.bfmapper.model.IntBean


  @Test
  public void test() {
    final int[] counts = { 10, 100, 1000, 10000, 20000, 50000, 100000 };
    for (final int count : counts) {
      final IntBean intBean1 = new IntBean(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
      final IntBean intBean2 = new IntBean();
      long time = System.nanoTime();
      for (int runs = 0; runs < count; runs++) {
          new Mapping().apply(intBean1).to(intBean2);
      }
      logger.log(Level.INFO, count + "\t" + (System.nanoTime() - time) / (1000 * 1000));
 
View Full Code Here

TOP

Related Classes of br.com.bfmapper.model.IntBean

Copyright © 2018 www.massapicom. 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.