Class ListOfPersons

  • All Implemented Interfaces:
    java.lang.Iterable<Person>, java.util.Collection<Person>, java.util.List<Person>

    public class ListOfPersons
    extends java.lang.Object
    implements java.util.List<Person>
    Author:
    Fabrizio Giudici
    • Constructor Summary

      Constructors 
      Constructor Description
      ListOfPersons​(java.util.List<Person> persons)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
    • Constructor Detail

      • ListOfPersons

        public ListOfPersons​(@Nonnull
                             java.util.List<Person> persons)