trying to be immutable in Android/Java