Searched refs:Set (Results 251 - 275 of 980) sorted by relevance

<<11121314151617181920>>

/external/guava/guava/src/com/google/common/collect/
H A DConstraints.java28 import java.util.Set;
119 public static <E> Set<E> constrainedSet(
120 Set<E> set, Constraint<? super E> constraint) {
126 private final Set<E> delegate;
129 public ConstrainedSet(Set<E> delegate, Constraint<? super E> constraint) {
133 @Override protected Set<E> delegate() {
310 } else if (collection instanceof Set) {
311 return constrainedSet((Set<E>) collection, constraint);
H A DLinkedHashMultimap.java33 import java.util.Set;
152 @Override Set<V> createCollection() {
171 final Set<V> delegate;
174 SetDecorator(@Nullable K key, Set<V> delegate) {
179 @Override protected Set<V> delegate() {
323 @Override public Set<V> replaceValues(
340 @Override public Set<Map.Entry<K, V>> entries() {
H A DMultisets.java31 import java.util.Set;
106 transient Set<E> elementSet;
108 Set<E> createElementSet() {
113 public Set<E> elementSet() {
114 Set<E> es = elementSet;
118 transient Set<Multiset.Entry<E>> entrySet;
121 @Override public Set<Multiset.Entry<E>> entrySet() {
122 Set<Multiset.Entry<E>> es = entrySet;
126 ? entrySet = (Set) Collections.unmodifiableSet(delegate.entrySet())
335 static <E> Multiset<E> forSet(Set<
[all...]
H A DMultimaps.java51 import java.util.Set;
231 * It can generate a multimap based on arbitrary {@link Map} and {@link Set}
267 Map<K, Collection<V>> map, final Supplier<? extends Set<V>> factory) {
273 transient Supplier<? extends Set<V>> factory;
276 Supplier<? extends Set<V>> factory) {
281 @Override protected Set<V> createCollection() {
298 factory = (Supplier<? extends Set<V>>) stream.readObject();
424 * Set<K> s = m.keySet(); // Needn't be in synchronized block
492 transient Set<K> keySet;
518 Set<Entr
954 unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) argument
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DSetEqualsTester.java27 import java.util.Set;
30 * Tests {@link java.util.Set#equals}.
39 "A Set should equal any other Set containing the same elements.",
49 "A Set should not equal another Set containing different elements.",
61 assertTrue("A Set should equal any other Set containing the same elements,"
70 Set<E> other = MinimalSet.from(elements);
91 assertFalse("A List should never equal a Set
[all...]
/external/littlemock/tests/com/google/testing/littlemock/
H A DAppDataDirGuesserTest.java24 import java.util.Set;
85 final Set<String> notWriteable = new HashSet<String>();
/external/v8/src/
H A Dmark-compact-inl.h58 mark_bit.Set();
81 mark_bit.Set();
/external/webkit/Source/WebKit/chromium/src/
H A DBoundObject.cpp60 proto->Set(
76 global->Set(v8::String::New(m_objectName), boundObject);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
H A DEnumSetTest.java24 import java.util.Set;
217 Set<EnumFoo> set = EnumSet.noneOf(EnumFoo.class);
229 Set rawSet = set;
279 Set<HugeEnum> hugeSet = EnumSet.noneOf(HugeEnum.class);
322 Set<EnumFoo> set = EnumSet.noneOf(EnumFoo.class);
332 Set emptySet = EnumSet.noneOf(EmptyEnum.class);
360 Set<EnumFoo> fullSet = EnumSet.noneOf(EnumFoo.class);
374 Set fullSetWithSubclass = EnumSet.noneOf(EnumWithInnerClass.class);
385 Set<EnumWithInnerClass> setWithSubclass = fullSetWithSubclass;
389 Set<EnumWithInnerClas
[all...]
H A DTreeSetTest.java24 import java.util.Set;
197 Set s = ts.headSet(new Integer(100));
220 Set as = new HashSet(Arrays.asList(objArray));
293 Set s = ts.tailSet(new Integer(900));
306 Set s1 = new TreeSet();
307 Set s2 = new TreeSet();
H A DIdentityHashMapTest.java26 import java.util.Set;
164 Set keyset = map.keySet();
166 Set entries = map.entrySet();
194 Set set = map.entrySet();
213 Set set = map.keySet();
282 Set set = map.keySet();
300 Set set = map.keySet();
337 Set set = map.keySet();
339 Set newset = new HashSet();
423 Set<Entr
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
H A DX509CRLEntryObject.java10 import java.util.Set;
81 Set extns = getCriticalExtensionOIDs();
134 private Set getExtensionOIDs(boolean critical)
140 Set set = new HashSet();
160 public Set getCriticalExtensionOIDs()
165 public Set getNonCriticalExtensionOIDs()
H A DCertPathValidatorUtilities.java36 import java.util.Set;
122 * Search the given Set of TrustAnchor's for one that is the
127 * @param trustAnchors a Set of TrustAnchor's
135 Set trustAnchors)
142 * Search the given Set of TrustAnchor's for one that is the
148 * @param trustAnchors a Set of TrustAnchor's
157 Set trustAnchors,
378 protected static final Set getQualifierSet(ASN1Sequence qualifiers)
381 Set pq = new HashSet();
464 Set p
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
H A DX509V2AttributeCertificate.java22 import java.util.Set;
232 private Set getExtensionOIDs(
239 Set set = new HashSet();
259 public Set getNonCriticalExtensionOIDs()
264 public Set getCriticalExtensionOIDs()
271 Set extensions = getCriticalExtensionOIDs();
/external/chromium/chrome/browser/chromeos/
H A Dcros_settings.cc47 void CrosSettings::Set(const std::string& path, Value* in_value) { function in class:chromeos::CrosSettings
52 provider->Set(path, in_value);
58 Set(path, Value::CreateBooleanValue(in_value));
63 Set(path, Value::CreateIntegerValue(in_value));
68 Set(path, Value::CreateDoubleValue(in_value));
74 Set(path, Value::CreateStringValue(in_value));
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DImmutableSet.java26 import java.util.Set;
41 implements Set<E> {
43 ImmutableSet(Set<E> delegate) {
133 Set<E> delegate = Sets.newLinkedHashSet();
144 static <E> ImmutableSet<E> unsafeDelegate(Set<E> delegate) {
157 Set<E> set = Sets.newLinkedHashSet();
H A DMultimaps.java47 import java.util.Set;
185 * It can generate a multimap based on arbitrary {@link Map} and {@link Set}
221 Map<K, Collection<V>> map, final Supplier<? extends Set<V>> factory) {
227 transient Supplier<? extends Set<V>> factory;
230 Supplier<? extends Set<V>> factory) {
235 @Override protected Set<V> createCollection() {
335 * Set<K> s = m.keySet(); // Needn't be in synchronized block
403 transient Set<K> keySet;
429 Set<Entry<K, Collection<V>>> entrySet;
431 @Override public Set<Ma
865 unmodifiableAsMapEntries( Set<Entry<K, Collection<V>>> asMapEntries) argument
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8DeviceMotionEventCustom.cpp45 object->Set(v8::String::New("x"), acceleration->canProvideX() ? v8::Number::New(acceleration->x()) : v8::Null());
46 object->Set(v8::String::New("y"), acceleration->canProvideY() ? v8::Number::New(acceleration->y()) : v8::Null());
47 object->Set(v8::String::New("z"), acceleration->canProvideZ() ? v8::Number::New(acceleration->z()) : v8::Null());
54 object->Set(v8::String::New("alpha"), rotationRate->canProvideAlpha() ? v8::Number::New(rotationRate->alpha()) : v8::Null());
55 object->Set(v8::String::New("beta"), rotationRate->canProvideBeta() ? v8::Number::New(rotationRate->beta()) : v8::Null());
56 object->Set(v8::String::New("gamma"), rotationRate->canProvideGamma() ? v8::Number::New(rotationRate->gamma()) : v8::Null());
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DMapInterfaceTest.java30 import java.util.Set;
179 Set<K> keySet = map.keySet();
181 Set<Entry<K, V>> entrySet = map.entrySet();
344 final Set<Entry<K, V>> entrySet;
379 final Set<Entry<K, V>> entrySet;
406 final Set<Entry<K, V>> entrySet;
430 final Set<Entry<K, V>> entrySet;
466 Set<Entry<K, V>> entrySet = map.entrySet();
507 Set<Entry<K, V>> entrySet = map.entrySet();
534 Set<Entr
[all...]
/external/compiler-rt/make/
H A Dutil.mk31 # Function: Set variable value
33 # Set the given make variable to the given value.
34 Set = $(eval $(1) := $(2)) macro
76 $(call Set,$(2),$($(1))))
98 $(call Set,varname,$(firstword $(subst =, ,$(arg)))) \
/external/jmdns/src/javax/jmdns/impl/
H A DJmmDNSImpl.java15 import java.util.Set;
44 private final Set<NetworkTopologyListener> _networkListeners;
119 Set<String> result = new HashSet<String>();
132 Set<String> result = new HashSet<String>();
145 Set<InetAddress> result = new HashSet<InetAddress>();
159 Set<InetAddress> result = new HashSet<InetAddress>();
200 final Set<ServiceInfo> result = Collections.synchronizedSet(new HashSet<ServiceInfo>(_knownMDNS.size()));
403 final Set<ServiceInfo> result = Collections.synchronizedSet(new HashSet<ServiceInfo>(_knownMDNS.size() * 5));
557 private Set<InetAddress> _knownAddresses;
577 Set<InetAddres
[all...]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestDFAConversion.java552 Set<Rule> leftRecursive = g.getLeftRecursiveRules();
553 Set expectedRules =
565 Set expecting = new HashSet() {{add("a"); add("b");}};
581 Set leftRecursive = g.getLeftRecursiveRules();
582 Set expectedRules =
594 Set expecting = new HashSet() {{add("a"); add("b");}};
612 Set leftRecursive = g.getLeftRecursiveRules();
613 Set expectedRules =
625 Set expecting = new HashSet() {{add("a"); add("b"); add("d"); add("e");}};
790 Set leftRecursiv
[all...]
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/
H A DTestUtils.java47 import java.util.Set;
116 * Creates <code>Set</code> of <code>TrustAnchor</code>s
118 * @return Returns <code>Set</code> of <code>TrustAnchor</code>s
120 public static Set getTrustAnchorSet() {
203 public Set getSupportedExtensions() {
267 public Set getExpectedPolicies() {
271 public Set getPolicyQualifiers() {
280 public Set getExpectedPolicies() {
284 public Set getPolicyQualifiers() {
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DSetGenerators.java43 import java.util.Set;
57 @Override protected Set<String> create(String[] elements) {
69 public Set<Object> create(Object... elements) {
79 @Override protected Set<String> create(String[] elements) {
176 @Override public Set<UnhashableObject> create(
244 extends TestUnhashableCollectionGenerator<Set<UnhashableObject>>
252 Set<String> elementsPlus = Sets.newLinkedHashSet();
/external/guava/guava-tests/test/com/google/common/collect/
H A DForwardingMultisetTest.java33 import java.util.Set;
119 @Override public Set<T> elementSet() {
175 @Override protected Set<String> create(String[] elements) {
183 @Override public Set<String> elementSet() {
190 @Override public Set<Entry<String>> entrySet() {
191 final Set<Entry<String>> backingSet = super.entrySet();
193 @Override protected Set<Entry<String>> delegate() {

Completed in 2351 milliseconds

<<11121314151617181920>>