Hi everyone, I am learning and trying to create a bucket sort on ArrayList<E>, I have an Entry interface as:

Code:
public interface Entry<Integer,V> {
		public int getKey();
		public V getValue();
	}
and my BucketSort class as:

Code:
public class BucketSort<E extends Entry<Integer, ?>> {
	public E value;

	public BucketSort() {};

	public E getValue() { 
		return value;
	}

	public void bucketSort(ArrayList<E> entries) {
		entries.getValue();

	}
}
The problem is that I do not know how to override and define the methods in the interface to implement and use for my ArrayList. When I try to call getValue() or getKey() on my entries input in the bucketSort method I am given errors. Any tips would be appreciated!