data_structures_free
This commit is contained in:
12
net/datastructures/Position.java
Normal file
12
net/datastructures/Position.java
Normal file
@@ -0,0 +1,12 @@
|
||||
package net.datastructures;
|
||||
/**
|
||||
* An interface for a position, which is a holder object storing a
|
||||
* single element.
|
||||
* @author Roberto Tamassia, Michael Goodrich
|
||||
*/
|
||||
//begin#fragment All
|
||||
public interface Position<E> {
|
||||
/** Return the element stored at this position. */
|
||||
E element();
|
||||
}
|
||||
//end#fragment All
|
||||
Reference in New Issue
Block a user