PhyloSort

phylosort.ui
Class TaxaRegexpExamples

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.String>
          extended by phylosort.ui.TaxaRegexpExamples
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>

public final class TaxaRegexpExamples
extends java.util.HashMap<java.lang.String,java.lang.String>

Examples of regular expression for taxa extraction

Version:
$Revision: 1.5 $
Author:
Ahmed Moustafa
See Also:
Serialized Form

Method Summary
 java.lang.String getDescription(int i)
          Returns the description of an expression at specific position in the list of examples
 java.lang.String getDescription(java.lang.String expression)
          Returns a description for an expression
 java.lang.String getExpression(int i)
          Returns expression at specific position in the list of examples
 java.lang.Iterable<java.lang.String> getExpressions()
          Returns avaliable of expression examples
static TaxaRegexpExamples getInstance()
          Returns an instance of TaxaRegexpExamples
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Method Detail

getInstance

public static TaxaRegexpExamples getInstance()
Returns an instance of TaxaRegexpExamples

Returns:
TaxaRegexpExamples

getExpression

public java.lang.String getExpression(int i)
Returns expression at specific position in the list of examples

Parameters:
i - Expression index in the list
Returns:
Expression at specific position in the list of examples

getDescription

public java.lang.String getDescription(int i)
Returns the description of an expression at specific position in the list of examples

Parameters:
i - Description index in the list
Returns:
Description

getExpressions

public java.lang.Iterable<java.lang.String> getExpressions()
Returns avaliable of expression examples

Returns:
Iterable of expression

getDescription

public java.lang.String getDescription(java.lang.String expression)
Returns a description for an expression

Parameters:
expression - Regular expression (from the examples)
Returns:
String description of the expression

PhyloSort

SourceForge.Net