Mercurial > hg > Members > tatsuki > Alice
changeset 370:ce3ad64bacd3 multicast
add implement methods
author | sugi |
---|---|
date | Mon, 02 Jun 2014 16:37:57 +0900 |
parents | 0c24894db37e |
children | 36d9487bea8b |
files | src/main/java/alice/test/topology/fish/WidthReceiver.java |
diffstat | 1 files changed, 46 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/alice/test/topology/fish/WidthReceiver.java Tue May 20 15:00:21 2014 +0900 +++ b/src/main/java/alice/test/topology/fish/WidthReceiver.java Mon Jun 02 16:37:57 2014 +0900 @@ -2,6 +2,10 @@ import java.util.Collections; import java.util.Comparator; +import java.util.function.Function; +import java.util.function.ToDoubleFunction; +import java.util.function.ToIntFunction; +import java.util.function.ToLongFunction; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; @@ -35,6 +39,48 @@ public int compare(Routing o1, Routing o2) { return o1.id - o2.id; } + + @Override + public Comparator<Routing> reversed() { + return null; + } + + @Override + public Comparator<Routing> thenComparing( + Comparator<? super Routing> other) { + return null; + } + + @Override + public <U> Comparator<Routing> thenComparing( + Function<? super Routing, ? extends U> keyExtractor, + Comparator<? super U> keyComparator) { + return null; + } + + @Override + public <U extends Comparable<? super U>> Comparator<Routing> thenComparing( + Function<? super Routing, ? extends U> keyExtractor) { + return null; + } + + @Override + public Comparator<Routing> thenComparingInt( + ToIntFunction<? super Routing> keyExtractor) { + return null; + } + + @Override + public Comparator<Routing> thenComparingLong( + ToLongFunction<? super Routing> keyExtractor) { + return null; + } + + @Override + public Comparator<Routing> thenComparingDouble( + ToDoubleFunction<? super Routing> keyExtractor) { + return null; + } }); routing.sumWidth += width; }