/** * Append and object to the underling list. * * @param obj Object to enqueue. * @return True if collection was modified. * * @exception FullCollectionException The queue is full. */ public boolean add(E obj) throws FullCollectionException { if (isFull()) throw new FullCollectionException(); return addLast(obj); }