clearer equals (autogenerated with netbeans)
avoid showing the exception dialog when the source was null in the first place
use immutable list of integers instead of arrays that could be manipulated