@Internal public class IdentityConverter<I> extends Object implements DataStructureConverter<I,I>
| 构造器和说明 |
|---|
IdentityConverter() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isIdentityConversion()
Returns whether this conversion is a no-op.
|
I |
toExternal(I internal)
Converts to external data structure.
|
I |
toInternal(I external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitopen, toExternalOrNull, toInternalOrNullpublic I toInternal(I external)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toInternal 在接口中 DataStructureConverter<I,I>public I toExternal(I internal)
DataStructureConverterNote: Parameter must not be null. Output must not be null.
toExternal 在接口中 DataStructureConverter<I,I>public boolean isIdentityConversion()
DataStructureConverterAn identity conversion means that the type is already an internal data structure.
isIdentityConversion 在接口中 DataStructureConverter<I,I>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.