Posted: Sun Aug 30, 2009 11:54 am Post subject: Java Help
Is there any Array like data type in Java?
Because Array doesn't have all the usual methods I'm used to.
Like push, and splice.
I have a bunch of sockets. I want to organize them in a list. So I am trying to make an array of them.
I have one solution in mind, which is pretty much me making my own variable called amountOfSockets, but I want to know if there is a simple solution. _________________
That's about it; allocate the array with sockets, then modify each slot manually, or make your own push/slice methods, keeping track of the number of sockets in the array, etc. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum