class CollectionUtilities {

    @Nullable
    public static <T> T getLastItemOrNull(List<? extends T> col)
    {
        Utilities.checkNull(col, "col");
        return col.isEmpty() ? null : col.get(col.size() - 1);
    }

    private  CollectionUtilities();

}