Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for LINKED_LIST (0.06 sec)

  1. guava-tests/benchmark/com/google/common/collect/StreamsBenchmark.java

     *
     * @author Louis Wasserman
     */
    public class StreamsBenchmark {
      @Param({"1", "10", "100", "1000", "10000"})
      private int size;
    
      enum CollectionType {
        ARRAY_LIST(ArrayList::new),
        LINKED_LIST(LinkedList::new);
    
        final Supplier<Collection<Object>> supplier;
    
        private CollectionType(Supplier<Collection<Object>> supplier) {
          this.supplier = supplier;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top