org.zodiac.sdk.nio.channeling.WhenSocketChannel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zodiac-sdk-nio Show documentation
Show all versions of zodiac-sdk-nio Show documentation
Zodiac SDK NIO2(New Non-Blocking IO)
package org.zodiac.sdk.nio.channeling;
import java.nio.channels.SocketChannel;
import java.util.function.Predicate;
public interface WhenSocketChannel extends Predicate {
@Override
boolean test(SocketChannel socketChannel);
// = d -> i -> s -> {
// System.out.println("" + d+ ";" + i+ ";" + s);
// };
//f.apply(1.0).apply(2).accept("s");
}