gnu.hylafax.pool
Class BlockingStack.Node
java.lang.Object
|
+--gnu.hylafax.pool.BlockingStack.Node
- Enclosing class:
- BlockingStack
- protected class BlockingStack.Node
- extends java.lang.Object
Container class for objects in the stack.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockingStack.Node
public BlockingStack.Node()
- Creates a node with null object and null next node.
BlockingStack.Node
public BlockingStack.Node(java.lang.Object object)
- Creates a node with the specified object and null next node.
- Parameters:
object -
BlockingStack.Node
public BlockingStack.Node(java.lang.Object object,
BlockingStack.Node next)
- Creates a Node with the specific object and next node.
- Parameters:
object - next -
getNext
public BlockingStack.Node getNext()
- Returns:
- Returns the next.
getObject
public java.lang.Object getObject()
- Returns:
- Returns the object.
setNext
public void setNext(BlockingStack.Node next)
- Parameters:
next - The next to set.
setObject
public void setObject(java.lang.Object object)
- Parameters:
object - The object to set.