Package com.nomagic.magicreport.engine
Class ConcurrentTool.ConsumeObject
- Enclosing class:
ConcurrentTool
Inner class which acts as the reference for a file pending deletion.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConsumeObject(Object obj) Create consumed object.ConsumeObject(Object[][] parameters) Create consumed object. -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
-
Constructor Details
-
ConsumeObject
Create consumed object.- Parameters:
obj- object the new weak reference will refer to
-
ConsumeObject
Create consumed object. The parameters format is [position of parameter][name,value].
Example:ConsumeObject consumeObject = new ConsumeObject(new Object[][]{{"param1","value1"},{"param2","value2"});- Parameters:
parameters- two dimensions parameter for consumed object
-
-
Method Details
-
getValue
Return value of given parameter name.- Parameters:
parameterName- parameter name- Returns:
- parameter value
-
hashCode
public int hashCode()Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by -
equals
Indicates whether some other object is "equal to" this one.
-