18#ifndef _DECAF_UTIL_COMPARATORS_LESS_H_
19#define _DECAF_UTIL_COMPARATORS_LESS_H_
38 template<
typename E >
45 virtual bool operator()(
const E& left,
const E& right)
const {
49 virtual int compare(
const E& o1,
const E& o2)
const {
A comparison function, which imposes a total ordering on some collection of objects.
Definition Comparator.h:40
Less()
Definition Less.h:42
virtual ~Less()
Definition Less.h:43
virtual int compare(const E &o1, const E &o2) const
Compares its two arguments for order.
Definition Less.h:49
virtual bool operator()(const E &left, const E &right) const
Implementation of the Binary function interface as a means of allowing a Comparator to be passed to a...
Definition Less.h:45
Definition AbstractCollection.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25