public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
@Override public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
@Override public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(end - 1); }
@Override public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
@Override public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
public T first() { if (isEmpty()) throw new NoSuchElementException("first"); return get(0); }
@Override public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size() - 1); }
public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size()-1); }
@Override public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size() - 1); }
public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size()-1); }
public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size()-1); }
@Override public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size() - 1); }
public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size()-1); }
public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size()-1); }
@Override public T last() { if (isEmpty()) throw new NoSuchElementException("last"); return get(size() - 1); }