Keep this page open to be updated with the newest discussions automatically.
Please wait while getting the discussions...
Page:
Blog Posts (Enhanced by )
Sample Chatter Excerpts
What's it called when you cast an array of objects to an array of strings?
There's a special name for it, but I can't remember what it is. There are two different terms, one for casting an array of a subclass to an array of its superclass, and the other way around.
source
Do 2D arrays use more resources than 1D arrays in Java?
I suggest writing a small performance test for this with very large arrays to see the actual difference. In reality I don't think this would make the slightest difference.
source
PHP - How to get object from array when array is returned by a function?
Keep it at two lines - if you have to access the array again, you'll have it there. Otherwise you'll be calling your function again, which will end up being uglier anyway.
source
With an NSArray of object references, do I explicitly release all objects in the array or just the array itself?
My class has an NSArray that is filled with objects. In my dealloc method, can I simply call release on my NSArray, or do I need to iterate the array and release all objects first?
source
How Can I Pass or assign values from table to an array in PHP?
I want those values on the table to be passed on to an array or moved from one page to another as an array. The question is how do I get these values and passed them as an Array?
source
Tip: Didn't find what you were looking for? Try the following: