Interface which provides matching capabilities.
Matching functionality is used when you need to filter out some objects of the whole bucket, for example.
Matching method.
This method provides matching functionality and is used for categorization of objects into groups
(partitions).
Parameters:
object - An object that is tested for the matching condition.
Returns:
Returns an identification of partition to which the object falls.
When applied on a bucket (through the method GetMatchingObjects()) it is convenient to return 0 for all objects
which stay in the bucket. Zero value returned means that object doesn't match.