com.hammurapi.eventbus
Class Mapper<E>

Show UML class diagram
java.lang.Object
  extended by com.hammurapi.eventbus.Mapper<E>
All Implemented Interfaces:
Serializable

public class Mapper<E>
extends Object
implements Serializable

Mapper maps events from one array to another.

See Also:
Serialized Form

Constructor Summary
Mapper(int[] indexMap)
           
 
Method Summary
 boolean equals(Object obj)
           
 int[] getIndexMap()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mapper

public Mapper(int[] indexMap)
Parameters:
indexMap - Array elements contain target indices.
Method Detail

getIndexMap

public int[] getIndexMap()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object