jill/src/main/java/io/github/agentsoz/jill/util/Stack255.java
public boolean push(Object obj) {
    // Cannot add beyond maximum capacity
    if (isFull()) {
      return false;
    }
    // Grow if we are at capacity
    if (size == objects.length) {
      grow();
    }
    objects[size++] = obj;
    return true;
  }
public boolean push(Object obj) {
    // Cannot add beyond maximum capacity
    if (isFull()) {
      return false;
    }
    // Grow if we are at capacity
    if (size == objects.length) {
      grow();
    }
    objects[size++] = obj;
    return true;
  }
public boolean push ( Object obj ) { // Cannot add beyond maximum capacity if ( isFull ( ) ) { return false ; } // Grow if we are at capacity if ( size == objects . length ) { grow ( ) ; } objects [ size ++ ] = obj ; return true ; }
Pushes an object on to the top of the stack.

@param obj the Object to place on the stack
@return true if successfully added, false if the stack was full
Pushes an object on to the top of the stack .