List<Long> lngDate = new ArrayList<Long>();
looks the same as mine, or is it different.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
~"Great is the art of beginning, but greater is the art of ending."~
Originally posted by jacob rich:
I thought arraylist were restricted to being coded as arraylist<object> since they fall under the Object superclass in the inheritance tree...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
it tells the ArrayList to expect Objects of type Long so
Joanne
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |