org.apache.hadoop.yarn.api.records
Class ResourceRequest.ResourceRequestComparator

java.lang.Object
  extended by org.apache.hadoop.yarn.api.records.ResourceRequest.ResourceRequestComparator
All Implemented Interfaces:
Serializable, Comparator<ResourceRequest>
Enclosing class:
ResourceRequest

@InterfaceAudience.Public
@InterfaceStability.Stable
public static class ResourceRequest.ResourceRequestComparator
extends Object
implements Comparator<ResourceRequest>, Serializable

See Also:
Serialized Form

Constructor Summary
ResourceRequest.ResourceRequestComparator()
           
 
Method Summary
 int compare(ResourceRequest r1, ResourceRequest r2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

ResourceRequest.ResourceRequestComparator

public ResourceRequest.ResourceRequestComparator()
Method Detail

compare

public int compare(ResourceRequest r1,
                   ResourceRequest r2)
Specified by:
compare in interface Comparator<ResourceRequest>


Copyright © 2013 Apache Software Foundation. All Rights Reserved.