public static class ExecutionServiceDemo.SortingTwoByteCallable extends java.lang.Object implements java.util.concurrent.Callable<ExecutionServiceDemo.ByteBufferStreamable>, Streamable
| 限定符和类型 | 方法和说明 |
|---|---|
ExecutionServiceDemo.ByteBufferStreamable |
call() |
void |
readFrom(java.io.DataInput in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
void |
writeTo(java.io.DataOutput out)
Write the entire state of the current object (including superclasses) to outstream.
|
public ExecutionServiceDemo.SortingTwoByteCallable()
public ExecutionServiceDemo.SortingTwoByteCallable(ExecutionServiceDemo.ByteBufferStreamable bytes1, ExecutionServiceDemo.ByteBufferStreamable bytes2)
public ExecutionServiceDemo.ByteBufferStreamable call() throws java.lang.Exception
call 在接口中 java.util.concurrent.Callable<ExecutionServiceDemo.ByteBufferStreamable>java.lang.Exceptionpublic void writeTo(java.io.DataOutput out)
throws java.lang.Exception
StreamablewriteTo 在接口中 Streamablejava.lang.Exceptionpublic void readFrom(java.io.DataInput in)
throws java.lang.Exception
StreamablereadFrom 在接口中 Streamablejava.lang.Exception