Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
做什么(int[]) (int[])?
(int[]) (int[])
private Object[] slots = new Object[8192]; int[] block = (int[]) (int[]) this.slots[0];
在这种情况下,第二个演员什么也不做。和打字一样
private Object[] slots = new Object[8192]; int[] block = (int[]) this.slots[0]; block = (int[]) block;
编辑:
澄清一下,我所指的“第二个”演员是左边的演员。