Package com.chemaxon.descriptors.common
Interface Guarded
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
BinaryVectorDescriptor
,BvGenerator
,Cfp
,CfpComparator
,CfpGenerator
,Descriptor
,DescriptorComparator<D>
,DescriptorGenerator<B>
,DescriptorSerializer<B>
,DRShapeDescriptor
,Ecfp
,EcfpComparator
,EcfpGenerator
,FloatVectorDescriptor
,FvGenerator
,Maccs
,MaccsComparator
,PfComparator
,PfGenerator
,PharmacophoreFP
,ShapeComparator<T>
,ShapeDescriptor
- All Known Implementing Classes:
AbstractShapeComparator
,AbstractShapeGenerator
@Beta @PublicAPI public interface Guarded extends Serializable
Represents guarded entities. A guard object's reference represents a compatibility partition of an object hierarchy. For example instances of a specificDescriptor
are only comparable when their parameterization is the same.Please note that this interface is marked with
Beta
annotation, so it can be subject of incompatible changes or removal in later releases.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Guarded.EnsureThat
Guarded checking utility.static class
Guarded.New
Create new guard object.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
getGuardObject()
Gets the guard object associated to the generated descriptors/utilities.
-
-
-
Method Detail
-
getGuardObject
Object getGuardObject()
Gets the guard object associated to the generated descriptors/utilities. Note that serialization/deserialization must preserve guard object reference.This method is intended to use only for ensuring the compatibility of manipulated objects.
Implementations might use the associated
DescriptorGenerator
orDescriptorParameters
reference as the guard object, however it is a non recommended practice to use this method to access the associated generator to perform further operations on it.- Returns:
- The guard object, can not be
null
.
-
-