Why connection(List ...) class doesn't have variable number of parametes

I think It's more convenience to add element if there has some methods(constructers) like:
public void addAll(E... es);or
public boolean AddAll(E... es) ;or
public ArrayList(E ...es);Message was edited by:
lihy70

I know Arrays.
But I think the collection is most used class,
Just like for , so there is enhance[b] for.
I prefer there is some method like
public void addAll(E ... es) ;to replace
addAll(Arrays.asList(e1, e2 ...));

Similar Messages

  • Why My iPhone 4 doesn't have sound after I upgrade it to IOS 7.0.2

    Why My iPhone 4 doesn't have sound after I upgrade it to IOS 7.0.2?

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • Some one know, why my ipone 6, doesn't have 16GB? I only have 12.1

    why my ipone 6, doesn't have the 16GB that promissed on the publicity?

    That's 16GB before you take out the 3-4GB occupied by iOS and the bundled apps that come with it. Plus the 16GB quoted on the box is measured in decimal GB (10^9 or 1000000000bytes) whereas iOS reports the available/used storage in binary GB (2^30 or 1073741824bytes) instead.
    See How OS X and iOS report storage capacity - Apple Support for more information.

  • HT2534 i have an ipod touch but where it says phone number what do i put in because i thought the ipod touch doesn't have a number?

    i have an ipod touch but where it says add your phone number what do i put in because i thought the ipod touch doesn't have a number???? help please

    You dont put anything it doesnt have a number

  • Why my iphone 4 doesn't have SAFARI SETTINGS? Please solve

    My iphone4 doesn't have SAFARI Settings . I went to >Settings > SCROLLED DOWN , I couldn't find SAFARI SETTINGS. WHY? THANKS!

    When I first got my iPhone there was the FaceTime app. After a few days it was no longer there. It doesn't show up in Settings either but when I go to my contacts it shows up and I can still use FaceTime. Does this work with your iPhone too?

  • Why brtools "Additional functions" doesn't have "Show profiles and logs" ?

    Dear all,
    Why brtools of my production DB has "Show profiles and logs" but my UAT database doesn't ?
    Do you know the reasons ?

    > Why brtools of my production DB has "Show profiles and logs" but my UAT database doesn't ?
    How can we know that? Using same version/patchlevel? Same database version?
    Markus

  • Does anyone know why iOS 7 still doesn't have group messaging?

    Yes, I know I can send a group message by entering the contacts one at a time. But it should be possible to just enter the name of a contact group and have it automatically send a text to everyone in that group. Every other mobile OS has this feature. Even my daughter's dumbphone does this. And when I look online for workarounds, I see LOTS of grumbling about the fact that this incredibly basic feature STILL isn't included in iOS7. Does anyone know WHY? It totally mystifies me why something so basic isn't an option.

    I left feedback on it about three or four times since I got my iPhone.
    Apple do not respond to feedback and since they have not added the facility ,you have your answer
    and you got my response because as Ralph posted ...................
    The terms of use of this forum do not permit speculation on the decisions that Apple makes

  • Why the iPhone 3G doesn't have voice control and a video recorder?

    Why the "old" iPhone 3G can't support video and voice control?
    Is there a technical explanation?
    Yes, I know that they're functions reserved at the iPhone 3GS
    but why? Both have a microphone and a camera, the only difference that the 3GS has a faster processor.... so, does someone know why there is this difference?
    Thank you very much for yours answers!
    mat

    "If the 3G offered all the same features as the 3GS, then there would be no reason to upgrade."
    'If', maybe, but the fact is that the 3G is not capable ever of offering (due to hardware limitations) the same features as the 3GS, so surely such speculation is pointless and it is only wishful-thinking from those who are either:
    1) not prepared to pay for the hardware that will support the facilities they wish were on their 3G, or
    2) not prepared to wait for their contracts to allow them free phone upgrades to what will then be one generation beyond the 3GS, allowing the 3GS owners to complain about why their 3GS iPhones can't support the facilities of the next generation iPhones?!
    My Mum told me "I 'want' cannot always 'have'....", so if I 'want' then I'll pay and if I can't pay then I'll not moan about not being able to 'have', just work harder or stay quiet until I CAN 'have'.
    A wise old bird, my Mum!

  • Why my ipad 2 doesn't have the youtube built in as my ipad 1?

    I got the new ipad 2 and just found out that there is no youtube built in like my ipad 1. Does anyone know how to get it? When I got Ipad 1, it was on my screen without doing anything.
    Thanks
    Wanna

    http://www.apple.com/ipad/built-in-apps/
    it's listed here
    maybe it's in a folder?

  • HT4199 Why my mac book doesn't have wi-fi hardware??

    suddenly my mac book doesnt have wi-fi hardware..

    Hello:
    If it had it before (I am assuming from your post that it did) try resetting the SMC.
    Barry

  • How do i calculate the average of runs that have variable number of samples?

    Hi
    I am trying to calculate the average trajectory from  lets say 4 runs, with varying sample size.
    That is, if the the 4 runs have 78,74,73,55 samples respectively, How do I calculate the average of (78+74+73+55)/4 , (78+74+73)/3 and (78+74)/2  and 78/1 ?
    Thank you

    I'm not sure you gave a sufficient information. Assuming that you just want to calculate a linear average of the data collected in consecutive runs, you have two simple methods :
    1/ concatenate the data before calculating the mean.
    Simple, but can occupy a huhe amount of space since all the data have to be stored in memory
    2/ store only the means Mi and the corresponding number of data points ni and calculate a balanced mean : M = sum (ni x Mi) / sum (ni) )
    The attached vi illustrate both methods.
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Averages.vi ‏40 KB

  • Why my iPhone doesn't have FaceTime ability?

    Why my iPhone 4 doesn't have FaceTime ability

    Don't know... where are you and where did you get the phone?  If you're in the Middle East, many (if not most) governments there have prohibited it and it has been removed from phones available for sale in those countries or on which iOS was updated in those countries.

  • Asha 202 doesn't have a Maps option in the Menu!

    Hello everyone on this community, I'm new here so forgive me if I make mistakes.. 
    I want to know why my Asha 202 doesn't have either the Nokia Maps option or the Nokia Social App.  Do I need to do anything to enable these? 
    Thanks in advance

    If you have seen this advertised with these features thru' official Nokia Channels and If you have bought the phone from Nokia authorised dealer you may tell them to change it with other model which really has the features you want ... or else, you may raise the issue with NOKIA by using the 'Contact Us tab at the bottom of this page...
    BTW, if Maps application is  not pre-installed you can't do anything.. but for the Social application, you may try Nokia Store for other similar compatible applications if any ...

  • My iPad2 doesn't have FaceTime and I have trouble uploading photos on FaceBook.  Can somebody please help me.  Thanks.

    Why is my iPad2 doesn't have FaceTime and unable to upload photos on FaceBook?

    Check out the app F PhotoLoader. http://itunes.apple.com/us/app/f-photoloader-lite-for-iphone/id443369289?mt=8
     Cheers, Tom

  • My iphone 4s doesn't have camera filters.

    I'm using Iphone 4s, when I open the camera doesn't have filters. Anyone help me how i can get?  

    Rjohnson293 wrote:
    I'm just curious as to why my iPhone 4 doesn't have the new camera filters with the iOS 7. . .{snip}
    This was the question.
    Rjohnson293 wrote:
    {snip}. . . when it clearly said "for iPhone 4S or later"!
    This is the answer.
    The iPhone 4 predates the iPhone 4s.

Maybe you are looking for

  • How do I run system recovery dvd from an external dvd drive?

    I am having trouble trying to restore my DV 6000 (dv6915nr) from an external dvd drive.  I am aware that this laptop has had several hardware issues, including the loss of use of the internal dvd drive and have tried all the fixes that I could find,i

  • Is it possible to link in files based on a pattern?

    Is it possible to automatically link in php files in the way css, js and included and required includes are linked? The image is from Dw cs5, swedish, but I think you know what I mean. This shows the desired behavior based on a bug i found in cs5. Ev

  • JNI call seem to be very slow

    Hello, I have an optimized JPEG decoder written in C++, I have a JNI bridge to that codebase with this method: Java-side: public static native byte[] readJPEG(String name);C++ side: JNIEXPORT const jbyteArray JNICALL Java_IPPJPEGDecoder_readJPEG(JNIE

  • Regarding callers information.

    Hi BW Experts, in production support, we got the error like process overdue(caller 70) . our doubt is in which table, this caller information will be stored ? Regards, Raju

  • Cannot run any java Programs

    I cannot get any java applications to run whenever I try I get Exception in thread "main" java.lang.NoClassDefFoundError: jedit40install/jar for any application that I try to run. I was able to compile a application but not run it. I tried launching