public static class ExecutionServiceDemo.SortingByteCallable extends java.lang.Object implements java.util.concurrent.Callable<ExecutionServiceDemo.ByteBufferStreamable>, Streamable
| 限定符和类型 | 字段和说明 |
|---|---|
protected java.nio.ByteBuffer |
buffer |
| 构造器和说明 |
|---|
ExecutionServiceDemo.SortingByteCallable() |
ExecutionServiceDemo.SortingByteCallable(byte[] bytes,
int offset,
int size) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.SortingByteCallable()
public ExecutionServiceDemo.SortingByteCallable(byte[] bytes,
int offset,
int size)
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