Java tutorial
//package com.java2s; import java.util.ArrayList; public class Main { public static <E> boolean addIsAccepted(ArrayList<E> list, E e) { return list.add(e); } }