public class UnmodifiableTargetStack extends Object implements GlimpseTargetStack
Constructor and Description |
---|
UnmodifiableTargetStack(GlimpseTargetStack stack) |
Modifier and Type | Method and Description |
---|---|
GlimpseBounds |
getBounds() |
List<GlimpseBounds> |
getBoundsList() |
int |
getSize() |
GlimpseTarget |
getTarget() |
List<GlimpseTarget> |
getTargetList() |
GlimpseTargetStack |
pop()
Removes the top GlimpseTarget / GlimpseBounds pair from the target stack.
|
GlimpseTargetStack |
push(GlimpseTarget target)
Pushes a GlimpseTarget onto this TargetStack (with dummy GlimpseBounds).
|
GlimpseTargetStack |
push(GlimpseTarget target,
GlimpseBounds bounds)
Adds a new GlimpseTarget and its corresponding GlimpseBounds to the TargetStack.
|
GlimpseTargetStack |
push(GlimpseTargetStack stack)
Pushes an existing stack onto the top of this stack, merging the two.
|
public UnmodifiableTargetStack(GlimpseTargetStack stack)
public GlimpseTargetStack push(GlimpseTarget target, GlimpseBounds bounds)
GlimpseTargetStack
push
in interface GlimpseTargetStack
public GlimpseTargetStack push(GlimpseTarget target)
GlimpseTargetStack
push
in interface GlimpseTargetStack
public GlimpseTargetStack push(GlimpseTargetStack stack)
GlimpseTargetStack
push
in interface GlimpseTargetStack
public GlimpseTargetStack pop()
GlimpseTargetStack
pop
in interface GlimpseTargetStack
public GlimpseTarget getTarget()
getTarget
in interface GlimpseTargetStack
public GlimpseBounds getBounds()
getBounds
in interface GlimpseTargetStack
public List<GlimpseTarget> getTargetList()
getTargetList
in interface GlimpseTargetStack
public List<GlimpseBounds> getBoundsList()
getBoundsList
in interface GlimpseTargetStack
public int getSize()
getSize
in interface GlimpseTargetStack
Copyright © 2016 Metron, Inc.. All rights reserved.