Package org.tmatesoft.hg.internal

Examples of org.tmatesoft.hg.internal.IntVector.clear()


  public void testIntVector() {
    IntVector v = new IntVector();
    v.add(10, 9, 8);
    v.add(7);
    errorCollector.assertEquals(4, v.size());
    v.clear();
    errorCollector.assertEquals(0, v.size());
   
    // vector that doesn't grow
    v = new IntVector(3, 0);
    v.add(1,2,3);
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.