org.sourceforge.jemm.collections.internal
Class RemoveResponse
java.lang.Object
org.sourceforge.jemm.lifecycle.TypeResponse<RemoveResponse>
org.sourceforge.jemm.collections.internal.RemoveResponse
- All Implemented Interfaces:
- java.io.Serializable, Encodable<RemoveResponse>, Visitable
public class RemoveResponse
- extends TypeResponse<RemoveResponse>
HashContainer ContainsResult, three options
1) removed = true, possibles = null ( successfully found and removed (exact match))
2) removed = false, possibles = null ( definately not found, no action )
3) removed = false, possibles != null ( uncertain, possible matches returned )
- Author:
- Rory Graves
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveResponse
public RemoveResponse(boolean removed)
RemoveResponse
public RemoveResponse(boolean removed,
java.lang.Object[] potentialMatches)
encode
public RemoveResponse encode(ValueEncoder encoder)
visit
public void visit(ValueVisitor visitor)
wasRemoved
public boolean wasRemoved()
getPotentialMatches
public java.lang.Object[] getPotentialMatches()
Copyright © 2009. All Rights Reserved.