class Utils {

    public static boolean isEquals(final List<?> first, List<?> second) {
        if (first == null) {
            return second == null;
        }

        if (first.isEmpty()) {
            return second.isEmpty();
        }
        if ((first != null && second != null) && (first.size() == second.size())) {
            for (int index = 0; index < first.size(); index++) {
                if (!Objects.equals(first.get(index), second.get(index))) {
                    return false;
                }
            }
            return true;

        }
        return false;
    }

    private  Utils();

}