public int hashCode(){
  return alignment ^ leader ^ Math.round(position);
}

public int hashCode ( ) { return alignment ^ leader ^ Math . round ( position ) ; }
returns the hashcode for the object . this must be defined here to ensure 100 % pure .
