Best code examples for Java 8 LinkedHashSet class (java.util.LinkedHashSet)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Java 8 LinkedHashSet class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Java 8 LinkedHashSet examples from Open Source projects
This code example shows how to use the following methods: add, iterator, size
175:	LinkedHashSet<String> recentlyUsed = new LinkedHashSet<String>(getRecentlyUsed(context)); 
176:	recentlyUsed.add(asset); 
-
178:	if (recentlyUsed.size() > 10) { 
179:	Iterator<String> iterator = recentlyUsed.iterator(); 
-
184:	String serialized = new Gson().toJson(recentlyUsed); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: add
238:	Set<byte[]> bexpected = new LinkedHashSet<byte[]>(); 
239:	bexpected.add(bbar); 
240:	bexpected.add(bcar); 
241:	assertEquals(bexpected, bkeys); 
Full Snippet Info
9
CodeRank
This code example shows how to use the following methods: add
83:	final Set<OIdentifiable> values = new LinkedHashSet<OIdentifiable>(); 
-
86:	values.add(storedValue.getIdentity()); 
-
88:	values.add(value.getIdentity()); 
-
90:	snapshot.put(key, values); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: add
132:	Set<String> expected = new LinkedHashSet<String>(); 
133:	expected.add("b"); 
-
136:	assertEquals(expected, jedis.zrange("foo", 0, 100)); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
46:	private final Set<String> scannedJndiComponentResources = new LinkedHashSet<String>(); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods:
75:	return findAll(cl, new LinkedHashSet<T>()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
34:	private final Set<String> missingRequiredProperties = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
195:	private volatile Set<String> specific = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
86:	return findAll(cl, new LinkedHashSet<T>()); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
37:	private final Set<Iterator<E>> iterators = new LinkedHashSet<Iterator<E>>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: size, toArray
50:	Set<IModelElement> children = new LinkedHashSet<IModelElement>( 
-
52:	return children.toArray(new IModelElement[children.size()]); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: toArray, size, addAll
85:	final LinkedHashSet<String> keys = new LinkedHashSet<String>(); 
86:	keys.addAll(Arrays.asList(backend.getDefinedOptions(url))); 
87:	keys.addAll(Arrays.asList(data.getDefinedOptions())); 
88:	return keys.toArray(new String[keys.size()]); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
34:	private Set<Object>        context = new LinkedHashSet<Object>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: addAll, toArray, size
173:	final LinkedHashSet<String> fields = new LinkedHashSet<String>(Arrays.asList(super.getReferencedFields(query, parameter))); 
174:	fields.addAll(Arrays.asList(additionalFields)); 
175:	return fields.toArray(new String[fields.size()]); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: size, toArray
58:	Set<URL> urls = new LinkedHashSet<URL>(); 
-
65:	return urls.toArray(new URL[urls.size()]); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
32:	private Set<String> mappings = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: add, size, toArray
214:	Set<Resource> actualResources = new LinkedHashSet<Resource>(4); 
-
229:	int importCount = getReaderContext().getReader().loadBeanDefinitions(location, actualResources); 
-
246:	actualResources.add(relativeResource); 
-
250:	importCount = getReaderContext().getReader().loadBeanDefinitions( 
-
265:	Resource[] actResArray = actualResources.toArray(new Resource[actualResources.size()]); 
Full Snippet Info
8
CodeRank
This code example shows how to use the following methods: addAll, toArray, size
181:	final LinkedHashSet<String> fields = new LinkedHashSet<String>(Arrays.asList(super.getReferencedFields(query, parameter))); 
182:	fields.addAll(Arrays.asList(additionalFields)); 
183:	return fields.toArray(new String[fields.size()]); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
46:	protected final Set<Class<?>> publishedInterfaces = new LinkedHashSet<Class<?>>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
32:	return new LinkedHashSet<K>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: addAll, toArray, size
180:	final LinkedHashSet<String> fields = new LinkedHashSet<String>(Arrays.asList(super.getReferencedFields(query, parameter))); 
181:	fields.addAll(Arrays.asList(additionalFields)); 
182:	return fields.toArray(new String[fields.size()]); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
46:	private final Set<Class<?>> interfaces = new LinkedHashSet<Class<?>>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
58:	private final Set<QName> processingEventQNames = new LinkedHashSet<QName>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
99:	return new LinkedHashSet<Object>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
192:	return (T) new LinkedHashSet(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
43:	private static final Set<String> KNOWN_TYPES = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
91:	private final Set<String> basePackages = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
70:	private final Set<Endpoint> publishedEndpoints = new LinkedHashSet<Endpoint>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
25:	private Set<PartialBasicGradleProject> projects = new LinkedHashSet<PartialBasicGradleProject>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
25:	private final Collection<String> classesToCompile = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
26:	private final Set<String> extendsFrom = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
28:	private Set<ExcludeRule> addedRules = new LinkedHashSet<ExcludeRule>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
37:	Set<T> values = linkedHashSet? new LinkedHashSet<T>() : new HashSet<T>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
29:	private final Set<String> configurations = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
This code example shows how to use the following methods:
32:	private final Set<RenderableDependency> children = new LinkedHashSet<RenderableDependency>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
30:	private final Set<RenderableDependency> children = new LinkedHashSet<RenderableDependency>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
27:	private Set<PartialBasicGradleProject> children = new LinkedHashSet<PartialBasicGradleProject>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
32:	private final Set<String> ivyPatterns = new LinkedHashSet<String>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
34:	private Set<Object> delete = new LinkedHashSet<Object>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
33:	private final Set<DependencyResult> dependencies = new LinkedHashSet<DependencyResult>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
31:	private final Set<Object> currentTests = new LinkedHashSet<Object>(); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods:
34:	Set<IdeaSourceDirectory> testDirectories = new LinkedHashSet<IdeaSourceDirectory>(); 
Full Snippet Info
7
CodeRank