FastStack

org.beangle.commons.collection.FastStack
final class FastStack[T](initialCapacity: Int)(implicit evidence$1: ClassTag[T])

Array based Stack

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def get(i: Int): T
def isEmpty(): Boolean
def peek(): T
def pop(): T
def popSilently(): Unit
def push(value: T): Unit
def replace(value: T): T
def size(): Int
def toArray(): Array[T]
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any