source file of the Flower Library
- (c) 1996, 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1996--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
template<class T>
String
-Interval_t<T>::string () const
+Interval_t<T>::to_string () const
{
- if (empty_b ())
+ if (is_empty ())
return "[empty]";
String s ("[");
template<class T>
bool
-Interval_t<T>::elem_b (T r)
+Interval_t<T>::contains (T r)
{
return r >= elem (LEFT) && r <= elem (RIGHT);
}