PageBoxLib
Interface ActiveComparable

All Superinterfaces:
java.io.Serializable

public interface ActiveComparable
extends java.io.Serializable

Niceif type of Active Naming

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 13
Author:
Alexis Grandemange

Method Summary
 int compareTo(java.lang.Object o, ResourceUsage usage)
          Compares this object with the specified object and considers its resources for order.
 

Method Detail

compareTo

public int compareTo(java.lang.Object o,
                     ResourceUsage usage)
Compares this object with the specified object and considers its resources for order.

Parameters:
o - the Object to be compared
usage - resource usage in the environment hosting the object
Returns:
a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object