Class StacksAndQueuesFactory

java.lang.Object
  |
  +--StacksAndQueuesFactory

public class StacksAndQueuesFactory
extends Object

Creates objects for use in the stacks and queues application.


Constructor Summary
StacksAndQueuesFactory()
           
 
Method Summary
static IInfixToRPN createInfixToRPN()
          Creates a new object of type IInfixToRPN.
static IQueue createQueue()
          Creates a new object of type IQueue.
static IRPNEvaluator createRPNEvaluator()
          Creates a new object of type IRPNEvaluator.
static IStack createStack()
          Creates a new object of type IStack.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StacksAndQueuesFactory

public StacksAndQueuesFactory()
Method Detail

createStack

public static IStack createStack()
Creates a new object of type IStack.


createQueue

public static IQueue createQueue()
Creates a new object of type IQueue.


createRPNEvaluator

public static IRPNEvaluator createRPNEvaluator()
Creates a new object of type IRPNEvaluator.


createInfixToRPN

public static IInfixToRPN createInfixToRPN()
Creates a new object of type IInfixToRPN.