org.firebirdsql.pool

Class BlockingStack.Node

Enclosing Class:
BlockingStack

protected class BlockingStack.Node
extends java.lang.Object

Container class for objects in the stack.

Constructor Summary

Node()
Creates a node with null object and null next node.
Node(Object object)
Creates a node with the specified object and null next node.
Node(Object object, BlockingStack.Node next)
Creates a Node with the specific object and next node.

Method Summary

BlockingStack.Node
getNext()
Object
getObject()
void
setNext(BlockingStack.Node next)
void
setObject(Object object)

Constructor Details

Node

public Node()
Creates a node with null object and null next node.

Node

public Node(Object object)
Creates a node with the specified object and null next node.
Parameters:
object -

Node

public Node(Object object,
            BlockingStack.Node next)
Creates a Node with the specific object and next node.
Parameters:
object -
next -

Method Details

getNext

public BlockingStack.Node getNext()
Returns:
Returns the next.

getObject

public Object getObject()
Returns:
Returns the object.

setNext

public void setNext(BlockingStack.Node next)
Parameters:
next - The next to set.

setObject

public void setObject(Object object)
Parameters:
object - The object to set.

Copyright B) 2001 David Jencks and other authors. All rights reserved.