@Override public synchronized Long remove(int i) throws ArrayIndexOutOfBoundsException { if (isEmpty(i)) { return null; } else { Long previousValue = data[i]; data[i] = EMPTY; size--; return convertValue(previousValue); } }
@Override public synchronized Long remove(int i) throws ArrayIndexOutOfBoundsException { if (isEmpty(i)) { return null; } else { Long previousValue = data[i]; data[i] = EMPTY; size--; return convertValue(previousValue); } }