Class AbstractListHavingProperties<T>

    • Constructor Detail

      • AbstractListHavingProperties

        public AbstractListHavingProperties()

        Constructor for AbstractListHavingProperties.

    • Method Detail

      • processAddedObjectEvent

        protected abstract void processAddedObjectEvent​(T added)

        processAddedObjectEvent

        Parameters:
        added - a T object.
      • processRemovedObjectEvent

        protected abstract void processRemovedObjectEvent​(T removed)

        processRemovedObjectEvent

        Parameters:
        removed - a T object.
      • clearProperties

        protected abstract void clearProperties()

        clearProperties

      • add

        public void add​(int i,
                        T t)
        Specified by:
        add in interface List<T>
        Overrides:
        add in class ArrayList<T>
      • removeRange

        protected void removeRange​(int i,
                                   int i2)
        Overrides:
        removeRange in class ArrayList<T>
      • set

        public T set​(int i,
                     T t)
        Specified by:
        set in interface List<T>
        Overrides:
        set in class ArrayList<T>
      • addOnly

        public void addOnly​(int i,
                            T object)

        addOnly

        Parameters:
        i - a int.
        object - a T object.
      • addOnly

        public boolean addOnly​(T object)

        addOnly

        Parameters:
        object - a T object.
        Returns:
        a boolean.
      • removeOnly

        public boolean removeOnly​(Object o)

        removeOnly

        Parameters:
        o - a Object object.
        Returns:
        a boolean.
      • clearOnly

        public void clearOnly()

        clearOnly

      • retainAllOnly

        public boolean retainAllOnly​(Collection<?> objects)

        retainAllOnly

        Parameters:
        objects - a Collection object.
        Returns:
        a boolean.
      • removeOnly

        public T removeOnly​(int i)

        removeOnly

        Parameters:
        i - a int.
        Returns:
        a T object.
      • removeAllOnly

        public boolean removeAllOnly​(Collection<?> objects)

        removeAllOnly

        Parameters:
        objects - a Collection object.
        Returns:
        a boolean.
      • removeRangeOnly

        protected void removeRangeOnly​(int i,
                                       int i2)

        removeRangeOnly

        Parameters:
        i - a int.
        i2 - a int.
      • addAllOnly

        public boolean addAllOnly​(int i,
                                  Collection<? extends T> ts)

        addAllOnly

        Parameters:
        i - a int.
        ts - a Collection object.
        Returns:
        a boolean.
      • addAllOnly

        public boolean addAllOnly​(Collection<? extends T> ts)

        addAllOnly

        Parameters:
        ts - a Collection object.
        Returns:
        a boolean.
      • setOnly

        public T setOnly​(int i,
                         T t)

        setOnly

        Parameters:
        i - a int.
        t - a T object.
        Returns:
        a T object.