Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsDefaultComparator< A, B > Class Template Reference

#include <nsTArray.h>

List of all members.

Public Member Functions

PRBool Equals (const A &a, const B &b) const
PRBool LessThan (const A &a, const B &b) const

Detailed Description

template<class A, class B>
class nsDefaultComparator< A, B >

Definition at line 168 of file nsTArray.h.


Member Function Documentation

template<class A , class B >
PRBool nsDefaultComparator< A, B >::Equals ( const A a,
const B b 
) const [inline]

Definition at line 170 of file nsTArray.h.

                                                {
      return a == b;
    }
template<class A , class B >
PRBool nsDefaultComparator< A, B >::LessThan ( const A a,
const B b 
) const [inline]

Definition at line 173 of file nsTArray.h.

                                                  {
      return a < b;
    }

The documentation for this class was generated from the following file: