Page 1 of 1

Java int constructor syntax?

Posted: 13.04.2020, 09:48
by pirogronian
Analysing code of GDX LongMap on github, I found strange initialization of a member variable:

Code: Select all

int tableSize = tableSize(initialCapacity, loadFactor);

I haven't found any definition of method tableSize, so tried to search Internet for some kind of specific Java's int initialization, but found nothing so far. Anyone know Java or could see, what's going on here?