Here you can find the source of tail(List
public static <T> List<T> tail(List<T> list)
//package com.java2s; //License from project: LGPL import java.util.List; public class Main { public static <T> List<T> tail(List<T> list) { return list.subList(1, list.size()); }// w w w . j a va2s. c om }