public abstract class DefaultClassCopiers extends Object
Modifier and Type | Method and Description |
---|---|
static ClassCopier |
getErrorClassCopier()
Return a ClassCopier that always raises a ReflectiveCopyException
whenever its copy method is called.
|
static ClassCopier |
getIdentityClassCopier()
Return a ClassCopier that simple returns its argument as its
result.
|
static ClassCopier |
makeMapClassCopier(ClassCopierFactory ccf)
Return a ClassCopier that is suitable for instances of the Map
interface.
|
public static ClassCopier getIdentityClassCopier()
public static ClassCopier getErrorClassCopier()
public static ClassCopier makeMapClassCopier(ClassCopierFactory ccf)
Copyright © 2017 Oracle. All rights reserved.