Can we create a 2 dimensionnal array (Object[][]) from List.toArray() ?

I have a List that contains arrays and want to obtain a 2D array from the data stored into the list.
  //Creation of the list
  List list = new ArrayList() ;
  Object anArray = new Object[]{"One", "Two", "Three"} ;
  list.add(anArray) ;
  anArray = new Object[]{"Four", "Five", "Six"} ;
  list.add(anArray) ;
  anArray = new Object[]{"Seven", "Eight", "Nine"} ;
  list.add(anArray) ;
  //Creation of the array
  Object[][] data = (Object[][]) list.toArray() ;
  //We should obtain the same as :
  data = new Object[][]{
    {"One", "Two", "Three"},
    {"Four", "Five", "Six"},
    {"Seven", "Eight", "Nine"}
  } ;How can I, with a single instruction convert my List to an array of arrays (Object[][]) ?

Object[][] data = (Object[][]) list.toArray(new Object[0][0]);

Similar Messages

  • How can I create a variable size array?

    How can I create a variable size array?

    ok then how can i create a new vector object?If you don't know that, you need to go back to your text book and study some more. Or read the tutorial on the basics of Java: http://java.sun.com/docs/books/tutorial/java/index.html
    After reading that you can move on to: http://java.sun.com/docs/books/tutorial/collections/index.html
    Anyway, the answer to your question is, of course:
    Vector v = new Vector();(But you should probably use ArrayList instead of Vector.)

  • Can I create a DVD in DVD SP from a keynote presentation?  I looked at old posts but don't see a good solution.  Thanks

    Can I create a DVD in DVD SP from a keynote presentation?  I looked at old posts but don't see a good solution.  Thanks

    This is all the files Pages needs:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=105&mforum=iworktips ntrick
    Overwise click on my blue name and email me.
    Peter

  • How can I create a master PDX that pulls from multiple other PDXs?

    I process aviation maintenance manuals, with the individual manuals having their own PDX. How can I create a master PDX that pulls from the individual PDXs?
    I have access to myriad versions of Windows and Acrobat so there's that...

    I’ve got 100s of manuals each with their own PDX. I’ve been asked to create a master PDX that in effect combines all of the individual PDXs into a single (cross-manufacturer, cross-fleet, cross-manual-type) searchable PDX that can be easily updated.

  • UnsupportedOperationException Error while removing object from List

    Hi,
    I need to remove a set of objects from List if it contains similar objects as the other one.
    Follwing is the code snippet of the above scenario...
    List selectedPaxList = new ArrayList();
    TreeSet seatAssignedPaxlist= new TreeSet();
    selectedPaxList.add("1");
    selectedPaxList.add("2");
    selectedPaxList.add("3");
    seatAssignedPaxlist.add("1");
    seatAssignedPaxlist.add("2");
    if(selectedPaxList.containsAll(seatAssignedPaxlist))
    selectedPaxList.removeAll(seatAssignedPaxlist);
    If i do this in java program it executes fine without any error.But if I do the same in JSP I am getting the following error......
    java.lang.UnsupportedOperationException
    at java.util.AbstractList.remove(AbstractList.java:167)
    at java.util.AbstractList$Itr.remove(AbstractList.java:432)
    at java.util.AbstractCollection.removeAll(AbstractCollection.java:351)
    Plz... help me to resolve the issue

    java.lang.UnsupportedOperationException
    at
    java.util.AbstractList.remove(AbstractList.java:167)
    at
    java.util.AbstractList$Itr.remove(AbstractList.java:43
    2)
    at
    java.util.AbstractCollection.removeAll(AbstractCollect
    ion.java:351)
    That stack trace looks wrong to me.
    ArrayList overrides the remove method, so it
    shouldn't be using the method in AbstractList. That's what I thought, too. There is either something missing or it's not an ArrayList. In fact the javadoc of AbstractList.remove sais:
    "This implementation always throws an UnsupportedOperationException."
    So it really looks like another subclass is used.
    Also
    the object it is trying to remove is a list (from
    your exmaple it should be a String)
    I could be wrong.These are just the code references not the parameters, I think.
    -Puce

  • In HP16522A Applicatio​n Build Program.vi​, can I create a Program Line Array in a text editor, and then download it directly to the VI?

    I basically would like to insert a few extra instructions into a previously created Progam Line Array without having to re-enter the entire program again.

    Andrew,
    I just took a look at the HP16522A Instrument Driver, and it looks like that Program Line Array is handled programmatically as an array of clusters, that is then parsed out and formatted as strings to send to the instrument. I can see two ways of getting the data from your text editor into LabVIEW in a useable format. You could use the File I/O VIs to read the string data from the file, then parse and format it appropriately to add to the Program Line Array...I can also see getting that text data in, formatting it as strings, then simply adding it into the command string you send to the instrument right before the Write function.
    I think both of these methods would work, although I think the first one will probably be easier for you to deal with, since you wo
    uld be using the Program Line Array cluster format the entire time.
    I wish you luck with your application. Have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • How to create and instance of Java Object from an XML Document.

    Hi,
    How can we use a XML Document to create an instance of Java Object and do vice versa ie from the Java Object creating the XML Document.
    XML Document is available in the form of a String Object.
    Are there helper class available to achieve this.
    I need to do this in a Servlet.
    Regards
    Pramod.

    JAXB is part of JavaSE while Xmlbeans claims full schema support and full infoset fidelity.
    If the standard APIs do all that you need well then use them.

  • How can I create and design a page UI from blank page in jdev10g?

    Hi.
    How can I implement a page from scratch page?
    I can create a master-detail page as the OBE site.
    But I'm not sure how to create page using component pallets, instead drag data-control model to page.
    It means I should design UI with component pallets,
    How can I do?
    Thanks.
    Edited by: user10615931 on 2009-8-18 上午4:13

    Thanks.
    It is helpful to me.
    What I want to do is use component pallets and add action to the component for creating a page instead using executeWithParam operation and drag view object from datacontrol to create page.
    How can I do?
    Thanks

  • Can't create iTunes acc! - Anyone else from Puerto Rico?- Cust Serv $uck$!

    I've been trying to create an account for iTunes, mostly to download the album artwork to my library. But I haven't been able because iTunes billing system will not recognize my credit card, giving me different error messages such as "information does not match with bank's records", "please give use a US issued credit card", "fields were omitted", etc. I've been trying to get some assistance from the customer service representatives but all they do is give me some canned messages and basically say that Puerto Rico is not a "state" of the USA and that we, Puerto Ricans, cannot download music from iTunes, even though I know a lot of people in Puerto Rico that can, with credit cards issued locally.
    If you are having the same problems, please post here to show them that it's not an isolated situation, even if you are not from Puerto Rico.
    This is my first post, so if I'm breaking any rules or anything similar, I would appreciate that you contact me so I get the chance to amend things.
    Here's a copy of all e-mail conversations so far with the customer service representatives, which proves that they aren't paying attention to the customer.
    On 1/8/07, [email protected] wrote:
    Thank you for taking some time to review this situation and trying to work with this. Still, the following is happening:
    1) I have been trying to register my credit card for about one week by now, therefore, I doubt that every time I've tried to register the bank servers were busy.
    2) I contacted my bank regarding this situation with my credit card and they said that the card is fine.
    3) I contacted my bank regarding this other situation with my credit card and iTunes to confirm that the information I have and they have is the same, and it is.
    Can't it be Apple's billing system?
    Why is it up to us, the customer, to go through all this problems without any assistance from some customer representative, verifying why the system says the information is not accurate, contacting my bank to verify if everything is okay, verifying if Apple's servers have been busy, etc.
    Come on, man, there's got to be a supervisor, manager or someone able to help me with this.
    So far I'm really sorry of deciding for an iPod instead of a Zune or some other music player.
    PLEASE READ ALL OF THIS THROUGHLY, you'll see that most of the answers you have given me have already been given or I had just given information regarding it.
    David
    On 1/8/07, [email protected] <[email protected] wrote:
    Dear David,
    I'm sorry that you haven't been able to make an account on the iTunes Store. After reviewing with our technicians I can confirm that residents of Puerto Rico are able to use the US iTunes store.
    If you are still unable to create an account, it is possible that the iTunes Store has been unable to verify an authorization from your financial institution. There are several possible reasons for this:
    1) Your financial institution's servers have been busy. Consider trying again at another time.
    2) There is an issue with your card. Consider using a different card or contacting your financial institution to advise them of the problem.
    3) Your billing name or address does not match the address listed on your credit card statement. Any discrepancy in punctuation, abbreviation, or capitalization can cause errors, which might prevent you from purchasing from the iTunes Store. If you moved, or if your zip code changed recently, ask your financial institution to make sure their records are up to date and match exactly what you are entering as your billing information.
    Please follow these steps to confirm or update your account information:
    1) Go to Apple's My Info page: <a class="jive-link-external-small" href="http://">http://myinfo.apple.com
    2) Choose your country and preferred language from the pop-up menus.
    3) Enter your iTunes Store account name and password and then click Log In (or Continue).
    4) At the My Info Welcome page, click Address Book on the left. Confirm or edit your information.
    5) Click Phone Numbers on the left. Make sure the area codes and phone numbers are entered correctly in their respective fields.
    6) Click Save Changes.
    Try placing an order on the iTunes Store. If the iTunes Store still cannot obtain an authorization for your card, you won't be able to make purchases at the iTunes Store with that particular card. You can use a different card or one of the following payment methods:
    - PayPal
    - iTunes Gift Certificates
    - iTunes Gift Cards
    You can purchase iTunes Gift Certificates here:
    Apple Store locations
    http://www.apple.com/retail
    Apple Store online
    http://store.apple.com
    iTunes Gift Cards are available in $15, $25, and $50 denominations at retailers across the United States, including these:
    - 7-11
    - Amazon.com
    - Apple Store locations (http://www.apple.com/retail)
    - Apple Store online at http://store.apple.com
    - Best Buy
    - Circuit City
    - CompUSA
    - Kroger Stores
    - Radio Shack
    - Walgreens
    Thank you for your interest in the iTunes Store. I hope this information has been helpful.
    Sincerely,
    Robert
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    What's up with you people? Stop using the same canned messages and read the whole conversation, PLEASE!
    That's almost the same answer Vanessa gave to my initial e-mail. Then, Andres apologized because Apple does consider Puerto Rico part of the United States and even includes Puerto Rico as a "state" in the fields of registration for MyInfo and iTunes.
    Puerto Rico is a territory of the USA and we, Puertorricans, are considered citizens and residents of the USA, so far that the same rates apply to the USPS Post Office, that we don't need to get through customs in domestic flights, that we don't needed a passport to get in and out of the USA until the new Patriot Act provision that started now on January 1st, 2007.
    Will someone really get to this and answer all my questions in their rightful way?
    So far the service seemed to be good because you were answering in a timely manner, but I just figured out that all you are doing is using canned messages and/or doing some "copy/paste" to your "concerned and dear customers".
    PLEASE get through with this and get me a complete answer.
    No thanks in advance, until I get what I need, especially after spending so much money on an iPod and so much time through your forums, etc.
    Please see highlighted fields for important details and contradictions regarding the information previously provided.
    David
    On 1/8/07, iTunes Store <[email protected] wrote:
    Dear David,
    Thank you for your interest in the iTunes Store. You may browse any country's iTunes Store, preview audio and video clips, and even download podcasts. However, residents of Puerto Rico may not purchase from the ITunes Store at this time.
    Items in any particular country's iTunes Store are available only for distribution to customers who reside in that country and who use a credit card, debit card, iTunes Gift Certificate, or iTunes Gift Card issued in that country.
    For example, the U.S. iTunes Store can only sell to U.S. residents using credit cards or debit cards that were issued in the U.S., or iTunes Gift Certificates or Gift Cards purchased in the U.S.
    Although I cannot comment on future expansion plans of the iTunes Store, please rest assured that Apple is committed to bringing the iTunes Store to people around the world.
    For a list of countries in which the iTunes Store is available, please select dropdown "My Store" menu at the bottom of the iTunes Store homepage.
    Sincerely,
    John
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww
    Thank you very much for going further in your review and reply to my initial concern.
    I was able to create an account through the MyInfo page. I was able to log in to iTunes, but it then asks me for my billing information. I'm trying to register two credit cards I have from a local bank. I was not able to register any of these. The system keeps telling me that the bank information is not the same as the one I entered. I tried several variations and none was accepted. I'm trying this with my bank statement on hand to match the information perfectly and I even called the bank to confirm if I have all the correct information, as in their systems, which they confirmed.
    It appears that iTunes will not accept my credit cards in any way, even with my bank assisting me with the different variation that iTunes may be asking for.
    Is there any way you may help me to register my credit card to my account? Because, after all, having an account created through the MyInfo page did little since I still can't download album artwork nor purchase music.
    On the other side, I tried using my Paypal account which is Verified and with a Confirmed address, but iTunes says that it cannot verify the account.
    It appears that iTunes has some kind of problem with accounts from Puerto Rico.
    Again, thanks in advance for your help and attention!
    David
    On 1/6/07, iTunes Store <[email protected] wrote:
    Dear David,
    Please accept my apologies for the miscommunication in our previous response. As you have confirmed, residents of Puerto Rico may create an account by choosing "PR" from the State menu on the US iTunes Store.
    If receive an error when creating an iTunes Store account, you can create an Apple ID first by visiting Apple's My Info page:
    http://myinfo.apple.com
    After creating your Apple ID, connect to the iTunes Store and sign in using your new account name and password. You may then provide billing information and begin downloading album artwork for your iTunes library.
    Please note that your billing name and address must match the address listed on your credit card statement exactly. Any discrepancy in punctuation, abbreviation, or capitalization can cause errors, which might prevent you from creating an account.
    Alternatively, you may create an account with an iTunes Gift Card purchased from a local retailer. For help creating an account in this manner, please refer to the following article:
    iTunes Store: How to redeem an iTunes Gift Card
    http://www.info.apple.com/kbnum/n301958
    I hope you find this information helpful and are able to enjoy purchasing music and videos on the iTunes Store. Apple appreciates your business.
    Sincerely,
    Andres
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Hi!
    Thank you very much for your reply to this concern, but this answer does not convince me since the iTunes registering page adds Puerto Rico as a "state" of the USA in the drop-in box / field, plus I know a lot of people here in Puerto Rico that have an account registered in iTunes with a credit card issued by a local bank that are able to make purchases.
    My main interest in having an iTunes account is being able to download the CD’s artwork, which, apparently, can only be done if I have an account registered in iTunes. As an option, is there any way to create an account without having "purchasing" privileges for this matter?
    I am really disappointed with the service and options restricted by Apple for this matter, specially when they have so many authorized dealers and resellers in Puerto Rico, which is not a "Channel Island" but a USA territory or property, with USA citizenship, with USA residency, USA currency, with USA post office, with USA customs, with USA courts, etc. Another question, since it was not offered as an option, if I buy iTunes gift cards, which I can buy almost anywhere here on the island, can I use it for purchasing purposes or would I not have this privilege because I live here?
    I would really appreciate further evaluation of this concern because I believe that I may indeed register at iTunes and make purchases being in Puerto Rico with a credit card from a local bank since, like I explained before, I know, personally (my brother, my brothers-in-law, etc.), a lot of people here in Puerto Rico that have an account registered in iTunes with a credit card issued by a local bank that are able to make purchases.
    Thank your for your time and attention.
    David
    On 1/6/07, iTunes Store <[email protected] wrote:
    Dear David,
    I would like to apologize for the delay, and thank you for your interest in the iTunes Store.
    I understand that you are currently residing in PR, and are having difficulties creating an iTunes account. Customers in the Channel Islands may browse any country's iTunes Store, preview audio and video clips, and even download podcasts. However, they may not purchase from the iTunes Store at this time.
    Although I cannot comment on future expansion plans of the iTunes Store, you can rest assured that Apple is committed to bringing the iTunes Store to people around the world.
    Thank you for your understanding and patience David.
    Sincerely,
    Vanessa
    iTunes Store Customer Support
    <a class="jive-link-external-small" href="http://">http://www.apple.com/support/itunes/ww
    Customer First Name : David
    Customer Last Name : Umpierre
    email : [email protected]
    Web Order # :
    Support Subject : Password
    Sub Issue : Other
    iTunes Account Name: Not provided
    Platform : Windows XPSP2
    Comments:
    I have been trying to register in iTunes for three days and keep receiving error messages. I registered my account with a VISA and with a Paypal Account and after receiving a message saying that such billing services have been registered without problems, I still receive a message saying that "There were errors or omissions in the information", but there's no indicated items or highlighted items or omitted field. What could I be doing wrong? Please help!
    TrackID: 3161994
    Dell Inspiron 700m   Windows XP  

    To the previous user, thank you for anything you may do to help with this, but I understand that I clearly stated that I was not expecting help from a customer service representative but to get a number of people going to the same or a similar situation which may be later used as an example to Apple for them to work with this.
    Here's an update on what's being going on so far...
    Man, I am still NOT satisfied.
    I talked today with my bank regarding this situation and they told me that they have had several concerns with other customers about this and that they have done everything in their power before to make sure that iTunes works, accepting their credit cards, but that it's iTunes billing system the one with restrictions to accept these cards; in other words, that their cards are okay in their systems to be accepted by iTunes, but that iTunes refuse to accept them.
    I believe that either Apple is discriminating against Puerto Rican customers, Puerto Rican banks or they are just not willing to go the extra mile to solve this billing situation.
    So far it seems that you do not understand my principal need, which is downloading album artwork, not buying music.
    I just received my iPod and am hesitating to open it because of all of this.
    Again, service has been poor and attention to details worst.
    If there's nothing else you may do to help me, I would appreciate to be forwarded to a supervisor or manager or director to present them this concern.
    Thanks.
    David
    On 1/10/07, [email protected] <[email protected] wrote:
    Dear David,
    I understand that you are still unable to create an iTunes Store account. The error that you are receiving indicates that the iTunes Store is unable to verify an authorization from your bank at this time. Since the iTunes Store team has validated your information and we know that is not the problem, it appears that you won't be able to make purchases at the iTunes Store with that particular card. You can use a different card or one of the following payment methods:
    - PayPal
    - iTunes Gift Certificates
    - iTunes Gift Cards
    You can purchase iTunes Gift Certificates here:
    Apple Store locations
    <a class="jive-link-external-small" href="http://">http://www.apple.com/retail
    Apple Store online
    http://store.apple.com
    iTunes Gift Cards are available in $15, $25, and $50 denominations at retailers across the United States, including these:
    - 7-11
    - Amazon.com
    - Apple Store locations (http://www.apple.com/retail)
    - Apple Store online at http://store.apple.com
    - Best Buy
    - Circuit City
    - CompUSA
    - Kroger Stores
    - Radio Shack
    - Walgreens
    Thank you for your interest in the iTunes Store. I hope this information has been helpful.
    Sincerely,
    Robert
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Greetings, and thank you for the help so far.
    Still, I am being unable to register my credit card. When I enter my VISA's security code (either of the two I have), which consists of three digits from the back of the card, the system gives me a message saying "Please enter a valid Security Code".
    I tried, just in case, to use a dummy security code, such as 123 or 000 or 999 and the system gives me a message saying "Credit card processing is temporary unavailable. Please try again later".
    It's funny and/or weird to me because I never get the message "Credit card processing is temporary unavailable..." when using my VISA's security code, nor I get the message "Please enter a valid Security Code" when using a dummy security code.
    What's up with that? Any further help you may provide me with this?
    Please, anyone that reads this, READ ALL THE PREVIOUS MESSAGES to understand all that we've been going through.
    David
    On 1/9/07, [email protected] < [email protected] wrote:
    Dear David,
    Thank you for the information you provided.
    I have examined your Apple ID, editing your address to the USPS standard format that iTunes requires.
    Here's how to access the iTunes Store using your Apple ID and your reset password:
    1) Make sure you're using the latest version of iTunes. It's available free of charge from the Apple website at:
    <a class="jive-link-external-small" href="http://">http://www.apple.com/itunes/download
    2) Open iTunes.
    3) From the Store menu, choose Sign In.
    4) Click the Apple radio button, enter your Apple ID, "[email protected]" and the password "apple0107", and click Sign In.
    5) You will see a dialog saying this: "This Apple ID has not yet been used with the iTunes Store. Please review your account information." Click Review and follow the onscreen instructions to sign in with the account.
    Here are a few things to keep in mind:
    - If you forget the password for your Apple ID, you can reset it via Apple's iForgot website:
    http://iforgot.apple.com
    - If you wish to change your Apple ID, visit Apple's My Info site at http://myinfo.apple.com and sign in with the current Apple ID. Note that if your Apple ID is a .Mac member name, you won't be able to change it.
    Should you continue to experience difficulty accessing or creating an iTunes Store account, please reply to this email with a detailed description of the problem as well as the exact text (if possible) of any error messages you receive.
    Sincerely,
    Robert
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    My billing address and full name (as specified by the bank in their statements and in their system) is the following:
    XXXXX
    XXXXX
    XXXXX
    TRUJILLO ALTO, PR 00976
    You have my authorization to reset my account password and modify anything needed to have my credit card registered in your system.
    Thanks!
    David
    On 1/9/07, [email protected] < [email protected] wrote:
    Dear David,
    I understand that you would like assistance in creating your iTunes Store account. If you would like, the iTunes Store team can review the information in your Apple ID to ensure that it is in the proper format and does not contain information that may cause our system to refuse to create an iTunes Store account for you. If your account contains such information, we can then edit it for you.
    For security reasons, Apple requires that you verify the billing address associated with your account " [email protected]" before making any account modifications. Please reply with your billing address and your permission to reset the account's password.
    The iTunes Store will verify your account information, reset your password, and send you an email with your new password.
    Sincerely,
    Robert
    iTunes Store Customer Support
    http://www.apple.com/support/itunes/ww/
    Dell Inspiron 700m   Windows XP  

  • How can I create a function of sound volue from time using AudioQueueBufferRef??

    I have a question how can I analyze class AudioQueueBufferRef, for creating a function of sound volue from time?? Here is what I get . there is AudioQueueBufferRef fillBuf = audioQueueBuffer[fillBufferIndex]; volume height is 2000 elements from SInt16* coreAudioBuffer = (SInt16*)fillBuf->mAudioData. so function looks like H(t*i)=coreAudioBuffer[i] where t = 1/sampleRate = 1/22050 but here is a problem. my program gets sound and uses a class AudioStreamer for this. AudioStreamer has 3000 lines when I play music from Free Internet Radio - SHOUTcast Radio - Thousands of Free Online Radio Stations. internet radio - my problem is as follows either I dont know where 85 % of sound information is or I dont know how I can analyze class AudioQueueBufferRef
    Here is the code where I analyze Buffer.
    {@synchronized(self)
    if ([self isFinishing] || stream == 0)
    return;
    inuse[fillBufferIndex] = true; // set in use flag
    buffersUsed++;
    // enqueue buffer
    AudioQueueBufferRef fillBuf = audioQueueBuffer[fillBufferIndex];
    fillBuf->mAudioDataByteSize = bytesFilled;
    // ======>in this place I analyze Buffer
    if (packetsFilled)
    err = AudioQueueEnqueueBuffer(audioQueue, fillBuf, packetsFilled, packetDescs);
    else
    err = AudioQueueEnqueueBuffer(audioQueue, fillBuf, 0, NULL);
    when bitRate = 24 buffer has the following options int size=(fillBuf->mAudioDataByteSize) == 2000 double sampleRate=asbd.mSampleRate == 22050 numberOfChannels = asbd.mChannelsPerFrame == 1 it turns out that duration of play buffer float bufferTime =(size/numberOfChannels)/sampleRate == 0.1 number of buffers per second float numBuffersInOneSeconds == 1,5 duration of play all buffers per one second numBuffersInOneSeconds * time == 0.15 so it is 15 % of all information
    as a result If buffer comes at 0.0 seconds he lasts up to 0.1 seconds.farther in my function there is no volume. second buffer comes in 0.7 seconds and lasts up to 0.8 seconds. but in reality the sound doesnt breaks. Maybe I'm doing something wrong .please tell me.
    just for comparison
    when bitRate = 32 buffer has the following options int size=(fillBuf->mAudioDataByteSize) == 2000 double sampleRate=asbd.mSampleRate == 22050 numberOfChannels = asbd.mChannelsPerFrame == 1 it turns out that duration of play buffer float bufferTime =(size/numberOfChannels)/sampleRate == 0.1 number of buffers per second float numBuffersInOneSeconds == 2 duration of play all buffers per one second numBuffersInOneSeconds * time == 0.2 so it is 20 % of all information
    when bitRate = 32 buffer has the following options int size=(fillBuf->mAudioDataByteSize) == 1660 double sampleRate=asbd.mSampleRate == 44100 numberOfChannels = asbd.mChannelsPerFrame == 2 it turns out that duration of play buffer float bufferTime =(size/numberOfChannels)/sampleRate == 0.02 number of buffers per second float numBuffersInOneSeconds == 10 duration of play all buffers per one second numBuffersInOneSeconds * time == 0.2 so it is 20 % of all information

    You cannot write custom commands for expressions.
    That being said, there are a couple of options:
    Create a subsequence with a single step. Use a parameter of the sequence as "function parameter".
    Create a custom step type including a substep module which implements the function. Add an edit substep to enable the user of the steptype to gracefully change the parameter.
    Store the variable parameter in a local/file global variable and modify the value in each step. This will, at least, keep the "function" the same for every step.
    Norbert

  • How to create a universe in Business Object from BW

    Dear Memebers
    I need your help, I'm trying to create a report in business object using a cube as datasource, but when execute it does not appears the text, for example costumer 1000, his name is coca-cola.
    Does anyone help me?, maybe i does not set something
    Thanks a lot
    Ariel

    Hi Ariel,
    Not sure what BW is? If this is not related to using a SDK you may want to post your question in the Business Objects enterprise or Crystal Report Designer Forum.
    Thank you
    Don

  • Can not create follow up transaction FS Quotation from Lead in Interaction

    Dear All,
    We have requirement wherein IC agent should be able create FS Quotation (Transaction type FSO1) from Lead transaction type in WEB UI.
    I have made all the necessary cutomization for copy control. FS Quotation is also maintained for all chanel.
    Its work fine in CRM Online. I can create FS Quotation from Lead transaction type but in WEB UI when I click on Follow up button from Lead transaction pop will appear but I can not see FS Quotation in pop up window.
    What I found after investigation is that transaction type with Financial Contract as Leading business category can not be available for follow up from Lead in web ui but available in CRM online. When I change the leading business category to another one same transaction type can be seen for Follow up from Lead in web ui.
    Please let me know if you have any suggestion or faced similar kind of issue.
    Regards
    Pankaj Vispute

    Hello Pankaj,
    Yes, I have discovered this behavior as well. It seems to be documented in SAP Note 1172066. Apparently only the four following category classes are allowed:
    'A' : Interaction Log 
    'F' : Appointment     
    'G' : E-Mail          
    'H' : Task            
    Best regards,
    John

  • Can not create follow up transaction FS Quotation from Lead in WEB UI

    Dear All,
    We have requirement wherein IC agent should be able create FS Quotation (Transaction type FSO1) from Lead transaction type in WEB UI.
    I have made all the necessary cutomization for copy control. FS Quotation is also maintained for all chanel.
    Its work fine in CRM Online. I can create FS Quotation from Lead transaction type but in WEB UI when I click on Follow up button from Lead transaction pop will appear but I can not see FS Quotation in pop up window.
    Please let me know if you have any suggestion or faced similar kind of issue.
    Regards
    Pankaj Vispute

    Hello Pankaj,
    Yes, I have discovered this behavior as well. It seems to be documented in SAP Note 1172066. Apparently only the four following category classes are allowed:
    'A' : Interaction Log 
    'F' : Appointment     
    'G' : E-Mail          
    'H' : Task            
    Best regards,
    John

  • Can't create PPM plant for SNP usage from PP/DS

    Hi All,
    I can't create SNP plan from PP/DS in PPM via SAPAPO/SCC03 and further Goto, SNP PPM generation.
    The error message is "order has no activities" Check your master data (PPM or iPPE). Message number  /SAPAPO/OM082.
    Need help.
    Regards, Andrey

    Hi,
    1. Tcode /SAPAPO/OO_PPM_CONV.Enter Product an location and execute.
    2. Create SNP name.
    3.Select the line item, click on mass date change,enter today's date ,flag the PPM for conversion and save.
    4.Select Goto----> Genrerate.Inthe initial screen enter the start date of the generation period,Bucket size, typical order size and Maximum no of modes and priority.
    5.Alternatively you can do this step 4 in tcode /SAPAPO/OO_PPM_CONV_310 after flagging the PPM directly in this tcode.
    6. Genrerate the SNP PPM.
    Note : Execute /SAPAPO/SCC03 and enter Loc Product and  Usage P and execute and enter . You will have the PPDS PPM screen.
            If you want to have SNPPPM enter Usage as S.
    Thanks,
    nandha

  • I can't create Entity Data Model Class directly from database

    I have just installed odac beta (ODAC1120250Beta_EntityFramework) and Orace XE 11g for test.
    I have Visual Studio 2010 on Windows 7 32bit.
    The problem is that after updating odac I can't create ADO.NET Entity Data Model class. If I try, VS2010 wizard makes me choose if I want to generate from db or create an empty model. If I choose to generate from database, the next window disappers making me return to VS2010.
    The workaround is to create an empty model and then update model from database. In this way it works.
    Anybody has experimented the same?...
    Best regards
    Francesco

    A couple of things you could try:
    1. Install SP1 for Visual Studio 2010.
    2. Do you already have an Oracle connection created in server explorer? If not, try creating one and then create the model.

Maybe you are looking for