Produce a new stack representing the concatenation of this
with right
.
Produce a new stack representing the concatenation of this
with right
. Note that this replaces the terminating element of
this
.
A copy of this Stack with stk
prepended.
A copy of this Stack with stk
prepended.
Traverse the stack, invoking fn
on each element.
Traverse the stack, invoking fn
on each element.
The Role that the head element of this Stack can serve.
Materialize the current stack with the given parameters,
producing a T
-typed value representing the current
configuration.
Materialize the current stack with the given parameters,
producing a T
-typed value representing the current
configuration.
Remove all nodes in the stack that match the target
role.
Remove all nodes in the stack that match the target
role.
Leaf nodes are not removable.
Replace any stack elements matching the argument role with a given com.twitter.finagle.Stackable.
Replace any stack elements matching the argument role with a given
com.twitter.finagle.Stackable. If no elements match the
role, then an unmodified stack is returned. replacement
must conform to
typeclass com.twitter.finagle.CanStackFrom.
Replace any stack elements matching the argument role with a given Stackable.
Replace any stack elements matching the argument role with a given Stackable. If no elements match the role, then an unmodified stack is returned.
Enumerate each well-formed stack contained within this stack.
Enumerate each well-formed stack contained within this stack.
Transform one stack to another by applying fn
on each element;
the map traverses on the element produced by fn
, not the
original stack.
Transform one stack to another by applying fn
on each element;
the map traverses on the element produced by fn
, not the
original stack.
Nodes materialize by transforming the underlying stack in some way.