Package com._1c.g5.v8.dt.compare.core
Class ValueWrappingResource<T>
- java.lang.Object
-
- com._1c.g5.v8.dt.compare.core.ValueWrappingResource<T>
-
-
Constructor Summary
Constructors Constructor Description ValueWrappingResource(T value)
Constructs a resource with the specified value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getChild(ComparisonContext comparisonContext, Object key)
Returns a child object by its key.T
getObject(ComparisonContext comparisonContext)
Returns the contained object.
-
-
-
Constructor Detail
-
ValueWrappingResource
public ValueWrappingResource(T value)
Constructs a resource with the specified value.- Parameters:
value
- the value which will be wrapped in the resource
-
-
Method Detail
-
getObject
public T getObject(ComparisonContext comparisonContext)
Description copied from interface:IResource
Returns the contained object.
-
getChild
public T getChild(ComparisonContext comparisonContext, Object key)
Description copied from interface:IResource
Returns a child object by its key.
-
-