org.jface.stepmt.core
Class PatternMap

java.lang.Object
  extended byorg.jface.stepmt.core.PatternMap

public class PatternMap
extends java.lang.Object

Used to store Patterns.

Version:
$Id: PatternMap.java,v 1.1 2004/02/07 11:24:11 powerpete Exp $
Author:
M. Petersen

Constructor Summary
PatternMap()
           
 
Method Summary
 void add(Pattern pattern)
          Adds a new Pattern to this.
 void addAll(java.util.Collection patterns)
          Adds all Patterns inside the given Collection.
 Pattern get(java.lang.String name)
          Returns a Pattern with the given name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternMap

public PatternMap()
Method Detail

add

public void add(Pattern pattern)
Adds a new Pattern to this.

Parameters:
pattern - The Pattern.

addAll

public void addAll(java.util.Collection patterns)
Adds all Patterns inside the given Collection.

Parameters:
patterns - The Collection holding Pattern instances.

get

public Pattern get(java.lang.String name)
Returns a Pattern with the given name.

Parameters:
name - The name of the Pattern.
Returns:
The Pattern.


Copyright © 2003-2004 jface.org. All Rights Reserved.