long instead of Long
instanceof already does a null check
Switch is faster than if
registerFamily can return the immutableEntities. No need to manually get them afterwards
No need to call get twice
Merge pull request #88 from Lusito/uuid_Long_to_long

long instead of Long
Merge pull request #89 from Lusito/not_necessary

Performance improvements
hashcode compatible to java versions prior to 8
Merge pull request #92 from Lusito/uuid_Long_to_long

Entity.hashcode compatible to java versions prior to 8.