jill/src/main/java/io/github/agentsoz/jill/util/Stack255.java
private boolean grow() {
    if (objects.length == MAXIMUM_CAPACITY) {
      // Cannot grow beyond the maximum capacity
      return false;
    }
    int newsize = objects.length + increment;
    if (newsize > MAXIMUM_CAPACITY) {
      newsize = MAXIMUM_CAPACITY;
    }
    Object[] temp = new Object[newsize];
    System.arraycopy(objects, 0, temp, 0, objects.length);
    objects = temp;
    return true;
  }
private boolean grow() {
    if (objects.length == MAXIMUM_CAPACITY) {
      // Cannot grow beyond the maximum capacity
      return false;
    }
    int newsize = objects.length + increment;
    if (newsize > MAXIMUM_CAPACITY) {
      newsize = MAXIMUM_CAPACITY;
    }
    Object[] temp = new Object[newsize];
    System.arraycopy(objects, 0, temp, 0, objects.length);
    objects = temp;
    return true;
  }
Grows the stack capacity by {@link #increment} up to the maximum capacity of 255 (byte size).

@return true if the stack was successfully increased, false otherwise