/external/guava/guava/src/com/google/common/collect/ |
RegularImmutableSet.java | 21 import com.google.common.collect.ImmutableSet.ArrayImmutableSet; 24 * Implementation of {@link ImmutableSet} with two or more elements.
|
RegularImmutableMap.java | 22 import com.google.common.collect.ImmutableSet.ArrayImmutableSet; 23 import com.google.common.collect.ImmutableSet.TransformedImmutableSet; 190 private transient ImmutableSet<Entry<K, V>> entrySet; 192 @Override public ImmutableSet<Entry<K, V>> entrySet() { 193 ImmutableSet<Entry<K, V>> es = entrySet; 216 private transient ImmutableSet<K> keySet; 218 @Override public ImmutableSet<K> keySet() { 219 ImmutableSet<K> ks = keySet;
|
ImmutableTable.java | 89 ImmutableSet.Builder<Cell<R, C, V>> cellSetBuilder 90 = ImmutableSet.builder(); 243 @Override public abstract ImmutableSet<Cell<R, C, V>> cellSet(); 252 @Override public abstract ImmutableSet<C> columnKeySet(); 269 @Override public abstract ImmutableSet<R> rowKeySet();
|
EmptyImmutableSet.java | 32 final class EmptyImmutableSet extends ImmutableSet<Object> {
|
ImmutableSortedSetFauxverideShim.java | 22 * "Overrides" the {@link ImmutableSet} static methods that lack 29 * // BAD CODE! The returned set is actually an unsorted ImmutableSet!}</pre> 38 abstract class ImmutableSortedSetFauxverideShim<E> extends ImmutableSet<E> { 42 * {@link ImmutableSet#builder} from consumers of {@code ImmutableSortedSet}. 159 * definition in ImmutableSortedSet matches that in ImmutableSet. 165 * methods from ImmutableSet.
|
RegularImmutableMultiset.java | 66 public ImmutableSet<E> elementSet() {
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
RegularImmutableSet_CustomFieldSerializer.java | 44 * always have two or more elements, ImmutableSet.copyOf always return 47 return (RegularImmutableSet<Object>) ImmutableSet.copyOf(elements);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
LenientSerializableTester.java | 49 assertTrue(copy instanceof ImmutableSet);
|
AbstractImmutableSetTest.java | 39 * Base class for {@link ImmutableSet} and {@link ImmutableSortedSet} tests. 289 abstract <E extends Comparable<E>> ImmutableSet.Builder<E> builder(); 292 ImmutableSet<String> set = this.<String>builder() 303 ImmutableSet<String> set = this.<String>builder() 317 ImmutableSet<String> set = this.<String>builder() 329 ImmutableSet.Builder<Integer> webSafeColorsBuilder 338 ImmutableSet<Integer> webSafeColors = webSafeColorsBuilder.build(); 347 ImmutableSet<Integer> addedColor 363 ImmutableSet.Builder<String> builder = this.<String>builder(); 407 ImmutableSet.Builder<String> builder = this.<String>builder() [all...] |
ContiguousSetTest.java | 95 * ImmutableSet.SerializedForm, which would be enormous. 217 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { 220 for (Set<Integer> subset : Sets.powerSet(ImmutableSet.of(1, 2, 3))) { 221 assertFalse(set.containsAll(Sets.union(subset, ImmutableSet.of(9)))); 223 assertFalse(set.containsAll(ImmutableSet.of("blah"))); 267 assertEquals(ImmutableSet.of(), set.intersection(emptySet)); 268 assertEquals(ImmutableSet.of(), emptySet.intersection(set)); 269 assertEquals(ImmutableSet.of(), Ranges.closed(-5, -1).asSet(integers()).intersection( 275 assertEquals(ImmutableSet.of(1, 2, 3), Ranges.open(-1, 4).asSet(integers()).intersection(set)); 276 assertEquals(ImmutableSet.of(1, 2, 3), set.intersection(Ranges.open(-1, 4).asSet(integers()))) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableField.java | 34 import com.google.common.collect.ImmutableSet; 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; 77 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations) { 104 @Nonnull @Override public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; }
|
ImmutableMethod.java | 35 import com.google.common.collect.ImmutableSet; 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; 80 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, 111 @Override @Nonnull public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; }
|
ImmutableAnnotationElement.java | 34 import com.google.common.collect.ImmutableSet; 74 public static ImmutableSet<ImmutableAnnotationElement> immutableSetOf(
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/util/ |
ParameterIterator.java | 34 import com.google.common.collect.ImmutableSet; 70 annotations = ImmutableSet.of();
|
AnnotationsDirectory.java | 35 import com.google.common.collect.ImmutableSet; 46 @Nonnull @Override public Set<? extends DexBackedAnnotation> getClassAnnotations() { return ImmutableSet.of(); } 115 return ImmutableSet.of();
|
/external/llvm/include/llvm/ADT/ |
ImmutableSet.h | 1 //===--- ImmutableSet.h - Immutable (functional) set interface --*- C++ -*-===// 10 // This file defines the ImutAVLTree and ImmutableSet classes. 875 // definitions used by ImutAVLTree, ImmutableSet, and ImmutableMap. These 938 class ImmutableSet { 952 explicit ImmutableSet(TreeTy* R) : Root(R) { 955 ImmutableSet(const ImmutableSet &X) : Root(X.Root) { 958 ImmutableSet &operator=(const ImmutableSet &X) { 966 ~ImmutableSet() { [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlPolicyBuilder.java | 42 import com.google.common.collect.ImmutableSet; 163 public static final ImmutableSet<String> DEFAULT_SKIP_IF_EMPTY 164 = ImmutableSet.of("a", "font", "img", "input", "span"); 443 private static final Set<String> URL_ATTRIBUTE_NAMES = ImmutableSet.of( 484 ImmutableSet.Builder<String> textContainers = ImmutableSet.builder(); 518 Set<String> allowedProtocols = ImmutableSet.copyOf(this.allowedProtocols); 693 return matching(ignoreCase, ImmutableSet.copyOf(allowedValues)); 704 final ImmutableSet<String> allowed = ImmutableSet.copyOf(allowedValues) [all...] |
PolicyFactory.java | 40 import com.google.common.collect.ImmutableSet; 58 private final ImmutableSet<String> textContainers; 62 ImmutableSet<String> textContainers, 161 ImmutableSet<String> textContainers; 167 textContainers = ImmutableSet.<String>builder()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
SetGenerators.java | 25 import com.google.common.collect.ImmutableSet; 58 return ImmutableSet.copyOf(elements); 70 return ImmutableSet.copyOf(elements); 80 return (ImmutableSet<String>) 81 ImmutableSet.of(elements[0], elements[0]); 185 return ImmutableSet.copyOf(elements).asList(); 193 ImmutableSet<String> set = ImmutableSortedSet.copyOf(
|
/external/guava/guava-tests/test/com/google/common/cache/ |
EmptyCachesTest.java | 26 import com.google.common.collect.ImmutableSet; 362 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK)) 363 .withValueStrengths(ImmutableSet.copyOf(Strength.values())) 364 .withConcurrencyLevels(ImmutableSet.of(1, 4, 16, 64)) 365 .withMaximumSizes(ImmutableSet.of(0, 1, 10, 100, 1000)) 366 .withInitialCapacities(ImmutableSet.of(0, 1, 10, 100, 1000)) 367 .withExpireAfterWrites(ImmutableSet.of( 371 .withExpireAfterAccesses(ImmutableSet.of( 375 .withRefreshes(ImmutableSet.of(
|
PopulatedCachesTest.java | 30 import com.google.common.collect.ImmutableSet; 206 .addEqualityGroup(ImmutableSet.of()) 259 .addEqualityGroup(ImmutableSet.of()) 317 .withKeyStrengths(ImmutableSet.of(Strength.STRONG, Strength.WEAK)) 318 .withValueStrengths(ImmutableSet.copyOf(Strength.values())) 319 .withConcurrencyLevels(ImmutableSet.of(1, 4, 16, 64)) 320 .withMaximumSizes(ImmutableSet.of(400, 1000)) 321 .withInitialCapacities(ImmutableSet.of(0, 1, 10, 100, 1000)) 322 .withExpireAfterWrites(ImmutableSet.of( 326 .withExpireAfterAccesses(ImmutableSet.of [all...] |
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/ |
JumboStringConversionTest.java | 35 import com.google.common.collect.ImmutableSet; 80 ImmutableSet.<Annotation>of(), 89 ImmutableSet.<Annotation>of(), 177 ImmutableSet.<Annotation>of(), 186 ImmutableSet.<Annotation>of(),
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMap.java | 224 private transient ImmutableSet<Entry<K, V>> cachedEntrySet = null; 226 public final ImmutableSet<Entry<K, V>> entrySet() { 230 return cachedEntrySet = ImmutableSet.unsafeDelegate( 258 private transient ImmutableSet<K> cachedKeySet = null; 260 public ImmutableSet<K> keySet() { 264 return cachedKeySet = ImmutableSet.unsafeDelegate(delegate.keySet());
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderAnnotationSetPool.java | 35 import com.google.common.collect.ImmutableSet; 69 ImmutableSet.copyOf(Iterators.transform(annotations.iterator(),
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
MimeType.java | 27 import com.google.common.collect.ImmutableSet; 44 private static final Set<String> EML_ATTACHMENT_CONTENT_TYPES = ImmutableSet.of(
|