/external/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableCollectionTest.java | 28 assertEquals(1, ImmutableCollection.Builder.expandedCapacity(0, 1)); in testCapacityExpansion() 29 assertEquals(2, ImmutableCollection.Builder.expandedCapacity(0, 2)); in testCapacityExpansion() 30 assertEquals(2, ImmutableCollection.Builder.expandedCapacity(1, 2)); in testCapacityExpansion() 32 ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE)); in testCapacityExpansion() 34 ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE)); in testCapacityExpansion() 36 ImmutableCollection.Builder.expandedCapacity(Integer.MAX_VALUE - 1, Integer.MAX_VALUE)); in testCapacityExpansion() 38 assertEquals(13, ImmutableCollection.Builder.expandedCapacity(8, 9)); in testCapacityExpansion()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ImmutableMultimap.java | 301 final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map; 320 ImmutableMultimap(ImmutableMap<K, ? extends ImmutableCollection<V>> map, in ImmutableMultimap() 336 public ImmutableCollection<V> removeAll(Object key) { in removeAll() 348 public ImmutableCollection<V> replaceValues(K key, in replaceValues() 372 public abstract ImmutableCollection<V> get(K key); in get() 491 public ImmutableCollection<Entry<K, V>> entries() { in entries() 492 return (ImmutableCollection<Entry<K, V>>) super.entries(); in entries() 496 ImmutableCollection<Entry<K, V>> createEntries() { in createEntries() 501 extends ImmutableCollection<Entry<K, V>> { 622 public ImmutableCollection<V> values() { [all …]
|
D | RegularImmutableAsList.java | 31 private final ImmutableCollection<E> delegate; 34 RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) { in RegularImmutableAsList() 39 RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) { in RegularImmutableAsList() 44 ImmutableCollection<E> delegateCollection() { in delegateCollection()
|
D | ImmutableAsList.java | 36 abstract ImmutableCollection<E> delegateCollection(); in delegateCollection() 64 final ImmutableCollection<?> collection; 65 SerializedForm(ImmutableCollection<?> collection) { in SerializedForm()
|
D | ImmutableCollection.java | 47 public abstract class ImmutableCollection<E> extends AbstractCollection<E> class 50 ImmutableCollection() {} in ImmutableCollection() method in ImmutableCollection 313 public abstract ImmutableCollection<E> build(); in build() 316 abstract static class ArrayBasedBuilder<E> extends ImmutableCollection.Builder<E> {
|
D | ImmutableMapValues.java | 34 final class ImmutableMapValues<K, V> extends ImmutableCollection<V> { 71 ImmutableCollection<V> delegateCollection() { in createAsList()
|
D | ImmutableMap.java | 184 this(ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY); in Builder() 196 entries, ImmutableCollection.Builder.expandedCapacity(entries.length, minCapacity)); in ensureCapacity() 414 private transient ImmutableCollection<V> values; 421 public ImmutableCollection<V> values() { in values() 422 ImmutableCollection<V> result = values; in values()
|
D | RegularImmutableSortedMap.java | 72 ImmutableCollection<Entry<K, V>> delegateCollection() { in createAsList() 90 public ImmutableCollection<V> values() { in values()
|
D | ImmutableTable.java | 265 public ImmutableCollection<V> values() { in values() 266 return (ImmutableCollection<V>) super.values(); in values() 270 abstract ImmutableCollection<V> createValues(); in createValues()
|
D | ImmutableList.java | 63 public abstract class ImmutableList<E> extends ImmutableCollection<E> 251 if (elements instanceof ImmutableCollection) { in copyOf() 253 ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList(); in copyOf() 630 public static final class Builder<E> extends ImmutableCollection.ArrayBasedBuilder<E> {
|
D | RegularImmutableTable.java | 64 ImmutableCollection<Cell<R, C, V>> delegateCollection() { in createAsList() 89 final ImmutableCollection<V> createValues() {
|
D | ImmutableMultiset.java | 52 public abstract class ImmutableMultiset<E> extends ImmutableCollection<E> 376 ImmutableCollection<Entry<E>> delegateCollection() { in createAsList() 487 public static class Builder<E> extends ImmutableCollection.Builder<E> {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | ImmutableCollection.java | 35 public abstract class ImmutableCollection<E> extends AbstractCollection<E> class 38 static final ImmutableCollection<Object> EMPTY_IMMUTABLE_COLLECTION 41 ImmutableCollection() {} in ImmutableCollection() method in ImmutableCollection 90 static <E> ImmutableCollection<E> unsafeDelegate(Collection<E> delegate) { in unsafeDelegate() 131 public abstract ImmutableCollection<E> build(); in build()
|
D | ImmutableMultimap.java | 300 final transient ImmutableMap<K, ? extends ImmutableCollection<V>> map; 307 ImmutableMultimap(ImmutableMap<K, ? extends ImmutableCollection<V>> map, in ImmutableMultimap() 323 public ImmutableCollection<V> removeAll(Object key) { in removeAll() 335 public ImmutableCollection<V> replaceValues(K key, in replaceValues() 359 public abstract ImmutableCollection<V> get(K key); in get() 478 public ImmutableCollection<Entry<K, V>> entries() { in entries() 479 return (ImmutableCollection<Entry<K, V>>) super.entries(); in entries() 483 ImmutableCollection<Entry<K, V>> createEntries() { in createEntries() 488 extends ImmutableCollection<Entry<K, V>> { 609 public ImmutableCollection<V> values() { [all …]
|
D | RegularImmutableAsList.java | 30 private final ImmutableCollection<E> delegate; 33 RegularImmutableAsList(ImmutableCollection<E> delegate, ImmutableList<? extends E> delegateList) { in RegularImmutableAsList() 38 RegularImmutableAsList(ImmutableCollection<E> delegate, Object[] array) { in RegularImmutableAsList() 43 ImmutableCollection<E> delegateCollection() { in delegateCollection()
|
D | ImmutableMapValues.java | 32 final class ImmutableMapValues<K, V> extends ImmutableCollection<V> { 69 ImmutableCollection<V> delegateCollection() { in createAsList()
|
D | ImmutableList.java | 40 public abstract class ImmutableList<E> extends ImmutableCollection<E> 138 if (elements instanceof ImmutableCollection) { in copyOf() 144 ImmutableCollection<E> list = (ImmutableCollection<E>) elements; in copyOf() 277 public static final class Builder<E> extends ImmutableCollection.Builder<E> {
|
D | ForwardingImmutableMap.java | 106 @Override ImmutableCollection<V> createValues() { 107 return ImmutableCollection.unsafeDelegate(delegate.values());
|
D | ImmutableMap.java | 233 private transient ImmutableCollection<V> cachedValues = null; 235 public ImmutableCollection<V> values() { in values() 320 ImmutableCollection<V> createValues() {
|
D | ImmutableMultiset.java | 51 public abstract class ImmutableMultiset<E> extends ImmutableCollection<E> 365 ImmutableCollection<Entry<E>> delegateCollection() { in createAsList() 476 public static class Builder<E> extends ImmutableCollection.Builder<E> {
|
D | ImmutableAsList.java | 31 abstract ImmutableCollection<E> delegateCollection(); in delegateCollection()
|
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/ |
D | KeyboardIdMap.java | 14 import com.google.common.collect.ImmutableCollection; 73 public ImmutableCollection<KeyboardId> getKeyboardId(String name) { in getKeyboardId() 75 ImmutableCollection<KeyboardId> ids = nameToKeyboardId.get(name); in getKeyboardId()
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
D | RegularImmutableAsList_CustomFieldSerializer.java | 40 ImmutableCollection<Object> delegateCollection = (ImmutableCollection) reader.readObject(); in instantiate()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | ParameterSet.java | 19 import com.google.common.collect.ImmutableCollection; 74 ImmutableCollection<String> values = explicitValues.containsKey(name) in fillInDefaultsFor()
|
D | Parameter.java | 23 import com.google.common.collect.ImmutableCollection; 70 void validate(ImmutableCollection<String> values) throws InvalidBenchmarkException { in validate()
|