@@ -0,0 +1,1087 @@
+package com.skworks.harm.Harmony;%0A%0Aimport java.util.Comparator;%0A%0A/**%0A * Created by kawanoshogo on 2013/11/23.%0A */%0Apublic class Peak implements Comparator, Comparable %7B%0A    float frequency;%0A    float amplitude;%0A%0A    public Peak(float freq, float amp) %7B%0A        SetFreq(freq);%0A        SetAmp(amp);%0A    %7D%0A%0A    public void SetFreq(float value) %7B%0A        if (value %3E 0) %7B%0A            frequency = value;%0A        %7D%0A    %7D%0A%0A    public void SetAmp(float value) %7B%0A        amplitude = value;%0A    %7D%0A%0A    public float GetFreq() %7B%0A        return frequency;%0A    %7D%0A%0A    public float GetAmp() %7B%0A        return amplitude;%0A    %7D%0A%0A    @Override%0A    public int compare(Object o1, Object o2) %7B%0A        Peak p1 = (Peak) o1;%0A        Peak p2 = (Peak) o2;%0A%0A        if (p1.amplitude %3C p2.amplitude) return -1;%0A        else if (p1.amplitude %3E p2.amplitude) return 1;%0A        else return 0;%0A    %7D%0A%0A    @Override%0A    public int compareTo(Object o) %7B%0A        Peak p = (Peak) o;%0A        if (this.amplitude %3C p.amplitude) return -1;%0A        else if (this.amplitude %3E p.amplitude) return 1;%0A        else return 0;%0A    %7D%0A%7D%0A

Create peak.java