Class DateEvents

    • Constructor Summary

      Constructors 
      Constructor Description
      DateEvents​(java.lang.String description)
      Default constructor to create a DateEvents object with a defined description.
    • Method Summary

      Modifier and Type Method Description
      boolean add​(EdalDate date)  
      boolean addAll​(java.util.Collection<? extends EdalDate> collection)  
      void clear()  
      int compareTo​(UntypedData datatype)
      boolean contains​(java.lang.Object object)  
      boolean containsAll​(java.util.Collection<?> collection)  
      boolean equals​(java.lang.Object object)  
      java.util.Set<EdalDate> getSet()  
      int hashCode()  
      boolean isEmpty()  
      java.util.Iterator<EdalDate> iterator()  
      boolean remove​(java.lang.Object object)  
      boolean removeAll​(java.util.Collection<?> collection)  
      boolean retainAll​(java.util.Collection<?> collection)  
      void setSet​(java.util.Set<EdalDate> set)  
      int size()  
      java.lang.Object[] toArray()  
      <T> T[] toArray​(T[] array)  
      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

        spliterator
    • Constructor Detail

      • DateEvents

        public DateEvents​(java.lang.String description)
        Default constructor to create a DateEvents object with a defined description.
        Parameters:
        description - the event for this DateEvents.
    • Method Detail

      • add

        public boolean add​(EdalDate date)
        Specified by:
        add in interface java.util.Collection<EdalDate>
        Specified by:
        add in interface java.util.Set<EdalDate>
        Parameters:
        date - the date to add
        Returns:
        true or false
        See Also:
        Set.add(java.lang.Object)
      • addAll

        public boolean addAll​(java.util.Collection<? extends EdalDate> collection)
        Specified by:
        addAll in interface java.util.Collection<EdalDate>
        Specified by:
        addAll in interface java.util.Set<EdalDate>
        Parameters:
        collection - the collection to add
        Returns:
        true or false
        See Also:
        Set.addAll(java.util.Collection)
      • clear

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

        public boolean contains​(java.lang.Object object)
        Specified by:
        contains in interface java.util.Collection<EdalDate>
        Specified by:
        contains in interface java.util.Set<EdalDate>
        Parameters:
        object - the object to match
        Returns:
        true or false
        See Also:
        Set.contains(java.lang.Object)
      • containsAll

        public boolean containsAll​(java.util.Collection<?> collection)
        Specified by:
        containsAll in interface java.util.Collection<EdalDate>
        Specified by:
        containsAll in interface java.util.Set<EdalDate>
        Parameters:
        collection - the collection to match
        Returns:
        true or false
        See Also:
        Set.containsAll(java.util.Collection)
      • equals

        public boolean equals​(java.lang.Object object)
        Specified by:
        equals in interface java.util.Collection<EdalDate>
        Specified by:
        equals in interface java.util.Set<EdalDate>
        Overrides:
        equals in class UntypedData
        Parameters:
        object - the object to compare
        Returns:
        true or false
        See Also:
        Set.equals(java.lang.Object)
      • getSet

        public java.util.Set<EdalDate> getSet()
        Returns:
        the set
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Collection<EdalDate>
        Specified by:
        hashCode in interface java.util.Set<EdalDate>
        Overrides:
        hashCode in class UntypedData
        Returns:
        hashCode
        See Also:
        Set.hashCode()
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<EdalDate>
        Specified by:
        isEmpty in interface java.util.Set<EdalDate>
        Returns:
        true or false
        See Also:
        Set.isEmpty()
      • iterator

        public java.util.Iterator<EdalDate> iterator()
        Specified by:
        iterator in interface java.util.Collection<EdalDate>
        Specified by:
        iterator in interface java.lang.Iterable<EdalDate>
        Specified by:
        iterator in interface java.util.Set<EdalDate>
        Returns:
        Iterator of EdalDate
        See Also:
        Set.iterator()
      • remove

        public boolean remove​(java.lang.Object object)
        Specified by:
        remove in interface java.util.Collection<EdalDate>
        Specified by:
        remove in interface java.util.Set<EdalDate>
        Parameters:
        object - the object to remove
        Returns:
        true or false
        See Also:
        Set.remove(java.lang.Object)
      • removeAll

        public boolean removeAll​(java.util.Collection<?> collection)
        Specified by:
        removeAll in interface java.util.Collection<EdalDate>
        Specified by:
        removeAll in interface java.util.Set<EdalDate>
        Parameters:
        collection - the collection to remove
        Returns:
        true or false
        See Also:
        Set.removeAll(java.util.Collection)
      • retainAll

        public boolean retainAll​(java.util.Collection<?> collection)
        Specified by:
        retainAll in interface java.util.Collection<EdalDate>
        Specified by:
        retainAll in interface java.util.Set<EdalDate>
        Parameters:
        collection - the collection to retain
        Returns:
        true or false
        See Also:
        Set.retainAll(java.util.Collection)
      • setSet

        public void setSet​(java.util.Set<EdalDate> set)
        Parameters:
        set - the set to set
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<EdalDate>
        Specified by:
        size in interface java.util.Set<EdalDate>
        Returns:
        size
        See Also:
        Set.size()
      • toArray

        public java.lang.Object[] toArray()
        Specified by:
        toArray in interface java.util.Collection<EdalDate>
        Specified by:
        toArray in interface java.util.Set<EdalDate>
        Returns:
        Object array
        See Also:
        Set.toArray()
      • toArray

        public <T> T[] toArray​(T[] array)
        Specified by:
        toArray in interface java.util.Collection<EdalDate>
        Specified by:
        toArray in interface java.util.Set<EdalDate>
        Parameters:
        array - the array to convert
        Returns:
        array
        See Also:
        Set.toArray(Object[])
      • 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.