}\r
\r
/*\r
- @Override\r
- public int compareTo(IJob other) {\r
- int res = 0;\r
- // if (other.getPriority2() != priority2)\r
- // res = (priority2 < other.getPriority2() ? 1 : -1);\r
- // else\r
- // res = (priority1 < other.getPriority1() ? -1 : 1);\r
- return res;\r
- }\r
- */\r
+ * @Override public int compareTo(IJob other) { int res = 0; // if\r
+ * (other.getPriority2() != priority2) // res = (priority2 <\r
+ * other.getPriority2() ? 1 : -1); // else // res = (priority1 <\r
+ * other.getPriority1() ? -1 : 1); return res; }\r
+ */\r
/**\r
* 1. szempont prioritas 2. szempont azonos prioritasnal a rogzites datuma\r
*/\r