Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for newLinkedHashSet (0.27 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        this.concurrencyLevels = Sets.newLinkedHashSet(concurrencyLevels);
        return this;
      }
    
      CacheBuilderFactory withInitialCapacities(Set<Integer> initialCapacities) {
        this.initialCapacities = Sets.newLinkedHashSet(initialCapacities);
        return this;
      }
    
      CacheBuilderFactory withMaximumSizes(Set<Integer> maximumSizes) {
        this.maximumSizes = Sets.newLinkedHashSet(maximumSizes);
        return this;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        this.concurrencyLevels = Sets.newLinkedHashSet(concurrencyLevels);
        return this;
      }
    
      CacheBuilderFactory withInitialCapacities(Set<Integer> initialCapacities) {
        this.initialCapacities = Sets.newLinkedHashSet(initialCapacities);
        return this;
      }
    
      CacheBuilderFactory withMaximumSizes(Set<Integer> maximumSizes) {
        this.maximumSizes = Sets.newLinkedHashSet(maximumSizes);
        return this;
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

        E first = elements.next();
        if (!elements.hasNext()) {
          // TODO: Remove "ImmutableSet.<E>" when eclipse bug is fixed.
          return ImmutableSet.<E>of(first);
        }
    
        Set<E> delegate = Sets.newLinkedHashSet();
        delegate.add(checkNotNull(first));
        do {
          delegate.add(checkNotNull(elements.next()));
        } while (elements.hasNext());
    
        return unsafeDelegate(delegate);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new StandardImplForwardingSet<>(Sets.newLinkedHashSet(asList(elements)));
                      }
                    })
                .named("ForwardingSet[LinkedHashSet] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingSetTest.java

                    new TestStringSetGenerator() {
                      @Override
                      protected Set<String> create(String[] elements) {
                        return new StandardImplForwardingSet<>(Sets.newLinkedHashSet(asList(elements)));
                      }
                    })
                .named("ForwardingSet[LinkedHashSet] with standard implementations")
                .withFeatures(
                    CollectionSize.ANY,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/DummyProxy.java

       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = Sets.newLinkedHashSet();
        interfaceClasses.addAll(interfaceType.getTypes().interfaces().rawTypes());
        // Make the proxy serializable to work with SerializableTester
        interfaceClasses.add(Serializable.class);
        Object dummy =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

       * other if the {@link DummyProxy} instance that created the proxies are equal.
       */
      final <T> T newProxy(TypeToken<T> interfaceType) {
        Set<Class<?>> interfaceClasses = Sets.newLinkedHashSet();
        interfaceClasses.addAll(interfaceType.getTypes().interfaces().rawTypes());
        // Make the proxy serializable to work with SerializableTester
        interfaceClasses.add(Serializable.class);
        Object dummy =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      }
    
      /**
       * Returns the platform preferred set implementation that preserves insertion order when used only
       * for insertions.
       */
      static <E> Set<E> preservesInsertionOrderOnAddsSet() {
        return Sets.newLinkedHashSet();
      }
    
      static <T> T[] newArray(T[] reference, int length) {
        T[] empty = reference.length == 0 ? reference : Arrays.copyOf(reference, 0);
        return Arrays.copyOf(empty, length);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 29 18:16:45 GMT 2023
    - 4.7K bytes
    - Viewed (0)
Back to top