@Internal public class IdentityConverter<I> extends Object implements DataStructureConverter<I,I>
Constructor and Description |
---|
IdentityConverter() |
Modifier and Type | Method and Description |
---|---|
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, wait
open, toExternalOrNull, toInternalOrNull
public I toInternal(I external)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toInternal
in interface DataStructureConverter<I,I>
public I toExternal(I internal)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toExternal
in interface DataStructureConverter<I,I>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.