18 #ifndef _DECAF_LANG_COMPARABLE_H_ 19 #define _DECAF_LANG_COMPARABLE_H_ 32 template<
typename T >
66 virtual int compareTo(
const T& value)
const = 0;
71 virtual bool equals(
const T& value)
const = 0;
78 virtual bool operator==(
const T& value)
const = 0;
86 virtual bool operator<(
const T& value)
const = 0;
virtual ~Comparable()
Definition: Comparable.h:36
#define DECAF_API
Definition: Config.h:29
bool operator==(const ArrayPointer< T > &left, const U *right)
Definition: ArrayPointer.h:379
This interface imposes a total ordering on the objects of each class that implements it...
Definition: Comparable.h:33
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements...
Definition: AprPool.h:25