Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Package Functions | Package Attributes
bloatsoup.ByTypeBloat Class Reference
Inheritance diagram for bloatsoup.ByTypeBloat:
Inheritance graph
Collaboration diagram for bloatsoup.ByTypeBloat:
Collaboration graph

List of all members.

Public Member Functions

int compare (Object obj1, Object obj2)

Package Functions

 ByTypeBloat (Histogram hist)

Package Attributes

Histogram hist

Detailed Description

Definition at line 93 of file

Constructor & Destructor Documentation

bloatsoup.ByTypeBloat.ByTypeBloat ( Histogram  hist) [inline, package]

Definition at line 96 of file

            this.hist = hist;

Member Function Documentation

int ( Object  obj1,
Object  obj2 
) [inline, virtual]

Implements QuickSort.Comparator.

Definition at line 100 of file

            Entry e1 = (Entry) obj1, e2 = (Entry) obj2;
            Type t1 = e1.mType, t2 = e2.mType;
            return (hist.count(t2) * t2.mSize - hist.count(t1) * t1.mSize);

Here is the call graph for this function:

Member Data Documentation

Definition at line 94 of file

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