T
- the type of the objects createdpublic static interface OortObject.Factory<T>
OortObject
s.Modifier and Type | Method and Description |
---|---|
T |
newObject(Object representation)
Creates a new non-null object from the given
representation . |
T newObject(Object representation)
representation
.
The representation
may be the result of JSON serialization,
and this factory may convert it to a more appropriate object, for
example from a JSON serialized Map
to a ConcurrentMap
.representation
- the representation of the object, may be null
to indicate to return a default, non-null objectCopyright © 2008–2024 The CometD Project. All rights reserved.