data_structures_free
This commit is contained in:
11
net/datastructures/Entry.java
Normal file
11
net/datastructures/Entry.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package net.datastructures;
|
||||
|
||||
//begin#fragment Entry
|
||||
/** Interface for a key-value pair entry **/
|
||||
public interface Entry<K,V> {
|
||||
/** Returns the key stored in this entry. */
|
||||
public K getKey();
|
||||
/** Returns the value stored in this entry. */
|
||||
public V getValue();
|
||||
}
|
||||
//end#fragment Entry
|
||||
Reference in New Issue
Block a user