net.sf.parser4j.parser.entity.parsestate
Class ParseStackSet

java.lang.Object
  extended by net.sf.parser4j.parser.entity.parsestate.ParseStackSet
All Implemented Interfaces:
java.lang.Iterable<ParseStack>

public class ParseStackSet
extends java.lang.Object
implements java.lang.Iterable<ParseStack>

Author:
luc peuvrier

Field Summary
protected  java.util.Map<ParseStack,ParseStack> parseStackSet
           
 
Constructor Summary
ParseStackSet()
           
 
Method Summary
 void add(ParseStack parseStack)
           
 void clear()
           
 ParseStack get(ParseStack parseStack)
           
static int getMaxSize()
           
 boolean isEmpty()
           
 java.util.Iterator<ParseStack> iterator()
           
 boolean remove(ParseStack parseStack)
           
 int size()
           
 void toArray(ParseStack[] parseStacks)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parseStackSet

protected final java.util.Map<ParseStack,ParseStack> parseStackSet
Constructor Detail

ParseStackSet

public ParseStackSet()
Method Detail

get

public ParseStack get(ParseStack parseStack)

getMaxSize

public static int getMaxSize()

add

public void add(ParseStack parseStack)

clear

public void clear()

remove

public boolean remove(ParseStack parseStack)

size

public int size()

isEmpty

public boolean isEmpty()

iterator

public java.util.Iterator<ParseStack> iterator()
Specified by:
iterator in interface java.lang.Iterable<ParseStack>

toArray

public void toArray(ParseStack[] parseStacks)


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.