/external/guava/guava/src/com/google/common/base/ |
FinalizableWeakReference.java | 28 * @since 2.0 (imported from Google Collections Library)
|
Supplier.java | 27 * @since 2.0 (imported from Google Collections Library)
|
/external/guava/guava/src/com/google/common/collect/ |
AsynchronousComputationException.java | 23 * @since 2.0 (imported from Google Collections Library)
|
ComputationException.java | 25 * @since 2.0 (imported from Google Collections Library)
|
ForwardingIterator.java | 30 * @since 2.0 (imported from Google Collections Library)
|
Hashing.java | 22 * Static methods for implementing hash-based collections.
|
UnmodifiableIterator.java | 27 * @since 2.0 (imported from Google Collections Library)
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultimap.java | 42 * <p>The collections returned by {@code keySet} and {@code asMap} iterate 45 * replaceValues} return collections that iterate through the values according 47 * collections generated by {@code entries}, {@code keys}, and {@code values} 64 * @since 2.0 (imported from Google Collections Library)
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
ReserializingTestSetGenerator.java | 24 * TODO: make CollectionTestSuiteBuilder test reserialized collections
|
TestStringCollectionGenerator.java | 25 * String creation for testing arbitrary collections.
|
UnhashableObject.java | 20 * An unhashable object to be used in testing as values in our collections.
|
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractCollectionTest.java | 29 import java.util.Collections; 101 assertTrue(c.containsAll(Collections.emptySet())); 105 assertFalse(c.removeAll(Collections.emptySet())); 115 assertTrue(c.retainAll(Collections.emptySet()));
|
AbstractSetMultimapTest.java | 24 import java.util.Collections; 93 assertTrue(Collections.singleton(expected).equals(set)); 94 assertTrue(set.equals(Collections.singleton(expected))); 111 array[1] = Collections.emptyList();
|
MapConstraintsTest.java | 33 import java.util.Collections; 145 assertEquals(Collections.emptySet(), map.entrySet()); 146 assertEquals(Collections.emptySet(), constrained.entrySet()); 207 assertEquals(Collections.emptySet(), map.entrySet()); 208 assertEquals(Collections.emptySet(), constrained.entrySet()); 302 Comparator<Integer> comparator = Collections.reverseOrder(); 480 assertFalse(entries.containsAll(Collections.singleton(nefariousEntry))); 494 entry.setValue(Collections.<Integer>emptySet()); 529 assertFalse(entries.containsAll(Collections.singleton(nefariousEntry))); 543 assertFalse(entries.removeAll(Collections.singleton(nefariousEntry))) [all...] |
IterablesTest.java | 25 import static java.util.Collections.emptyList; 42 import java.util.Collections; 63 Iterable<String> iterable = Collections.emptySet(); 68 Iterable<String> iterable = Collections.singleton("a"); 145 Iterable<String> iterable = Collections.singletonList("foo"); 150 Iterable<String> iterable = Collections.emptyList(); 168 Iterable<String> iterable = Collections.singletonList("foo"); 173 Iterable<String> iterable = Collections.emptyList(); 178 Iterable<String> iterable = Collections.emptyList(); 193 Iterable<String> iterable = Collections.emptyList() [all...] |
MultimapsTest.java | 40 import java.util.Collections; 408 assertEquals(Collections.singleton(1), multimapView.get("foo")); 409 assertEquals(Collections.singleton(2), multimapView.get("bar")); 415 multimapView.putAll("baz", Collections.singleton(3)); 423 multimapView.replaceValues("foo", Collections.<Integer>emptySet()); 437 "foo", (Collection<Integer>) Collections.singleton(1))); 466 assertEquals(Collections.emptySet(), multimap.removeAll("dog")); 469 assertEquals(Collections.singleton(2), multimap.removeAll("bar")); 479 assertEquals(Collections.singleton(1), asMap.get("foo")); 488 Collections.singletonList(1)))) [all...] |
/external/mockito/src/org/mockito/internal/util/collections/ |
HashCodeAndEqualsMockWrapper.java | 5 package org.mockito.internal.util.collections;
|
/frameworks/base/core/java/android/widget/ |
Advanceable.java | 22 * taking responsibility for automatically advancing such collections.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipCallBase.java | 30 // FIXME should return Collections.unmodifiableList();
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
NullPointerTester.java | 41 import java.util.Collections; 76 setDefault(Collection.class, Collections.emptySet()); 78 setDefault(Comparator.class, Collections.reverseOrder()); 81 setDefault(Iterable.class, Collections.emptySet()); 83 setDefault(List.class, Collections.emptyList()); 84 setDefault(Map.class, Collections.emptyMap()); 89 setDefault(Set.class, Collections.emptySet());
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
RawHeaders.java | 26 import java.util.Collections; 241 return Collections.unmodifiableSet(result); 273 ? Collections.unmodifiableList(result) 274 : Collections.<String>emptyList(); 339 result.put(fieldName, Collections.unmodifiableList(allValues)); 342 result.put(null, Collections.unmodifiableList(Collections.singletonList(statusLine))); 344 result.put(null, Collections.unmodifiableList(Collections.singletonList(requestLine))); 346 return Collections.unmodifiableMap(result) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
MultisetWritesTester.java | 35 import java.util.Collections; 188 Collections.singleton(Multisets.immutableEntry(samples.e0, 1)))); 200 Collections.singleton(Multisets.immutableEntry(samples.e0, 2)))); 220 Collections.singleton(Multisets.immutableEntry(samples.e0, 1)))); 232 Collections.singleton(Multisets.immutableEntry(samples.e0, 2))));
|
/external/smack/src/org/jivesoftware/smackx/ |
ReportedData.java | 28 import java.util.Collections; 126 return Collections.unmodifiableList(new ArrayList<Row>(rows)).iterator(); 135 return Collections.unmodifiableList(new ArrayList<Column>(columns)).iterator(); 250 return Collections.unmodifiableList(new ArrayList<Field>(fields)).iterator(); 278 return Collections.unmodifiableList(values).iterator();
|
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 40 import java.util.Collections; 83 new UnknownFieldSet(Collections.<Integer, Field>emptyMap()); 337 result = new UnknownFieldSet(Collections.unmodifiableMap(fields)); 360 fields = Collections.emptyMap(); 451 return Collections.unmodifiableMap(fields); 831 result.varint = Collections.emptyList(); 833 result.varint = Collections.unmodifiableList(result.varint); 836 result.fixed32 = Collections.emptyList(); 838 result.fixed32 = Collections.unmodifiableList(result.fixed32); 841 result.fixed64 = Collections.emptyList() [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
UnknownFieldSet.java | 40 import java.util.Collections; 83 new UnknownFieldSet(Collections.<Integer, Field>emptyMap()); 337 result = new UnknownFieldSet(Collections.unmodifiableMap(fields)); 360 fields = Collections.emptyMap(); 451 return Collections.unmodifiableMap(fields); 831 result.varint = Collections.emptyList(); 833 result.varint = Collections.unmodifiableList(result.varint); 836 result.fixed32 = Collections.emptyList(); 838 result.fixed32 = Collections.unmodifiableList(result.fixed32); 841 result.fixed64 = Collections.emptyList() [all...] |