Code examples for Map.Entry

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
44:	key = iSource.getKey(); 
45:	value = iSource.getValue(); 
Full Snippet Info
8
CodeRank
47:	this.key = entry.getKey(); 
48:	this.value = entry.getValue(); 
Full Snippet Info
7
CodeRank
71:	return this.diskMap.put(eldest.getKey(), eldest.getValue()); 
Full Snippet Info
7
CodeRank
358:	&& key.equals(((Map.Entry<?, ?>) obj).getKey()) 
359:	&& value.equals(((Map.Entry<?, ?>) obj).getValue()); 
Full Snippet Info
7
CodeRank
66:	if (entryPredicate.apply(entry) && Objects.equal(entry.getValue(), o)) { 
Full Snippet Info
7
CodeRank
39:	return pattern.getValue(); 
Full Snippet Info
7
CodeRank
494:	if (predicate.apply(entry)) { 
495:	toRemove.add(entry.getKey()); 
Full Snippet Info
6
CodeRank
164:	value = typeConverter.toConvertedType(entry.getValue()); 
-
172:	entry.setValue(typeConverter.toUnconvertedType(value)); 
Full Snippet Info
6
CodeRank
35:	final CharSequence name = entry.getKey(); 
36:	final CharSequence value = entry.getValue(); 
Full Snippet Info
7
CodeRank
188:	Assert.assertEquals("param2", entry.getKey()); 
189:	Assert.assertEquals(1, entry.getValue().size()); 
190:	Assert.assertEquals("value2", entry.getValue().get(0)); 
Full Snippet Info
6
CodeRank
205:	bytesRead += entry.getKey().getSize() + entry.getValue().getSize(); 
206:	entry.getKey().getRow(rowID); 
-
211:	serializer.deserialize(entry); 
Full Snippet Info
6
CodeRank
36:	key = e.getKey(); 
37:	value = e.getValue(); 
Full Snippet Info
7
CodeRank
25:	entrySet.add(entry); 
-
32:	expect(entry.getKey()).andReturn("[x]").anyTimes(); 
33:	expect(entry.getValue()).andReturn("bar").anyTimes(); 
Full Snippet Info
6
CodeRank
49:	return Objects.equal(this.getKey(), that.getKey()) 
Full Snippet Info
6
CodeRank
53:	elements[index++] = escape(keyLexicoder.encode(entry.getKey())); 
54:	elements[index++] = escape(valueLexicoder.encode(entry.getValue())); 
Full Snippet Info
6
CodeRank
70:	if (entry.getKey() instanceof Enchantment 
71:	&& entry.getValue() instanceof Integer) 
-
73:	final Enchantment enchant = (Enchantment)entry.getKey(); 
74:	final Integer lvl = (Integer)entry.getValue(); 
Full Snippet Info
6
CodeRank
75:	id = (String) e.getKey(); 
76:	content = new AtomContent(e.getValue()); 
Full Snippet Info
7
CodeRank
38:	return Objects.equal(this.getKey(), that.getKey()) 
39:	&& Objects.equal(this.getValue(), that.getValue()); 
Full Snippet Info
6
CodeRank
48:	V value = map().get(entry.getKey()); 
49:	return value != null && value.equals(entry.getValue()); 
Full Snippet Info
6
CodeRank
253:	return a[index].getKey(); 
Full Snippet Info
6
CodeRank