예제 #1
0
 /**
  * Sets the size of the list to 0, but does not change its capacity. This method can be used as an
  * alternative to the {@link #clear clear} method if you want to recyle a list without allocating
  * new backing arrays.
  *
  * @see #clear
  */
 public LongSequence reset() {
   pos = 0;
   fill((long) 0);
   return this;
 }