Class CallStack
- All Implemented Interfaces:
StateMachine.State, Iterable<CallerSiteContext>
Representation for a calling context.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CallStackprotected CallerSiteContext[]makeInternalArray(int size) protected CallStackmakeStack(CallerSiteContext[] tmpEntries) pop()push(CallerSiteContext entry) Methods inherited from class ImmutableStack
contains, emptyStack, equals, get, getMaxSize, hashCode, isEmpty, iterator, peek, popAll, pushAll, replaceTop, reverse, size, topMatches, toStringModifier and TypeMethodDescriptionbooleancontains(CallerSiteContext entry) static <T> ImmutableStack<T> booleanget(int i) static intinthashCode()booleanisEmpty()iterator()peek()popAll(ImmutableStack<CallerSiteContext> other) pushAll(ImmutableStack<CallerSiteContext> other) return a new stack with the top replaced with treverse()intsize()booleantoString()Methods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
CallStack
-
-
Method Details
-
emptyCallStack
-
makeStack
- Overrides:
makeStackin classImmutableStack<CallerSiteContext>
-
makeInternalArray
- Overrides:
makeInternalArrayin classImmutableStack<CallerSiteContext>
-
pop
- Overrides:
popin classImmutableStack<CallerSiteContext>
-
push
- Overrides:
pushin classImmutableStack<CallerSiteContext>
-