class LazyList implements Cloneable, Serializable {

    public static int size(Object list) {
        if (list == null)
            return 0;
        if (list instanceof List)
            return ((List<?>) list).size();
        return 1;
    }

    private  LazyList();

}