/** * Returns true if this buffer is empty; false otherwise. * * @return true if this buffer is empty */ public boolean isEmpty() { return size() == 0; }
/** * Returns true if this collection is full and no new elements can be added. * * @return <code>true</code> if the collection is full */ public boolean isFull() { return size() == maxElements; }
/** * Returns true if this collection is full and no new elements can be added. * * @return <code>true</code> if the collection is full */ public boolean isFull() { return size() == maxElements; }
/** * Returns true if this buffer is empty; false otherwise. * * @return true if this buffer is empty */ public boolean isEmpty() { return size() == 0; }
/** * Returns true if this buffer is empty; false otherwise. * * @return true if this buffer is empty */ public boolean isEmpty() { return size() == 0; }
/** * Returns true if this buffer is empty; false otherwise. * * @return true if this buffer is empty */ public boolean isEmpty() { return size() == 0; }
/** * Returns true if this buffer is empty; false otherwise. * * @return true if this buffer is empty */ public boolean isEmpty() { return size() == 0; }
/** * Returns true if this collection is full and no new elements can be added. * * @return <code>true</code> if the collection is full */ public boolean isFull() { return size() == maxElements; }
/** * Returns true if this collection is full and no new elements can be added. * * @return <code>true</code> if the collection is full */ public boolean isFull() { return size() == maxElements; }
/** * Returns true if this collection is full and no new elements can be added. * * @return <code>true</code> if the collection is full */ public boolean isFull() { return size() == maxElements; }
/** * Returns true if this collection is full and no new elements can be added. * * @return <code>true</code> if the collection is full */ public boolean isFull() { return size() == maxElements; }
/** * Returns true if this buffer is empty; false otherwise. * * @return true if this buffer is empty */ public boolean isEmpty() { return size() == 0; }
/** * Returns true if this buffer is empty; false otherwise. * * @return true if this buffer is empty */ public boolean isEmpty() { return size() == 0; }
/** * Returns true if this collection is full and no new elements can be added. * * @return <code>true</code> if the collection is full */ public boolean isFull() { return size() == maxElements; }