NameStack for Collision Detections

As Shadow’s question
One of guy explain it quickly but however something is missing

what is hit array in his example?
Can he write a clear example here?

i simply want to detect which object has a collisin and with which object?
Sorry for my English? but i hope you have understood )

all explanings are welcome…