4A Server -  2.0
 All Classes Namespaces Files Functions Variables Enumerator
cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionManager.SuggestionFragmentComp Class Reference

Class which implements Comparator to sort arrayList of SuggestionFragment alphabetically. More...

Inheritance diagram for cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionManager.SuggestionFragmentComp:
Inheritance graph
Collaboration diagram for cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionManager.SuggestionFragmentComp:
Collaboration graph

Public Member Functions

int compare (SuggestionFragment frag1, SuggestionFragment frag2)
 

Detailed Description

Class which implements Comparator to sort arrayList of SuggestionFragment alphabetically.

Class which implements Comparator to sort arrayList of SuggestionFragment alphabetically

Definition at line 1206 of file SuggestionManager.java.

Member Function Documentation

int cz.vutbr.fit.knot.annotations.modules.suggestionManager.SuggestionManager.SuggestionFragmentComp.compare ( SuggestionFragment  frag1,
SuggestionFragment  frag2 
)

Compares two fragments according to offset and length

Parameters
frag1First fragment
frag2Second fragment
Returns
Returns a negative integer, zero, or a positive integer as first fragment is less than, equal to, or greater than the second fragment.

Definition at line 1217 of file SuggestionManager.java.

Here is the call graph for this function:


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