4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper Class Reference

Wrapper class for matcher. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper:
Collaboration graph

Public Member Functions

 MatcherWrapper (Matcher matcher, int priority)
 
void setPriority (int priority)
 
int getPriority ()
 
int compareTo (Object o)
 
String toString ()
 

Public Attributes

Matcher matcher
 

Private Attributes

int priority
 

Detailed Description

Wrapper class for matcher.

Wrapper class for matcher

Author
Peter Bartoš, Michael Angelov

Definition at line 23 of file MatcherWrapper.java.

Constructor & Destructor Documentation

cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper.MatcherWrapper ( Matcher  matcher,
int  priority 
)

Constructor

Parameters
matchermatcher
prioritypriority of matcher

Definition at line 34 of file MatcherWrapper.java.

Here is the caller graph for this function:

Member Function Documentation

int cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper.compareTo ( Object  o)

Implemented comparedTo() method

Parameters
odistant object
Returns
{0, 1, -1} according to matchers priority

Definition at line 65 of file MatcherWrapper.java.

Here is the call graph for this function:

int cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper.getPriority ( )

Getter for priority

Returns
priority of matcher

Definition at line 54 of file MatcherWrapper.java.

Here is the caller graph for this function:

void cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper.setPriority ( int  priority)

Setter for priority

Parameters
prioritypriority of matcher

Definition at line 44 of file MatcherWrapper.java.

String cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper.toString ( )

Overriden toString() method

Returns
string representation of class

Definition at line 82 of file MatcherWrapper.java.

Member Data Documentation

Matcher cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper.matcher

Definition at line 25 of file MatcherWrapper.java.

int cz.vutbr.fit.knot.annotations.fragmentUpdater.MatcherWrapper.priority
private

Definition at line 26 of file MatcherWrapper.java.


The documentation for this class was generated from the following file: