Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,014 for createEl (0.38 sec)

  1. guava/src/com/google/common/collect/CompactHashSet.java

      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
       * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the elements of the given
       * collection in unspecified order.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        return SortedMultisetTestSuiteBuilder.using(
                new ForwardingTestMultisetGenerator<E>(delegate) {
                  @Override
                  public SortedMultiset<E> create(Object... entries) {
                    return ((SortedMultiset<E>) super.create(entries)).descendingMultiset();
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        return SortedMultisetTestSuiteBuilder.using(
                new ForwardingTestMultisetGenerator<E>(delegate) {
                  @Override
                  public SortedMultiset<E> create(Object... entries) {
                    return ((SortedMultiset<E>) super.create(entries)).descendingMultiset();
                  }
    
                  @Override
                  public Iterable<E> order(List<E> insertionOrder) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * finalizeReferent()} on the remaining references.
     *
     * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates a
     * {@link java.net.ServerSocket ServerSocket}, and you would like to ensure that the {@code
     * ServerSocket} is closed even if the {@code MyServer} object is garbage-collected without calling
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

     * finalizeReferent()} on the remaining references.
     *
     * <p>As an example of how this is used, imagine you have a class {@code MyServer} that creates a
     * {@link java.net.ServerSocket ServerSocket}, and you would like to ensure that the {@code
     * ServerSocket} is closed even if the {@code MyServer} object is garbage-collected without calling
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

         * may fluctuate up and down.
         */
        private int length;
    
        // True if we just called build() and the elements array is being used by a created ISM, meaning
        // we shouldn't modify that array further.
        private boolean forceCopyElements;
    
        /**
         * Creates a new builder. The returned builder is equivalent to the builder generated by {@link
         * ImmutableSortedMultiset#orderedBy(Comparator)}.
         */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableTable.java

       *
       * @since 11.0
       */
      @DoNotMock
      public static final class Builder<R, C, V> {
        private final List<Cell<R, C, V>> cells = Lists.newArrayList();
        @CheckForNull private Comparator<? super R> rowComparator;
        @CheckForNull private Comparator<? super C> columnComparator;
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 17.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBasedTable.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      /** Creates an empty {@code HashBasedTable}. */
      public static <R, C, V> HashBasedTable<R, C, V> create() {
        return new HashBasedTable<>(new LinkedHashMap<R, Map<C, V>>(), new Factory<C, V>(0));
      }
    
      /**
       * Creates an empty {@code HashBasedTable} with the specified map sizes.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  9. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

        contents = Maps.newHashMap();
        for (Element key : elems.getValuesInSet()) {
          contents.put(key, key);
        }
        map = mapsImpl.create(contents);
      }
    
      @Benchmark
      @Footprint(exclude = Element.class)
      public Map<Element, Element> create() throws Exception {
        return mapsImpl.create(contents);
      }
    
      @Benchmark
      public int iterate() {
        long retVal = 0;
        for (Object entry : map.entrySet()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 20 15:07:46 GMT 2019
    - 3.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EnumMultiset.java

    @ElementTypesAreNonnullByDefault
    public final class EnumMultiset<E extends Enum<E>> extends AbstractMultiset<E>
        implements Serializable {
      /** Creates an empty {@code EnumMultiset}. */
      public static <E extends Enum<E>> EnumMultiset<E> create(Class<E> type) {
        return new EnumMultiset<>(type);
      }
    
      /**
       * Creates a new {@code EnumMultiset} containing the specified elements.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top