Clearing Arrays

Hi
I am using a series of double 2-d arrays in my program . Is there a method that I can use to reset the values of the arrays to 0 instead of me looping through each of the arrays and doing it manually ??
Thank you for your time
Craig

Arrays.fill()

Similar Messages

  • Clearing array on button click

    i have a problem in clearing array.
    1. i have a vi witch on a button click add element in array ,and plot the values on graph.
    2. second time when i run vi on graph i get all the values witch i got in first run pluse the values on second run
    2. i want my graph should not plot values i got in first run
    3. if I initialise the shift reg.then at every button click it plots only one point on graph.
    4. I want all the points witch I added in my array at second run
    so please help me
    Shital"

    Ok, so we have an XY graph. Here I've attached two examples of the same approach as earlier (just second one use only one array of x-y pairs to store data). Local variables used only for cleaning graph display BEFORE any new points will be added (after first point you add, it will be also initialized). So this is just for cosmetic reasons
    Attachments:
    Shift_register_array_initialization1.vi ‏46 KB
    Shift_register_array_initialization2.vi ‏43 KB

  • Clearing array in movie clip

    In frame 1 one presses a button and an array ("array 1") of
    11 jpgs load into a movie clip "_root.overview".
    On frame 2 when another button is pressed another array
    ("array2") loads into the same movie clip "_root.overview". The
    only problem is that the second array has one less image than the
    first array and the extra image remains persistent if one toggles
    back.
    Is there a way to clear an array before reloading another in
    the same clip. I tried unloadMovie but that unloads everything. I
    need a way to refresh the array each time it is clicked.
    Thanks

    Clearing out the array isn't going to get you anywhere. You
    need to first
    unload the movies you loaded in. You should be using
    MovieClipLoader class,
    along with its unloadClip method.
    You say you're loading images into an overview clip - how are
    you loading in
    the movies?
    Also, why is clearing out everything (with unloadMovie) bad?
    You load in new
    images anyway right?
    Dave -
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Clear array

    Helo,
    I have a question about arrays. I want to place every 2 hours a value in an array. After 24 hours (1 day), the array must be cleared for placing new values in the array. The values must
    be placed on index 0 till 11. When i clear the array, the differnt values in the array are changed to 0 ( I use Initialize Array ), but instead of starting from index 0 it starts from index 12.
    This repeats itself every time i start a new day. As a result the array size will keep growing instead of staying between 0 and 11
    Grtz

    Hi JurgenV,
    the problem is located in the general overuse of locals...
    Well, you clear the array by writing to it's local. BUT: there is a feedback node, which keeps the last value for the next iteration! And this feedback node isn't cleared too! So think about dataflow and redesign your VI
    Hint: join frame 1 and 3 of your flat sequence (counting starts with 0) into one frame to get rid of that local. Feed the feedback node with the same value as the array indicator...
    Message Edited by GerdW on 05-09-2010 10:58 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Clear array and take average of values in array continuously

    I have a continuous signal that I am acquiring with hardware (sampling at 1000Hz).  I want to be able to insert the data into a 1D array for 5 seconds, and then take the average of these 5000 samples.  So basically, every 5 seconds I need to take the average of a 1D array and create a new array for the next 5000 samples.

    There is no reason to accumulate the data into an array if all you need is the average.
    Simply add the values into a shift register. Every 5000 points devide the sum by 5000, output the average, and zero the shift register for the next series of data..
    LabVIEW Champion . Do more with less code and in less time .

  • Page is not rendering as per requirement request

    Hi All,
    Basically Here is the scenario.
    Based on selectoin of particular service item from combo box(dropdown list), We are creating the JSF controls dynamically on new page for further process.
    We are maintaining the controls information in database that need to be created dynamically and rendered for each service.
    And I am able to create the controls dynamically and able to place them on page perfectly.
    Until here everything looks ok for me.
    But main problem I have identified is when I go for new request, I am getting the same old page when I select the other service.
    Initially I though this could be a problem of caching and I have placed meta info in order to expire the page. But that was no use.
    So I logged all the data that is coming from database and logged the information where I have created the controls dynamically..
    What I have identified is I am getting the right data on paricular service selection and even I am able to see that methods execution is correct. I was stunned and not able to understand why the JSF is not able to show the controls.
    So I searched the JavaDoc for solution. I though I could use FacesContext.release() method. But that does not help me. Even I tried to clear the parent objects using gridpanel1.getChildren().clear(). Even that does not supported me :(
    In order to understand my problem, here I am pating the code.
    Please help me why the hell my page is not rendering
    Below is code in constructor
    javax.faces.context.ExternalContext ec = context.getExternalContext();
                javax.servlet.http.HttpServletRequest request=(javax.servlet.http.HttpServletRequest)ec.getRequest();
                String service=request.getParameter("form1:cmbServices");
                int serviceid=-1;
                if(service!=null) {
                    serviceid=Integer.parseInt(service);
                gridPanel1.getChildren().clear();
                controls =getControls(serviceid);
                HtmlControl[] controlArray =controls.getHtmlControls();
                //log(controlArray.length+" Length");
                for (int i =0;i<controlArray.length;i++) {
                    HtmlControl control =controlArray;
    //log(control+" Control");
    //log(controlArray.length+" Length");
    if (control.isRadio()) {
    addRadio(control);
    //log("Entered here in adding radio");
    else if (control.isCheckBox()) {
    addCheckBox(control);
    //log("Entered here in adding checkbox");
    else if (control.isTextBox()) {
    addTextBox(control);
    //log("Entered here in adding textbox");
    here is the code for dynamic creation of controls
    private void addRadio(HtmlControl control) {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue(control.getDescription());
            String desc =control.getDescription();
            desc=desc.replaceAll(" ", "_");
            outputText.setId(desc);
            outputText.setStyleClass("bodyText");
            HtmlSelectOneRadio radio = new HtmlSelectOneRadio();
            radio.setBorder(0);
            radio.setLayout("pageDirection");
            //radio.setId("Radio_"+control.getId());
            radio.setId(control.getName()+"__"+control.getId());
            UISelectItems items = new UISelectItems();
            Radio objRadio =(Radio)control;
            //  vectDefaultSelectItemsArray
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            //log("vectDefaultSelectItemsArray :"+vectDefaultSelectItemsArray.size());
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            for (int i =0;i<objRadio.getValues().size();i++) {
                arrays[size - 1].add(new SelectItem(objRadio.getValues().get(i)+"",""+objRadio.getTexts().get(i)));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{consumer$jobInfo.arrays["+(size-1)+"]}"));
            radio.setStyleClass("bodyText");
            radio.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(radio);
            parent.getChildren().add(gridPanel);
        private void addCheckBox(HtmlControl control) {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue(control.getDescription());
            outputText.setStyleClass("bodyText");
            String desc =control.getDescription();
            desc=desc.replaceAll(" ", "_");
            outputText.setId(desc);
            HtmlSelectManyCheckbox checkBox = new HtmlSelectManyCheckbox();
            checkBox.setBorder(0);
            checkBox.setLayout("pageDirection");
            //checkBox.setId("CheckBox_"+control.getId());
            checkBox.setId(control.getName()+"__"+control.getId());
            UISelectItems items = new UISelectItems();
            CheckBox objcheckBox =(CheckBox)control;
            //  arrays[0]=new DefaultSelectItemsArray();
            //arrays[0].clear();
            DefaultSelectItemsArray objArray =new DefaultSelectItemsArray();
            vectDefaultSelectItemsArray.add(objArray);
            //log("vectDefaultSelectItemsArray :"+vectDefaultSelectItemsArray.size());
            arrays=(DefaultSelectItemsArray[])vectDefaultSelectItemsArray.toArray(new DefaultSelectItemsArray[vectDefaultSelectItemsArray.size()]);
            int size =arrays.length;
            arrays[size - 1].clear();
            //  array.clear();
            for (int i =0;i<objcheckBox.getValues().size();i++) {
                arrays[size - 1].add(new SelectItem(objcheckBox.getValues().get(i)+"",""+objcheckBox.getTexts().get(i)));
                //     array.add(new SelectItem(objcheckBox.getValues().get(i)+"",""+objcheckBox.getTexts().get(i)));
            // array.setItems(new String[] {"Yes","No" });
            items.setValueBinding("value",getValueBinding("#{consumer$jobInfo.arrays["+(size-1)+"]}"));
            checkBox.setStyleClass("bodyText");
            checkBox.getChildren().add(items);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(checkBox);
            parent.getChildren().add(gridPanel);
        private void addTextBox(HtmlControl control) {
            HtmlPanelGrid gridPanel = new HtmlPanelGrid();
            UIComponent parent = gridPanel1;
            HtmlOutputText outputText = new HtmlOutputText();
            outputText.setValue(control.getDescription());
            String desc =control.getDescription();
            desc=desc.replaceAll(" ", "_");
            outputText.setId(desc);
            outputText.setStyleClass("bodyText");
            HtmlInputText textField = new HtmlInputText();
            //  textField.setId("textField_"+control.getId());
            textField.setId(control.getName()+"__"+control.getId());
            HtmlOutputText outputText1 = new HtmlOutputText();
            outputText1.setValue(" ");
            outputText1.setStyleClass("bodyText");
            textField.setStyleClass("frmObjects");
            gridPanel.setColumns(3);
            gridPanel.getChildren().add(outputText);
            gridPanel.getChildren().add(outputText1);
            gridPanel.getChildren().add(textField);
            parent.getChildren().add(gridPanel);
    here is my after render response method
    protected void afterRenderResponse() {
            //job_selection_templateRowSet.close();
            jiya_html_controlRowSet.close();
            FacesContext.getCurrentInstance().release();
    here is my getValueBinding method
    private ValueBinding getValueBinding(String expression) {
            return     FacesContext.getCurrentInstance().getApplication().createValueBinding(expression);
        }Thanks
    Sudhakar.

    Hi,
    You can try the following to debug and provide us more details.
    1. I am assuming you are trying to navigate by using a commandLink/Command Button ? If so, is the action handler for the command getting called ?
    2. Do you have input components in the page with Validators/converters attached to them ? If so, you may not watch for validation/conversion errors. If there are errors, the same page will be redisplayed. In that case you would need to associate message component to get more details on what went wrong.
    3. Have you set up the necessary navigation rules to navigate to the right page ?
    4. When you are adding components programatically, its better to assign explicit id's to your components, to avoid any unexpected behavior.
    Hope this helps.
    Regards
    -Jayashri

  • Binary To Decimal

    Hi i am having trouble from converting a binary number into decimal. I found the following code from a tutorial online and would like to merge it inside the code i currently have.
    This is the example i found online:
    //initialize the place values
    var place:Array = [32, 16, 8, 4, 2, 1];
    //initialize your binary number
    var binary:Array = [1, 1, 0, 0, 1, 1];
    //trace it as a string
    trace(binary.join(""));
    //convert it to a decimal number
    var decimalNumber = (place[0]*binary[0])+(place[1]*binary[1])+(place[2]*binary[2])+(place[3]*binary[3])+(place[4]*binary[4])+(place[5]*binary[5]);
    //trace the result
    trace(decimalNumber);
    This is the code i currently have
    var binaryArray:Array = new Array();
    var num:Number;
    var binaryString:String;
    var round:Number;
    var bString:String;
    var bNumber:Number;
    decimal_txt.addEventListener(KeyboardEvent.KEY_DOWN, checkEnterKey);
    function checkEnterKey(e:KeyboardEvent):void
    if(decimal_txt.text != '' && e.keyCode == Keyboard.ENTER)
    num = Number(decimal_txt.text);
    //trace(e.keyCode + " : " + tf.text);
    bString = convertDecimalToBinary(num);
    bNumber = Number(binaryString);
    binary_txt.text = bString;
    function getTextInput(e:KeyboardEvent):void
    num = Number(decimal_txt.text);
    //trace(e.keyCode + " : " + tf.text);
    bString = convertDecimalToBinary(num);
    bNumber = Number(binaryString);
    binary_txt.text = bString;
    function convertDecimalToBinary(num:Number):String
    if(num == 0)
    return String("");
    binaryString = ''; //starts with an empty string
    while(num > 0)
    num /= 2;
    if(Math.floor(num) == num)
    binaryArray.push(0);
    else
    binaryArray.push(1);
    trace(num);
    num = Math.floor(num);
    for(var i:int = binaryArray.length-1; i >= 0; i--)
    binaryString += binaryArray[i];
    // clear array to prepare for next input
    binaryArray.pop();
    while (binaryString.length<8) {
    binaryString = "0"+binaryString;
    //trace(binaryString);
    return binaryString;
    However the first code already sets a decimal value in the array and calculates it but i would like to merge it with the one i have which outputs the decimal value from an input of a binary number. How would this be possible?

    what output?
    all you're doing is defining n when a key is down.  you're not doing anything with n so i don't see how you expect any output.
    if binary_txt is a textfield with a binary (string) and decimal_txt is a textfield that should display the decimal representation of  binary_txt.text, use:
    binary_txt.addEventListener(KeyboardEvent.KEY_DOWN, checkEnterKey2);
    function checkEnterKey2(e:KeyboardEvent):void{
    if(binary_txt.text != '' && e.keyCode == Keyboard.ENTER){
    decimal_txt.text=binaryToDecimal(binary_txt.text);
    function binaryToDecimal(s:String):Number{
    for(var i:int=0;i<s.length;i++){
    n+=Number(s.substr(i,1))<<(s.length-1-i)
    return n;

  • Page Item Drag and Drop reset all items Displayed Field attribute

    If I use the Drag and Drop feature it resets all items Displayed/Field attribute to yes. Is this just the way it is and it is to bad so sad for Nicholas or is there something I can do to be able to use drag and drop and still retain my setting for the Item's Displayed/Field attribute.
    Any assitance is much appreciated

    Probably the easiest way would be to have 2 arrays that hold
    the data being sent to box A. Just add/or subtract from one that
    you don't care if it changes, and leave the other one alone. When
    you want to reset, just clear Array 2 and populate it again from
    Array 1. For Box B, just reset the contents of the array to nothing
    - myArrayB = new Array({item1:'',item2:''})

  • Best strategies for reducing effective data collection rate?

    Hi,
    I'm writing a VI to collect data from cDAQ modules that have a minimum sampling rate of 1612Hz due to the master timebase (specifically 9237 and 9215 modules). I would like to log data (1D waveform with timestamps) at 100Hz for 12 hours and save this to file. THe data also needs to be displayed during this time, and data logging should be robust so there is minimal risk of data loss.
    I've made one attempt at doing this previously - I used the Align and resample expressVI but this was fairly messy, and the problems I ran into were that I had errors about the maximum array size being reached, and also constant buffer overwrite errors. 
    I would like to basically start this VI again from scratch, and I'm wondering if there are any suggestions for an overall strategy for this?  I'm not asking for any code to be written for me, just concrete shoves in the right direction regarding things like data file type, how to resample or downsample data, how to clear arrays, etc.
    Thanks,
    Claire.

    Claire,
    It appears that you are appending the resampled waveform to an empty array of waveforms and then writing the appended array to the file.   What does appending to an empty array accomplish?  Just write the decimated array directly to the file.
    If you want to have an array of all the waveforms, then you need to use shift registers to pass the appended array to the next iteration of the consumer loop. 
    You do not need the sequence structure.  Dataflow takes care of making things happen in order.
    I do not see how the feedback node will ever change the file name as it only executes once.  I am not sure what you intended, but you may want to move the file path creation inside the loop and put it into a case structure which executes when it is time to create a new file.
    The attached image is an example of the way I was thinking of decimating your data.
    In both my image and your program the use of build array in a loop is not a good practice it the array can get large due to memory allocation issues.  Better is to initialize an array of the maximum size and use Replace Array Element to put the data into the array. 
    Lynn 
    Attachments:
    Decimate waveform.png ‏83 KB

  • Reset 2 drag and drop lists

    Hi,
    I have two list boxes in a form, A and B. When my page loads
    A is populated from an array and B is empty. The user drags items
    from A and drops them in B and vice vearsa.
    I have a reset button but want to know how I can reset my
    list boxes so that A is populated with all the items from the array
    again and B is empty again...
    Thanks

    Probably the easiest way would be to have 2 arrays that hold
    the data being sent to box A. Just add/or subtract from one that
    you don't care if it changes, and leave the other one alone. When
    you want to reset, just clear Array 2 and populate it again from
    Array 1. For Box B, just reset the contents of the array to nothing
    - myArrayB = new Array({item1:'',item2:''})

  • How to remove/destroy previous object from memory

    hi guys, I am getting problem of memory of having repeating object.
    Below is my code.
    import flash.system.System;
    var counter:Number=0;
    var systemMemory:TextField=new TextField();
    systemMemory.x=200;
    stage.addEventListener(Event.ENTER_FRAME,showNext);
    function showNext(event:Event){
        var myTxt:TextField=new TextField();
        myTxt.text=counter.toString();
        myTxt.width=100;
        myTxt.height=20;
        myTxt.x=Math.random()*100;
        systemMemory.text="Total Memory Used :"+System.totalMemory.toString();
        systemMemory.width=300;
        addChild(systemMemory);
        addChild(myTxt);
        counter++;
    Above code does repeat textField Object continuously. Now I want to destroy previous created textField Object. So that my memory will not be hang. I got some where in the blog that with System.gc()  could clear garbage collection. But currently I am not working with system.gc any more I want to clear previous object in programatically way. Is there any way that I could destroy previous created object ?

    ok, thanks for your kind replay. Above is my test case. Actually, I need to do show 4 texfield in each FRAME_ENTER with different text properties's value + previous textFields should be remove and comes next 4 textField.
    import flash.text.TextField;
    import flash.display.Sprite;
    import flash.display.Stage;
    import flash.events.Event;
    import flash.system.System;
    var frameNo:Number=0;
    var txtFieldGroup:Array=new Array();
    var mem:TextField=new TextField();
    stage.addEventListener(Event.ENTER_FRAME,showTxtFields);
    function showTxtFields(event:Event):void{
        var eachGap:Number=100*frameNo;
        /* Removing data from txtFieldGroup if there any data */
        if(txtFieldGroup.length>0){
            txtFieldGroup.length=0;
        /* created textField objects and set it in an array */
        for(var i:Number=0; i<4; i++){   
            /*txtFieldGroup[frameNo][i]=frameNo.toString()+":"+i.toString();*/
            txtFieldGroup[i]=new TextField();
            txtFieldGroup[i].text=frameNo.toString()+i.toString();
            txtFieldGroup[i].y=(20*i)+eachGap;
            addChild(txtFieldGroup[i]);
        // System Memory Message
        mem.text="System Memory: "+System.totalMemory;
        mem.x=250;
        mem.width=300;
        addChild(mem);
        // Frame No increment
        frameNo++;
    here, from above script it created 4 txtObject in each frame no. I have clear array in each frame no. But I could not remove textFieldObject from CPU Memory. As you can see textField object of mem. As you say in earlier post making 4 different textfield at initialy  is nice option to control over CPU Memory. Is there any technique so that I could remove previous created textField object because . I am also having problem why my textfields are shows more than 4. I was expecting only 4 textField in each frame. Please you suggestion is required. Thanks for studying my confusion.

  • Trying to clear an array inside a case structure

    Good morning all.  I am trying (unsuccessfully, obviously) to clear an array inside a case structure.  (See case structure at right side of vi, I colored it green to make it easy to find).  Here's (briefly) what I'm trying to do.  I have 6 test probes in the process.  All six probes are connected to the Alcatel Detector through a 6-solenoid manifold.  As I run the test, I want to sample 1/second, for let's say 3 minutes.  For the first 30 seconds, I want to pull a sample from from probe 1, so I turn on solenoid one and leave it open for 30 seconds.  Now all 30 values are tagged as having come from Probe 1, and they're stored in array 1.  I can now compute an average value for probe 1. Then I close solenoid 1 and open solenoid 2, saving the next 30 values to array 2.  (and so-on, until I have measured all 6 probes for 30 seconds each).  Then I wait a pre-determined amount of time and repeat the process.  Here's my problem.  I want to clear out each array as I begin the second iteration, so that I can easily compute the average of the last 30 values.  If I initialize the array by connecting a constant 0 to the shift register on the for loop insid ethe case structure, it does not work, nor does it work to place the 0 outide the overall for loop (the next for loop going out, NOT the OVERALL for loop).  I know my programming skills are still crude, but I'm putting everything into this.  Anyone have any suggestions? 
    Attachments:
    HCMF rev 1 25 Apr.vi ‏485 KB

    Altenbach, I definately understand your approach, and I like it much better than my own.  But I still have no luck making it work.   I get the same result as before (my original attempt).  Value 0 of the array simply changes each iteration, with nothing "saved".  Each new value simply overwrites the last value.  Can you take a look at my new vi, with changes, and see if you can find the error of my ways.  I am but a rookie Jedi in the vast reaches of LabVIEW Space, and you are no doubt a Jedi MASTER
    Attachments:
    HCMF rev 1 25 Apr pm.vi ‏374 KB

  • AS3 Best way to clear an array

    What is the best way to clear an array? (performance and resources)
    array.length = 0;
    array = [];
    array.splice(0);

    that's creating a new array which is extra work, and it's adding an array to the objects that flash will gc, and that's extra work.
    assigning the length to 0 is the most efficient way to clear an array.

  • How to clear two dimension array and content in JTextArea

    hi all....
    i have a problem to clear the counter in JTextArea..currently i design a program to store all the student details in two dimensian array...when i click "RESET"button..it will only reset the textarea..but can not clear the actual content inside the array..and when i click "Print Button" again..it's supposed nothing to display..but it displayed the thing which i previously entered......
    so i think i need to clear the array...i use append to insert the text...,for this i also can not reset...
    which the code is shown below :
    txtArea.append(msg1);
    the coding for reset area as below :
    txtArea.setText("")
    Anyone can help me?????
    thks...

    How are you trying to reset the array?, you can just creat a new array.
    Noah

  • Clearing, Reset, Removing Array Int.

    I'm having a problem with a small class exersize. So far I am able to find the max, min, and average of the grades. As well as have them being entered. My teacher recently wanted us to add a try/catch methods so in case a user enters a negative grade it will catch it.
    Ok...so that works. But now when the user enters new grades, and then decides to select the average, it averages some of the grades from the previous entries. Then the max, min cannot be found either.
    This program is based on a switch method with cases. Here is the first case. where the grades are entered and the try and catch method is use.
    I know, or at least I think I know that I need to clear or reset the array so that new entries can be entered successfully. I looked all over the net. I saw methods such as these:
    gradebook.clear()
    gradebook.remove()
    removeAll()I played around with them for a bit to see what I can get out of it, but nothing is working. These methods are not recognized. Any suggestions guys/gals?
    If I cant find a solution I will have the user select case 5 and exit the program and start it over. No biggy.
    Thanks !
    Mike
    public class GradeBookSolution2
      public static void main(String[] args)
        Scanner keyboard = new Scanner(System.in);
        int[] gradebook = new int[11];
        int grade = 0;
        int choice = 0;     
        while(choice != 5)
             Menu();
             choice = keyboard.nextInt();
             switch(choice)
                case 1:
                System.out.println("Please enter 10 class grades followed by any number.");
                try
                    for (int i = 0; i < 11; i++)
                         gradebook[i] = grade;                          grade = keyboard.nextInt();
                         if(grade < 0)                     
                              throw new IOException("Exception: YOU CANNOT HAVE A NEGATIVE GRADE");                    
              catch(IOException e)           
            removeAll(); //  <-- This is where and when I want to clear the array?
           System.out.println(e.getMessage());
           //System.out.println("Please exit the program and start over");
    break;

    The methods you are trying to use are part of the Collections API. arrays do not have these methods you would need to use a Collection like an array that would have these methods... like an ArrayList for example.

Maybe you are looking for

  • ITunes running as a process in Task Manager but not opening up

    Hi all I got an iPod nano a week ago, and since I installed the CD for the iPod on my computer, iTunes doesn't open. I removed QT and iTunes and the iPod updater and reinstalled them, but to no avail. I took my computer to the local Apple store and t

  • 10.6.1: panic running latest vuze

    Happened a number of times. Have run disk verify, etc; happens without any uncorrected problems. Panic message (give or take the hex) always the same. HW: Macmini2,1; various USB/FW devs, Only other oddity 4GB RAM installed (3 usable, maxmem=3072 was

  • Why can't i download itunes on windows 8?

    I have a new laptop and it has windows 8, when i try to download itunes it just says thank you for downloading itunes but nothing happens. HELP!

  • Integration with Oracle Applications from composite applications

    Hello all , I'm trying to connect to eBusiness Suite via Oracle Applications adapter from the Jdevelopver - all on SOA 11g platform . And I want to insert an purchase order from supply chain business domain . The problem is the order has and header a

  • Why won't my presets drop down?

    Everything was working fine on Lightroom4, however now when i click on presets, the options will not drop down and thus i can't use them! help!