What does (int[]) (int[]) do ?
private Object[] slots = new Object[8192];
int[] block = (int[]) (int[]) this.slots[0];
In this case, the second cast does nothing. It is the same as typing
private Object[] slots = new Object[8192];
int[] block = (int[]) this.slots[0];
block = (int[]) block;
EDIT:
To clarify, the "second" cast that I am referring to is the one on the left.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With