Looks for a tuple containing a specified value, and if it is found, takes the tuple value. If there is
no mismatch compareAndTake returns same java object given as oldTuple
Namespace: Com.Tibco.As.SpaceAssembly: TIBCO.ActiveSpaces.Common (in TIBCO.ActiveSpaces.Common.dll) Version: 2.0.0.0 (2.2.0.015)
Syntax
| C# |
|---|
Tuple CompareAndTake(
Tuple oldTuple
) |
| Visual Basic |
|---|
Function CompareAndTake (
oldTuple As Tuple
) As Tuple |
| Visual C++ |
|---|
Tuple^ CompareAndTake(
Tuple^ oldTuple
) |
| F# |
|---|
abstract CompareAndTake :
oldTuple : Tuple -> Tuple
|
Return Value
Type:
TupleTuple same tuple object if operation was successful, otherwise actual value in space
See Also