For example

Example 1. An abbreviated List interface using Java

interface List<T> {
  T get(int index);
  int length();
  List<T> reverse();
}