1 // $Id: AbstractPattern.java,v 1.2 2004/02/07 11:25:35 powerpete Exp $
2 // [JMP, 03.02.2004] Created this file.
3 package org.jface.stepmt.core.patterns;
4
5 import org.jface.stepmt.core.Pattern;
6
7 /***
8 * @author <a href="mailto:powerpete@users.sf.net">M. Petersen</a>
9 * @version $Id: AbstractPattern.java,v 1.2 2004/02/07 11:25:35 powerpete Exp $
10 */
11 public abstract class AbstractPattern implements Pattern
12 {
13 protected String name;
14
15 public String getName()
16 {
17 return name;
18 }
19
20 public void setName(final String name)
21 {
22 this.name = name;
23 }
24
25 protected boolean checkBounds(final String str, final int index)
26 {
27 return index >= 0 && index < str.length();
28 }
29 }
This page was automatically generated by Maven