T - type this constructor producesprotected abstract static class Objs.Constructor<T extends Objs> extends Object
Objs wrapper. It is used
from Objs.$as(java.lang.Class, java.lang.Object) method.| Modifier | Constructor and Description |
|---|---|
protected |
Constructor(Class<T> clazz)
Registers the instance to the system.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
create(Object any)
Wraps any object into instance of associated
Objs type. |
protected T |
create(Object any,
Type... typeParameters)
Wraps any object into instance of associated
Objs type
including suggested type parameters. |
protected abstract T create(Object any)
Objs type.any - object to be wrappedprotected T create(Object any, Type... typeParameters)
Objs type
including suggested type parameters. Classes supporting type parameters
are encouraged to implement this method. The default implementation
just calls create(java.lang.Object).any - object to be wrappedtypeParameters - optional type parameters or nullCopyright © 2021. All rights reserved.