org.openqa.grid.internal.listeners
Interface Prioritizer


public interface Prioritizer


Method Summary
 int compareTo(java.util.Map<java.lang.String,java.lang.Object> a, java.util.Map<java.lang.String,java.lang.Object> b)
          priority of a is lower than b : compare(a,b) > 0

priority of b is lower than a : compare(a,b) < 0

a and b have the same priority : compare(a,b) = 0

 

Method Detail

compareTo

int compareTo(java.util.Map<java.lang.String,java.lang.Object> a,
              java.util.Map<java.lang.String,java.lang.Object> b)
priority of a is lower than b : compare(a,b) > 0

priority of b is lower than a : compare(a,b) < 0

a and b have the same priority : compare(a,b) = 0

Parameters:
a -
b -
Returns:
a negative number is a is less important than b, a positive number is a is more important than b, 0 if a and b are equaly as important.


Copyright © 2011. All Rights Reserved.