Class ElementDecorator<E>

  • All Implemented Interfaces:
    org.api4.java.common.attributedobjects.IElementDecorator<E>

    public class ElementDecorator<E>
    extends java.lang.Object
    implements org.api4.java.common.attributedobjects.IElementDecorator<E>
    • Constructor Summary

      Constructors 
      Constructor Description
      ElementDecorator​(E element)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      E getElement()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ElementDecorator

        public ElementDecorator​(E element)
    • Method Detail

      • getElement

        public E getElement()
        Specified by:
        getElement in interface org.api4.java.common.attributedobjects.IElementDecorator<E>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object