@Override public int compare(Row o1, Row o2)
   {
      Integer parent1 = o1.getInteger("parent_wbs_id");
      Integer parent2 = o2.getInteger("parent_wbs_id");
      int result = NumberHelper.compare(parent1, parent2);
      if (result == 0)
      {
         Integer seq1 = o1.getInteger("seq_num");
         Integer seq2 = o2.getInteger("seq_num");
         result = NumberHelper.compare(seq1, seq2);
      }
      return result;
   }
@ Override public int compare ( Row o1 , Row o2 ) { Integer parent1 = o1 . getInteger ( "parent_wbs_id" ) ; Integer parent2 = o2 . getInteger ( "parent_wbs_id" ) ; int result = NumberHelper . compare ( parent1 , parent2 ) ; if ( result == 0 ) { Integer seq1 = o1 . getInteger ( "seq_num" ) ; Integer seq2 = o2 . getInteger ( "seq_num" ) ; result = NumberHelper . compare ( seq1 , seq2 ) ; } return result ; }
{@inheritDoc}