public int pop() {
    throwIfImmutable();

    int result;

    result = get(size - 1);
    size--;

    return result;
  }
Pops an element off the end of the list and decreasing the size by one.

@return value from what was the last element
@throws IndexOutOfBoundsException if stack is empty
android/android_framework/dex-maker/src/main/java/com/android/dx/util/IntList.java