base/common/src/main/com/thesett/common/util/SizeableLinkedList.java
public boolean remove(Object o)
    {
        boolean result = super.remove(o);

        sizeOf -= ((o instanceof Sizeable) && result) ? ((Sizeable) o).sizeof() : 0;

        return result;
    }
public boolean remove(Object o)
    {
        boolean result = super.remove(o);

        sizeOf -= ((o instanceof Sizeable) && result) ? ((Sizeable) o).sizeof() : 0;

        return result;
    }
public boolean remove ( Object o ) { boolean result = super . remove ( o ) ; sizeOf -= ( ( o instanceof Sizeable ) && result ) ? ( ( Sizeable ) o ) . sizeof ( ) : 0 ; return result ; }
Removes the first occurrence in this list of the specified element (optional operation). If this list does not
contain the element, it is unchanged. More formally, removes the element with the lowest index i such that <tt>
(o==null ? get(i)==null : o.equals(get(i)))</tt> (if such an element exists).

@param  o element to be removed from this list, if present.

@return <tt>true</tt> if this list contained the specified element.

@throws ClassCastException            if the type of the specified element is incompatible with this list
(optional).
@throws NullPointerException          if the specified element is null and this list does not support null
elements (optional).
@throws UnsupportedOperationException if the <tt>remove</tt> method is not supported by this list.
Removes the first occurrence in this list of the specified element ( optional operation ) . If this list does not contain the element it is unchanged . More formally removes the element with the lowest index i such that <tt > ( o == null ? get ( i ) == null : o . equals ( get ( i ))) < / tt > ( if such an element exists ) .