Home
last modified time | relevance | path

Searched refs:newLinkedHashSet (Results 1 – 25 of 53) sorted by relevance

123

/external/guava/guava-tests/test/com/google/common/cache/
DCacheBuilderFactory.java52 this.concurrencyLevels = Sets.newLinkedHashSet(concurrencyLevels); in withConcurrencyLevels()
57 this.initialCapacities = Sets.newLinkedHashSet(initialCapacities); in withInitialCapacities()
62 this.maximumSizes = Sets.newLinkedHashSet(maximumSizes); in withMaximumSizes()
67 this.expireAfterWrites = Sets.newLinkedHashSet(durations); in withExpireAfterWrites()
72 this.expireAfterAccesses = Sets.newLinkedHashSet(durations); in withExpireAfterAccesses()
77 this.refreshes = Sets.newLinkedHashSet(durations); in withRefreshes()
82 this.keyStrengths = Sets.newLinkedHashSet(keyStrengths); in withKeyStrengths()
88 this.valueStrengths = Sets.newLinkedHashSet(valueStrengths); in withValueStrengths()
138 Sets.newLinkedHashSet(Iterables.transform(set, NULLABLE_TO_OPTIONAL));
/external/jcommander/src/test/java/com/beust/jcommander/
DDefaultValueTest.java98 this.set = Sets.newLinkedHashSet(); in MyOptsWithEmptyDefaults()
109 Set<String> set = Sets.newLinkedHashSet(); in singletonSet()
/external/guava/guava-tests/test/com/google/common/collect/
DLinkedHashMultimapTest.java21 import static com.google.common.collect.Sets.newLinkedHashSet;
285 newLinkedHashSet(asList(2, 3, 4, 7, 8)), in testGetIteration()
306 Set<Entry<String, Integer>> set = Sets.newLinkedHashSet(asList( in testEntriesIteration()
374 newLinkedHashSet(asList("foo", "bar", "baz", "dog", "cat")), in testKeySetIteration()
399 Set<Entry<String, Collection<Integer>>> set = newLinkedHashSet(asList( in testAsSetIteration()
DSetsTest.java22 import static com.google.common.collect.Sets.newLinkedHashSet;
213 Set<String> unfiltered = Sets.newLinkedHashSet(); in testsForFilter()
235 Set<String> unfiltered = Sets.newLinkedHashSet();
279 Set<String> unfiltered = Sets.newLinkedHashSet();
451 LinkedHashSet<Integer> set = Sets.newLinkedHashSet();
456 LinkedHashSet<Integer> set = Sets.newLinkedHashSet(LONGER_LIST);
461 LinkedHashSet<Integer> set = Sets.newLinkedHashSet(new Iterable<Integer>()
835 Set<Set<Integer>> expected = newLinkedHashSet();
852 Set<Set<Integer>> expected = newLinkedHashSet();
DConstraintsTest.java94 Set<String> set = Sets.newLinkedHashSet(asList("foo", "bar")); in testConstrainedSetLegal()
109 Set<String> set = Sets.newLinkedHashSet(asList("foo", "bar")); in testConstrainedSetIllegal()
DLinkedListMultimapTest.java21 import static com.google.common.collect.Sets.newLinkedHashSet;
425 new IteratorTester<String>(6, MODIFIABLE, newLinkedHashSet(asList( in testKeySetIteration()
451 Set<Entry<String, Collection<Integer>>> set = Sets.newLinkedHashSet(asList( in testAsSetIteration()
DSetOperationsTest.java97 Sets.newLinkedHashSet(asList(elements)), in suite()
98 Sets.newLinkedHashSet( in suite()
DForwardingSetTest.java115 Sets.newLinkedHashSet(asList(elements))); in suite()
DFluentIterableTest.java453 Collection<Integer> collection = Sets.newLinkedHashSet(); in testSkip_iterator()
480 Collection<String> set = Sets.newLinkedHashSet(); in testSkip_structurallyModifiedSkipSome()
497 Collection<String> set = Sets.newLinkedHashSet(); in testSkip_structurallyModifiedSkipAll()
DIterablesTest.java21 import static com.google.common.collect.Sets.newLinkedHashSet;
661 return skip(newLinkedHashSet(asList(1, 2, 3)), 1).iterator();
687 Collection<String> set = newLinkedHashSet(asList("a", "b", "c"));
703 Collection<String> set = newLinkedHashSet(asList("a", "b", "c"));
/external/jcommander/src/main/java/com/beust/jcommander/internal/
DSets.java31 public static <K> Set<K> newLinkedHashSet() { in newLinkedHashSet() method in Sets
/external/testng/src/main/java/org/testng/collections/
DSets.java20 public static <V> Set<V> newLinkedHashSet() { in newLinkedHashSet() method in Sets
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DImmutableSet.java118 Set<E> delegate = Sets.newLinkedHashSet(); in copyOf()
142 Set<E> set = Sets.newLinkedHashSet(); in create()
DSets.java284 public static <E> LinkedHashSet<E> newLinkedHashSet() { in newLinkedHashSet() method in Sets
318 public static <E> LinkedHashSet<E> newLinkedHashSet( in newLinkedHashSet() method in Sets
323 LinkedHashSet<E> set = newLinkedHashSet(); in newLinkedHashSet()
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlPolicyBuilder.java171 private final Set<String> allowedProtocols = Sets.newLinkedHashSet();
172 private final Set<String> skipIfEmpty = Sets.newLinkedHashSet(
563 Set<String> toGuard = Sets.newLinkedHashSet(URL_ATTRIBUTE_NAMES); in compilePolicies()
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DSetsTest.java22 import static com.google.common.collect.Sets.newLinkedHashSet;
193 LinkedHashSet<Integer> set = Sets.newLinkedHashSet(); in testNewLinkedHashSetEmpty()
198 LinkedHashSet<Integer> set = Sets.newLinkedHashSet(LONGER_LIST); in testNewLinkedHashSetFromCollection()
203 LinkedHashSet<Integer> set = Sets.newLinkedHashSet(new Iterable<Integer>() in testNewLinkedHashSetFromIterable()
547 Set<Set<Integer>> expected = newLinkedHashSet(); in testPowerSetIteration_iteratorTester_fast()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
DAnnotationWriter.java31 private final Set<HasClassReferences> memberReferences = Sets.newLinkedHashSet();
/external/guava/guava-testlib/src/com/google/common/testing/
DDummyProxy.java47 Set<Class<?>> interfaceClasses = Sets.newLinkedHashSet(); in newProxy()
/external/guice/extensions/service/src/com/google/inject/service/
DCompositeService.java41 private final Set<Key<? extends Service>> services = Sets.newLinkedHashSet();
/external/guava/guava-testlib/test/com/google/common/testing/
DFreshValueGeneratorTest.java310 newLinkedHashSet(new FreshValueGenerator().generate(Number.class)), in testSet()
318 newLinkedHashSet(new FreshValueGenerator().generate(Number.class)), in testHashSet()
325 newLinkedHashSet(new FreshValueGenerator().generate(Number.class)), in testLinkedHashSet()
722 private static <E> LinkedHashSet<E> newLinkedHashSet(E element) { in newLinkedHashSet() method in FreshValueGeneratorTest
723 LinkedHashSet<E> set = Sets.newLinkedHashSet(); in newLinkedHashSet()
/external/guice/core/src/com/google/inject/internal/
DProvisionListenerStackCallback.java54 Set<ProvisionListener> deDuplicated = Sets.newLinkedHashSet(listeners); in ProvisionListenerStackCallback()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DModuleProcessingStep.java52 private final Set<Element> processedModuleElements = Sets.newLinkedHashSet();
DProducerModuleProcessingStep.java53 private final Set<Element> processedModuleElements = Sets.newLinkedHashSet();
DInjectBindingRegistry.java68 private final Set<Key> materializedBindingKeys = Sets.newLinkedHashSet();
/external/guice/core/src/com/google/inject/spi/
DElements.java180 this.scanners = Sets.newLinkedHashSet(); in RecordingBinder()
212 this.scanners = Sets.newLinkedHashSet(parent.scanners); in RecordingBinder()

123