package jp.ac.aitech.maslab.ando.javasample.designpattern.bridge;

public class TimerSorter extends Sorter {

	public TimerSorter(SortImple sortImple) {
		super(sortImple);
	}

	public void timerSort(int[] a) {
		long start = System.nanoTime();
		sort(a);
		long end = System.nanoTime();
		System.out.println("time:" + (end - start));
	}

	public long nanoSortTime(int[] a) {
		long start = System.nanoTime();
		sort(a);
		long end = System.nanoTime();
		return end - start;
	}

}

@@ -174,170 +174,8 @@
 %09%7D%0A%0A
-%09public void timerSort(int%5B%5D a) %7B%0A%09%09long start = System.nanoTime();%0A%09%09sort(a);%0A%09%09long end = System.nanoTime();%0A%09%09System.out.println(%22time:%22 + (end - start));%0A%09%7D%0A%0A
 %09pub

Delete Unuse Method