com.espertech.esper.collection
Class NameParameterCountKey

java.lang.Object
  extended by com.espertech.esper.collection.NameParameterCountKey

public class NameParameterCountKey
extends java.lang.Object

A hash key that include a name and a count, wherein the combination of name and count defines the uniqueness.


Constructor Summary
NameParameterCountKey(java.lang.String name, int count)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getCount()
           
 java.lang.String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameParameterCountKey

public NameParameterCountKey(java.lang.String name,
                             int count)
Method Detail

getName

public java.lang.String getName()

getCount

public int getCount()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com