Mercurial > hg > Papers > 2016 > nozomi-thesis
comparison paper/source/Sort.java @ 3:a97aa059242f
add images & sources
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 05 Feb 2016 21:00:41 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:09b689ba5d70 | 3:a97aa059242f |
---|---|
1 public class SortPhase extends CodeSegment{ | |
2 private Receiver info = ids.create(CommandType.PEEK); | |
3 | |
4 public SortPhase(String key){ | |
5 info.setKey(key); | |
6 } | |
7 | |
8 @Override | |
9 public void run() { | |
10 DataList list1 = info.asClass(DataList.class); | |
11 Sort.quickSort(list1); | |
12 ods.flip(info); | |
13 } | |
14 } |