kudu::Slice::Comparator Struct Reference

Comparator struct, useful for ordered collections (like STL maps). More...

#include <slice.h>

List of all members.

Public Member Functions

bool operator() (const Slice &a, const Slice &b) const

Detailed Description

Comparator struct, useful for ordered collections (like STL maps).


Member Function Documentation

bool kudu::Slice::Comparator::operator() ( const Slice a,
const Slice b 
) const [inline]

Compare two slices using Slice::compare()

Parameters:
[in] a The slice to call Slice::compare() at.
[in] b The slice to use as a parameter for Slice::compare().
Returns:
true iff a is less than b by Slice::compare().

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines