final List<Person> personsList = findByName(name); return (startIndex != null && numberOfElementsInSpan != null) ? personsList.subList(startIndex, startIndex + numberOfElementsInSpan) : personsList;
return Collections.EMPTY_LIST;
    public static List<Person> findByName(final String name, final Integer startIndex,            final Integer numberOfElementsInSpan) {        if (name == null) {            return Collections.EMPTY_LIST;        }        final List<Person> personsList = findByName(name);        return (startIndex != null && numberOfElementsInSpan != null) ? personsList.subList(startIndex,                startIndex + numberOfElementsInSpan) : personsList;    }