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.Exception
public void writeTo(java.io.DataOutput out) throws java.lang.Exception
Streamable
writeTo
在接口中 Streamable
java.lang.Exception
public void readFrom(java.io.DataInput in) throws java.lang.Exception
Streamable
readFrom
在接口中 Streamable
java.lang.Exception