All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.util.Stack Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package java.util;

/**
 * @since CLDC 1.0
 */
public class Stack extends Vector {
    public Stack() {}

    public boolean empty() {
        return false;
    }

    /**
     * @throws EmptyStackException
     */
    public Object peek() {
        return null;
    }

    /**
     * @throws EmptyStackException
     */
    public Object pop() {
        return null;
    }

    public Object push(Object item) {
        return null;
    }

    public int search(Object o) {
        return 0;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy