Java tutorial
//package com.java2s; import java.util.List; public class Main { public static <T> List<T> slice(List<T> l, int fromIndex) { return l.subList(fromIndex, l.size()); } }