code: @Override
      public int compareTo(Task<R> another) {
          int me = Constants.PRIORITY_MAP[priority&Constants.PRIORITY_MASK];
          int you = Constants.PRIORITY_MAP[another.priority&Constants.PRIORITY_MASK];
          return me == you ?
                  seqNumber - another.seqNumber :
                  you - me;
      }
docs: --------------------- Interface Comparable ---------------------