Package mikera.vectorz

Examples of mikera.vectorz.GrowableVector


 
  private static final Vector source=new Vector( Vectorz.createUniformRandomVector(1000+VECTOR_SIZE));
 
  public void timeBuildGrowableVector(int runs) {
    for (int i=0; i<runs; i++) {
      GrowableVector g=new GrowableVector();
      for (int j=0; j<VECTOR_SIZE; j++) {
        g.append(source.get(j));
      }
    }
  }
View Full Code Here

TOP

Related Classes of mikera.vectorz.GrowableVector

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.