Class Persons

    • Constructor Summary

      Constructors 
      Constructor Description
      Persons()  
    • Method Summary

      Modifier and Type Method Description
      boolean add​(Person e)  
      boolean addAll​(java.util.Collection<? extends Person> c)  
      void clear()  
      int compareTo​(UntypedData datatype)
      boolean contains​(java.lang.Object o)  
      boolean containsAll​(java.util.Collection<?> c)  
      java.util.Set<Person> getPersons()  
      boolean isEmpty()  
      java.util.Iterator<Person> iterator()  
      boolean remove​(java.lang.Object o)  
      boolean removeAll​(java.util.Collection<?> c)  
      boolean retainAll​(java.util.Collection<?> c)  
      void setPersons​(java.util.LinkedHashSet<Person> persons)  
      int size()  
      java.lang.Object[] toArray()  
      <T> T[] toArray​(T[] a)  
      java.lang.String toHTML()
      Return a String representation for the HTML pages of the HTTP-Listener
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, 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.Set

        equals, hashCode, spliterator
    • Constructor Detail

      • Persons

        public Persons()
    • Method Detail

      • add

        public boolean add​(Person e)
        Specified by:
        add in interface java.util.Collection<Person>
        Specified by:
        add in interface java.util.Set<Person>
      • addAll

        public boolean addAll​(java.util.Collection<? extends Person> c)
        Specified by:
        addAll in interface java.util.Collection<Person>
        Specified by:
        addAll in interface java.util.Set<Person>
      • clear

        public void clear()
        Specified by:
        clear in interface java.util.Collection<Person>
        Specified by:
        clear in interface java.util.Set<Person>
      • contains

        public boolean contains​(java.lang.Object o)
        Specified by:
        contains in interface java.util.Collection<Person>
        Specified by:
        contains in interface java.util.Set<Person>
      • containsAll

        public boolean containsAll​(java.util.Collection<?> c)
        Specified by:
        containsAll in interface java.util.Collection<Person>
        Specified by:
        containsAll in interface java.util.Set<Person>
      • getPersons

        public java.util.Set<Person> getPersons()
        Returns:
        the persons
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<Person>
        Specified by:
        isEmpty in interface java.util.Set<Person>
      • iterator

        public java.util.Iterator<Person> iterator()
        Specified by:
        iterator in interface java.util.Collection<Person>
        Specified by:
        iterator in interface java.lang.Iterable<Person>
        Specified by:
        iterator in interface java.util.Set<Person>
      • remove

        public boolean remove​(java.lang.Object o)
        Specified by:
        remove in interface java.util.Collection<Person>
        Specified by:
        remove in interface java.util.Set<Person>
      • removeAll

        public boolean removeAll​(java.util.Collection<?> c)
        Specified by:
        removeAll in interface java.util.Collection<Person>
        Specified by:
        removeAll in interface java.util.Set<Person>
      • retainAll

        public boolean retainAll​(java.util.Collection<?> c)
        Specified by:
        retainAll in interface java.util.Collection<Person>
        Specified by:
        retainAll in interface java.util.Set<Person>
      • setPersons

        public void setPersons​(java.util.LinkedHashSet<Person> persons)
        Parameters:
        persons - the persons to set
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<Person>
        Specified by:
        size in interface java.util.Set<Person>
      • toArray

        public java.lang.Object[] toArray()
        Specified by:
        toArray in interface java.util.Collection<Person>
        Specified by:
        toArray in interface java.util.Set<Person>
      • toArray

        public <T> T[] toArray​(T[] a)
        Specified by:
        toArray in interface java.util.Collection<Person>
        Specified by:
        toArray in interface java.util.Set<Person>
      • toHTML

        public java.lang.String toHTML()
        Return a String representation for the HTML pages of the HTTP-Listener
        Overrides:
        toHTML in class UntypedData
        Returns:
        the HTML representation.