JavaDoc for stack