18#ifndef _DECAF_LANG_COMPARABLE_H_
19#define _DECAF_LANG_COMPARABLE_H_
32 template<
typename T >
71 virtual bool equals(
const T& value)
const = 0;
This interface imposes a total ordering on the objects of each class that implements it.
Definition Comparable.h:33
virtual int compareTo(const T &value) const =0
Compares this object with the specified object for order.
virtual ~Comparable()
Definition Comparable.h:36
virtual bool operator<(const T &value) const =0
Compares this object to another and returns true if this object is considered to be less than the one...
virtual bool operator==(const T &value) const =0
Compares equality between this object and the one passed.
virtual bool equals(const T &value) const =0
#define DECAF_API
Definition Config.h:29
Definition ThreadingTypes.h:31
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25