org.sourceforge.jemm.collections.internal.map
Class MapPutIfAbsentResponse

java.lang.Object
  extended by org.sourceforge.jemm.lifecycle.TypeResponse<MapPutIfAbsentResponse>
      extended by org.sourceforge.jemm.collections.internal.map.MapPutIfAbsentResponse
All Implemented Interfaces:
java.io.Serializable, Encodable<MapPutIfAbsentResponse>, Visitable

public class MapPutIfAbsentResponse
extends TypeResponse<MapPutIfAbsentResponse>

See Also:
Serialized Form

Constructor Summary
MapPutIfAbsentResponse(boolean wasPut, java.lang.Object previousValue, StoredValue[] possibleMatches, java.lang.Object[] possibleValues)
           
MapPutIfAbsentResponse(StoredValue[] possibleMatches, java.lang.Object[] possibleValues)
           
 
Method Summary
 MapPutIfAbsentResponse encode(ValueEncoder encoder)
           
 StoredValue[] getPossibleMatches()
           
 java.lang.Object[] getPossibleValues()
           
 java.lang.Object getPreviousValue()
           
 void visit(ValueVisitor visitor)
           
 boolean wasPut()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapPutIfAbsentResponse

public MapPutIfAbsentResponse(StoredValue[] possibleMatches,
                              java.lang.Object[] possibleValues)

MapPutIfAbsentResponse

public MapPutIfAbsentResponse(boolean wasPut,
                              java.lang.Object previousValue,
                              StoredValue[] possibleMatches,
                              java.lang.Object[] possibleValues)
Method Detail

encode

public MapPutIfAbsentResponse encode(ValueEncoder encoder)

getPossibleMatches

public StoredValue[] getPossibleMatches()

getPossibleValues

public java.lang.Object[] getPossibleValues()

wasPut

public boolean wasPut()

getPreviousValue

public java.lang.Object getPreviousValue()

visit

public void visit(ValueVisitor visitor)


Copyright © 2009. All Rights Reserved.