base/common/src/main/com/thesett/common/util/SizeableLinkedList.java
public boolean addAll(Collection<? extends T> c)
    {
        if (c instanceof Sizeable)
        {
            sizeOf += ((Sizeable) c).sizeof();
        }

        return super.addAll(c);
    }
public boolean addAll(Collection<? extends T> c)
    {
        if (c instanceof Sizeable)
        {
            sizeOf += ((Sizeable) c).sizeof();
        }

        return super.addAll(c);
    }
public boolean addAll ( Collection < ? extends T > c ) { if ( c instanceof Sizeable ) { sizeOf += ( ( Sizeable ) c ) . sizeof ( ) ; } return super . addAll ( c ) ; }
Appends all of the elements in the specified collection to the end of this list, in the order that they are
returned by the specified collection's iterator (optional operation). The behavior of this operation is
unspecified if the specified collection is modified while the operation is in progress. (Note that this will
occur if the specified collection is this list, and it's nonempty.)

@param  c collection whose elements are to be added to this list.

@return <tt>true</tt> if this list changed as a result of the call.

@throws UnsupportedOperationException if the <tt>addAll</tt> method is not supported by this list.
@throws ClassCastException            if the class of an element in the specified collection prevents it from
being added to this list.
@throws NullPointerException          if the specified collection contains one or more null elements and this
list does not support null elements, or if the specified collection is <tt>
null</tt>.
@throws IllegalArgumentException      if some aspect of an element in the specified collection prevents it from
being added to this list.

@see    #add(Object)
Appends all of the elements in the specified collection to the end of this list in the order that they are returned by the specified collection s iterator ( optional operation ) . The behavior of this operation is unspecified if the specified collection is modified while the operation is in progress . ( Note that this will occur if the specified collection is this list and it s nonempty . )