 | HashPartitionerTGetPartition Method |
Gets the partition for the specified value.
Namespace: Ookii.Jumbo.JetAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic int GetPartition(
T value
)
Public Function GetPartition (
value As T
) As Integer
public:
virtual int GetPartition(
T value
) sealed
abstract GetPartition :
value : 'T -> int
override GetPartition :
value : 'T -> int
Parameters
- value T
- The value to be partitioned.
Return Value
Int32The partition number for the specified value.
Implements
IPartitionerTGetPartition(T)
See Also