public static class DiffableUtils.PrototypeReader<T extends Diffable<T>> extends Object implements DiffableUtils.KeyedReader<T>
| コンストラクタと説明 |
|---|
PrototypeReader(T proto) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
Diff<T> |
readDiffFrom(StreamInput in,
String key)
reads an object that respresents differences between two objects with the type T from the stream input
|
T |
readFrom(StreamInput in,
String key)
reads an object of the type T from the stream input
|
public PrototypeReader(T proto)
public T readFrom(StreamInput in, String key) throws IOException
DiffableUtils.KeyedReaderreadFrom インタフェース内 DiffableUtils.KeyedReader<T extends Diffable<T>>IOExceptionpublic Diff<T> readDiffFrom(StreamInput in, String key) throws IOException
DiffableUtils.KeyedReaderreadDiffFrom インタフェース内 DiffableUtils.KeyedReader<T extends Diffable<T>>IOExceptionCopyright © 2009–2016. All rights reserved.