Index
All Classes and Interfaces|All Packages|Serialized Form
A
- allFields(Class<?>) - Method in class com.rits.cloning.Cloner
-
Return a list of the
Field
s to include for a given class. - annotatedField(Class<? extends Annotation>, ICloningStrategy.Strategy) - Static method in class com.rits.cloning.CloningStrategyFactory
C
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerArrayList
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerArrayListSubList
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerCalendar
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerConcurrentHashMap
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerConcurrentLinkedQueue
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerCustomCollection
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerCustomMap
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerEnumMap
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerHashMap
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerHashSet
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerLinkedHashMap
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerLinkedHashSet
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerLinkedList
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerListOf12
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerSetOf12
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerTreeMap
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in class com.rits.cloning.FastClonerTreeSet
- clone(Object, IDeepCloner, Map<Object, Object>) - Method in interface com.rits.cloning.IFastCloner
- cloneInternal(T, Map<Object, Object>) - Method in class com.rits.cloning.Cloner
- Cloner - Class in com.rits.cloning
-
Cloner: deep clone objects.
- Cloner() - Constructor for class com.rits.cloning.Cloner
- Cloner(IInstantiationStrategy) - Constructor for class com.rits.cloning.Cloner
- cloning(Field, Class<?>) - Method in interface com.rits.cloning.IDumpCloned
- CloningException - Exception in com.rits.cloning
-
thrown if cloning fails
- CloningException(Exception) - Constructor for exception com.rits.cloning.CloningException
- CloningException(String) - Constructor for exception com.rits.cloning.CloningException
- CloningException(String, Throwable) - Constructor for exception com.rits.cloning.CloningException
- CloningStrategyFactory - Class in com.rits.cloning
- CloningStrategyFactory() - Constructor for class com.rits.cloning.CloningStrategyFactory
- com.rits.cloning - package com.rits.cloning
- com.rits.perspectives - package com.rits.perspectives
- considerImmutable(Class<?>) - Method in class com.rits.cloning.Cloner
-
override this to decide if a class is immutable.
- copyPropertiesOfInheritedClass(T, E) - Method in class com.rits.cloning.Cloner
-
copies all properties from src to dest.
D
- deepClone(T) - Method in class com.rits.cloning.Cloner
-
deep clones "o".
- deepClone(T, Map<Object, Object>) - Method in interface com.rits.cloning.IDeepCloner
-
deep clones o
- deepCloneDontCloneInstances(T, Object...) - Method in class com.rits.cloning.Cloner
- dontClone(Class<?>...) - Method in class com.rits.cloning.Cloner
-
instances of classes that shouldn't be cloned can be registered using this method.
- dontCloneInstanceOf(Class<?>...) - Method in class com.rits.cloning.Cloner
F
- fastClone(Object, Map<Object, Object>) - Method in class com.rits.cloning.Cloner
- fastCloneOrNewInstance(Class<T>) - Method in class com.rits.cloning.Cloner
- FastClonerArrayList - Class in com.rits.cloning
- FastClonerArrayList() - Constructor for class com.rits.cloning.FastClonerArrayList
- FastClonerArrayListSubList - Class in com.rits.cloning
- FastClonerArrayListSubList() - Constructor for class com.rits.cloning.FastClonerArrayListSubList
- FastClonerCalendar - Class in com.rits.cloning
- FastClonerCalendar() - Constructor for class com.rits.cloning.FastClonerCalendar
- FastClonerConcurrentHashMap - Class in com.rits.cloning
- FastClonerConcurrentHashMap() - Constructor for class com.rits.cloning.FastClonerConcurrentHashMap
- FastClonerConcurrentLinkedQueue - Class in com.rits.cloning
- FastClonerConcurrentLinkedQueue() - Constructor for class com.rits.cloning.FastClonerConcurrentLinkedQueue
- FastClonerCustomCollection<T extends Collection> - Class in com.rits.cloning
- FastClonerCustomCollection() - Constructor for class com.rits.cloning.FastClonerCustomCollection
- FastClonerCustomMap<T extends Map> - Class in com.rits.cloning
- FastClonerCustomMap() - Constructor for class com.rits.cloning.FastClonerCustomMap
- FastClonerEnumMap - Class in com.rits.cloning
-
Fast Cloner for EnumMaps
- FastClonerEnumMap() - Constructor for class com.rits.cloning.FastClonerEnumMap
- FastClonerHashMap - Class in com.rits.cloning
- FastClonerHashMap() - Constructor for class com.rits.cloning.FastClonerHashMap
- FastClonerHashSet - Class in com.rits.cloning
- FastClonerHashSet() - Constructor for class com.rits.cloning.FastClonerHashSet
- FastClonerLinkedHashMap - Class in com.rits.cloning
- FastClonerLinkedHashMap() - Constructor for class com.rits.cloning.FastClonerLinkedHashMap
- FastClonerLinkedHashSet - Class in com.rits.cloning
-
Fast Cloner for LinkedHashSet
- FastClonerLinkedHashSet() - Constructor for class com.rits.cloning.FastClonerLinkedHashSet
- FastClonerLinkedList - Class in com.rits.cloning
- FastClonerLinkedList() - Constructor for class com.rits.cloning.FastClonerLinkedList
- FastClonerListOf12 - Class in com.rits.cloning
- FastClonerListOf12() - Constructor for class com.rits.cloning.FastClonerListOf12
- FastClonerSetOf12 - Class in com.rits.cloning
- FastClonerSetOf12() - Constructor for class com.rits.cloning.FastClonerSetOf12
- FastClonerTreeMap - Class in com.rits.cloning
- FastClonerTreeMap() - Constructor for class com.rits.cloning.FastClonerTreeMap
- FastClonerTreeSet - Class in com.rits.cloning
- FastClonerTreeSet() - Constructor for class com.rits.cloning.FastClonerTreeSet
G
- getDumpCloned() - Method in class com.rits.cloning.Cloner
- getImmutableAnnotation() - Method in class com.rits.cloning.Cloner
- getInstance() - Static method in class com.rits.cloning.ObjenesisInstantiationStrategy
- getInstance(T) - Method in class com.rits.cloning.FastClonerCustomCollection
- getInstance(T) - Method in class com.rits.cloning.FastClonerCustomMap
- getInstantiatorOf(Class<T>) - Method in interface com.rits.cloning.IInstantiationStrategy
- getInstantiatorOf(Class<T>) - Method in class com.rits.cloning.ObjenesisInstantiationStrategy
I
- ICloningStrategy - Interface in com.rits.cloning
- ICloningStrategy.Strategy - Enum Class in com.rits.cloning
- IDeepCloner - Interface in com.rits.cloning
-
used by fast cloners to deep clone objects
- IDumpCloned - Interface in com.rits.cloning
- IFastCloner - Interface in com.rits.cloning
-
allows a custom cloner to be created for a specific class.
- IFreezable - Interface in com.rits.cloning
- IGNORE - Enum constant in enum class com.rits.cloning.ICloningStrategy.Strategy
- IInstantiationStrategy - Interface in com.rits.cloning
- Immutable - Annotation Interface in com.rits.cloning
-
marks the specific class as immutable and the cloner avoids cloning it
- isCloneAnonymousParent() - Method in class com.rits.cloning.Cloner
- isCloningEnabled() - Method in class com.rits.cloning.Cloner
- isDumpClonedClasses() - Method in class com.rits.cloning.Cloner
- isFrozen() - Method in interface com.rits.cloning.IFreezable
- isNullTransient() - Method in class com.rits.cloning.Cloner
N
- newInstance(Class<T>) - Method in class com.rits.cloning.Cloner
-
creates a new instance of c.
- newInstance(Class<T>) - Method in interface com.rits.cloning.IInstantiationStrategy
- newInstance(Class<T>) - Method in class com.rits.cloning.ObjenesisInstantiationStrategy
- NULL_INSTEAD_OF_CLONE - Enum constant in enum class com.rits.cloning.ICloningStrategy.Strategy
- nullInsteadOfClone(Class<?>...) - Method in class com.rits.cloning.Cloner
-
instead of cloning these classes will set the field to null
- nullInsteadOfCloneFieldAnnotation(Class<? extends Annotation>...) - Method in class com.rits.cloning.Cloner
-
instead of cloning, fields annotated with this annotations will be set to null
O
- ObjenesisInstantiationStrategy - Class in com.rits.cloning
- ObjenesisInstantiationStrategy() - Constructor for class com.rits.cloning.ObjenesisInstantiationStrategy
P
- Perspectives - Class in com.rits.perspectives
-
Perspectives: an object instance of a class behaving differently according to the "view angle".
- Perspectives(Cloner) - Constructor for class com.rits.perspectives.Perspectives
R
- registerCloningStrategy(ICloningStrategy) - Method in class com.rits.cloning.Cloner
- registerConstant(Class<?>, String) - Method in class com.rits.cloning.Cloner
- registerConstant(Object) - Method in class com.rits.cloning.Cloner
- registerFastCloner(Class<?>, IFastCloner) - Method in class com.rits.cloning.Cloner
- registerFastCloners() - Method in class com.rits.cloning.Cloner
-
registers a std set of fast cloners.
- registerImmutable(Class<?>...) - Method in class com.rits.cloning.Cloner
-
registers an immutable class.
- registerInaccessibleClassToBeFastCloned(String, IFastCloner) - Method in class com.rits.cloning.Cloner
- registerKnownConstants() - Method in class com.rits.cloning.Cloner
- registerKnownJdkImmutableClasses() - Method in class com.rits.cloning.Cloner
-
registers some known JDK immutable classes.
- registerStaticFields(Class<?>...) - Method in class com.rits.cloning.Cloner
-
registers all static fields of these classes.
S
- SAME_INSTANCE_INSTEAD_OF_CLONE - Enum constant in enum class com.rits.cloning.ICloningStrategy.Strategy
- setCloneAnonymousParent(boolean) - Method in class com.rits.cloning.Cloner
-
if false, anonymous classes parent class won't be cloned.
- setCloneSynthetics(boolean) - Method in class com.rits.cloning.Cloner
- setCloningEnabled(boolean) - Method in class com.rits.cloning.Cloner
- setDontCloneInstanceOf(Class<?>...) - Method in class com.rits.cloning.Cloner
- setDumpCloned(IDumpCloned) - Method in class com.rits.cloning.Cloner
-
provide a cloned classes dumper (so i.e.
- setDumpClonedClasses(boolean) - Method in class com.rits.cloning.Cloner
-
will println() all cloned classes.
- setExtraImmutables(Set<Class<?>>) - Method in class com.rits.cloning.Cloner
- setExtraNullInsteadOfClone(Set<Class<?>>) - Method in class com.rits.cloning.Cloner
- setExtraNullInsteadOfCloneFieldAnnotation(Set<Class<? extends Annotation>>) - Method in class com.rits.cloning.Cloner
- setExtraStaticFields(Set<Class<?>>) - Method in class com.rits.cloning.Cloner
-
spring framework friendly version of registerStaticFields
- setNullTransient(boolean) - Method in class com.rits.cloning.Cloner
-
this makes the cloner to set a transient field to null upon cloning.
- shallowClone(T) - Method in class com.rits.cloning.Cloner
-
shallow clones "o".
- shared() - Static method in class com.rits.cloning.Cloner
- standard() - Static method in class com.rits.cloning.Cloner
- startCloning(Class<?>) - Method in interface com.rits.cloning.IDumpCloned
- strategyFor(Object, Field) - Method in interface com.rits.cloning.ICloningStrategy
- subClass() - Element in annotation interface com.rits.cloning.Immutable
-
by default all subclasses of the @Immutable class are not immutable.
U
- unregisterFastCloner(Class<?>) - Method in class com.rits.cloning.Cloner
V
- valueOf(String) - Static method in enum class com.rits.cloning.ICloningStrategy.Strategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.rits.cloning.ICloningStrategy.Strategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- viewAs(Class<E>, T) - Method in class com.rits.perspectives.Perspectives
-
Sample: if o is an instance of Product and c is OrderedProduct.class then this returns and instance of OrderedProduct.class which has equal field values to those of the instance of Product.
- viewCollectionAs(E, Class<NI>, T) - Method in class com.rits.perspectives.Perspectives
-
Sample: if o is a [ Products extends LinkedList<Product> ] then the returned instance is a [ OrderedProducts extends LinkedList<OrderedProduct> ].
All Classes and Interfaces|All Packages|Serialized Form