- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 26 of file FPComparator.java.
◆ FPComparator()
org.turro.elephant.impl.context.vc.FPComparator.FPComparator |
( |
| ) |
|
◆ compare()
Definition at line 33 of file FPComparator.java.
34 int result = o1.getName().compareTo(o2.getName());
36 if(o1.getExtension() !=
null) {
37 result = o1.getExtension().compareTo(o2.getExtension());
41 if(o1.getLang() !=
null) {
42 result = o1.getLang().compareTo(o2.getLang());
46 if(o1.getVersion() !=
null) {
47 result = o1.getVersion().compareTo(o2.getVersion());
51 if(o1.getAuthor() !=
null) {
52 result = o1.getAuthor().compareTo(o2.getAuthor());
The documentation for this class was generated from the following file: