Collection which stores more then 2 values

Hi there ,
How to create a collection which stores more then 2 values of different types like int,string,date etc and retrieve each elements separately.Will any one help me
Thank u
Ramya

Go to this page:
http://java.sun.com/docs/books/tutorial/
and read the tutorial on Collections.

Similar Messages

  • Set more then 3 values in link

    Hello,
    i am using oracle 10g apex 3.2.
    I created a interactive report,with shows 5 columns in page 1.
    Now 2nd column i made it as link.
    On clicking that link it goes to page 3.
    When i click the link i want to set few items of page 3 with page 1 values.
    But in the column link(report attributes) of the interactive report i could see only 3 items can be set.
    What to do if i need to set more then 3 values?
    For More info on what i am doing---------
    Page 3 is having a form whose values i need to fill from page 1.A user need to click the link i.e. col2 on page 1 and then it goes to page 3 and could be able to see some values in the form of page 3 already filled.I want to send total 6 values.
    Thanks
    Swapna

    Hi,
    Option 1>>>
    When you click link on interactive report , send the primary key to page 3 which contains the form.
    In page 3 add a on load , before header process which will populate the other items based on the primary key value..
    Option 2>>>
    You can enter comma separated item names / values in the link tab of interactive report..
    eg. Name Field you can P1_ITEM1 , P1_ITEM2 , P1_ITEM3 and in value field you can enter the corresponding values eg.. #field1# , #field2# , #field3#
    Regards,
    Shijesh
    Please reward the answer if was helpful/correct

  • How to Select More then 1000 values in Multi-Select prompt!!!

    Hello Users,
    I have Scenario where i have to pass all the values from prompt to report and the values in the prompt are coming from session variable, so whatever value access user has the report will run with that only...
    Now the question is that Multi-Select Prompt is not able to take more then certain values, so is there any way that we can increase the limit for selected values??
    in-short how to increase the limit for selected values in multi-select prompt??
    Thanks In Advance!!!

    Hey David,
    The Scenario is like, we have data level security on "Unit" attribute. now based on the user selection when user logs in he should able to see the report only for those units which he/she has access.
    in total we have 1800 units available, now for 5-10 units access is fine, but the question will arise when user will not have only some units access from 1800 units.
    because report will not take those values from the multi-select prompt reason is that multi-select prompt is not able to take more then certain values in selected side.
    now in multi-select until-unless u have data coming in selected side those values will not pass. so i have kept the sql in default for that prompt.
    so when user logs in he will able to see those values in selected side for the multi-select prompt, but when values increase from some level it's going automatically in un-selected side.
    i want everything on selected side of multi-select prompt.
    Let me know if you need any further details.

  • Charts - More then 15 value in X axis

    Hi guys,
    I couldn't find how to show more then 15 value in X axis in 2D column chart. It only shows 15 values in default. I searched Chart xml but i couldnt find that which code block i need to change..
    Could you pls help me.?
    Thanks

    I just find out.
    There is an option to set Maximum Rows. It is on the series query editing page under the query text region..
    Thnks

  • Can I store more than One value in HashMap using Same kay?

    Hi,
    I want to store more than one value in HashMap using same key................. is it possible?
    If yes, then please give me source code for that.....
    Thankx in Adv.......

    I want to store more than one value in HashMap using >same key................. is it possible?I don't think so
    Message was edited by:
    manuel.leiria

  • Hello why cant we store more then 25,000 songs that have been uploaded in the Icloud from my cd's

    Hello why cant we store more then 25,000 songs that have been uploaded in the Icloud from my cd's, I'm a DJ and the purpose of getting the Icloud was not only for backup but to have access to all my music and this 25,000 song limit is not acceptable for me. I also upgraded my icloud drive to 200gb in hope that this would help, did it? I dont know as of yet, I just did it any thoughts out there??

    Apple has not said why. Inform Apple of your displeasure here:
    http://www.apple.com/feedback/itunesapp.html

  • Item should not invoiced more then order value

    Hi my all friend and Laxmi
    I have one requirement where i want a item can not invoiced more then there order item value
    Please suggest me with your valueable suggestion

    Hi,
    T. Code: VTFA (Order-Bill Copy-Control Settings)
    Select Target Bill Doc and Source Sales Doc.
    Click: Item (Left Hand tree)
    Select Item category and Double Click.
    There is one Field: Billing quantity
    Please maintain appropriate selection (My suggestion "A" - Order to Bill ; else "B", if Delivery to Bill)
    Best Regards,
    Amit

  • How to return more then one value in OC4J

    Hi,
    do I really need to create a serializable object + interface with an reader and writer to pass more then 2 variables back to the client ?
    Must this object a java bean ?
    .. or does anybody know an easier way to solve this problems.
    greetings
    Mike

    What is your client, and what are you using on the server? Are you trying to return values from a servlet to a web page, or from a servlet to a JSP, or from a EJB to a Java client?
    John H. Hi John
    We have some services currentliy implementet as PL/SQL stored Procedures on Oracle. They are now accessable with DCE and C-clients.
    The task is now to implement the services as Web-Services with SOAP. For that we want to use the OC4J. - as an SOAP Server.
    But unforunatly the only examples I found are returning only one parameter.
    The Java books learned me to create a class and an interface to pass more parameter to the client. This interface should be inherit from Serializable.
    The compiler is happy, the deployment is ok. But when I try to get the wsdl and stub I get something like: "must be an bean" or "have to be a reader and write property.
    From my point of view this looks very complicated. I want to use SOAP and therefore all parameters should be passed with one call and the parameter should be explained in the WSDL so that they could be used independed of the programming language and plattform.
    When I implement the read and write methods I will pass the parameters in one stream. When I only use Java I think this is a solution - but what is with C or other languages.
    Ciao Mike

  • Which is more reliable/ better value: t540p or w541?

    Which of the following configurations is a better value and/or is more reliable
    1) T540p with:
    -4th Gen Intel® Core™ i5-4330M (3MB Cache, up to 3.50GHz)
    -Windows 7 Professional 64-bit (either originally or via downgrade rights from windows 8.1)
    -15.6" FHD (1920x1080) With WWAN
    -NVIDIA GeForce GT 730M 1GB (1GB? game-debate lists this as a 2GB card)
    -4GB PC3-12800 DDR3L SDRAM 1600MHz SODIMM (planning on upgrading to 16GB later)
    -ThinkPad TrackPad No Fingerprint Reader
    -No Camera
    -500GB Hard Disk Drive, 7200rpm, 2.5"
    -DVD Recordable 8x Max Dual Layer
    -No Smart Card Reader
    -6 Cell Li-Ion Cylindrical Battery 56.16Wh
    -65W AC Adapter - AG
    -ThinkPad Wireless 2 x 2 BGN with Bluetooth
    -Integrated Mobile Broadband upgradable
    -1 Year Depot or Carry-in Warranty
    Ports: Mini DP, VGA, 2 x USB 3.0 (1x always-on), 2 x USB 2.0, Ethernet, Combo jack,
    Audio: Dolby® Advanced Audio™
    Web Price:$1314.00
    OR
    2) W541 with:
    -Intel Core i7-4710MQ Processor (2.5GHz, up to 3.5 GHz, 6MB, 47W)
    -Windows 7 Professional 64 preinstalled through downgrade rights in Windows 8.1 Pro 64
    -Thinkpad W541 15.6" FHD (1920 x 1080), with WWAN
    -W540 NVIDIA Quadro K1100M 2G (or W540 NVIDIA Quadro K2100M 2G[add $250.00])
    -4GB PC3-12800 DDR3L SDRAM 1600MHz SODIMM (planning on uprgading to 16 or 32GB later)
    -Thinkpad W541 No Fingerprint Reader, 3+2BCP (not sure what that is, but....)
    -720p HD Camera
    -Internal RAID - Not Enabled to Not RAID Capable
    -500GB Hard Disk Drive, 7200rpm, 2.5"
    -16GB M.2 Solid State Drive Double
    -DVD Recordable
    -6 Cell Li-Ion Cylindrical Battery 56.16Wh
    -Country Pack AG with Line cord & 170W AC adapter
    -Intel Dual Band Wireless 7260AC with Bluetooth 4.0
    -Integrated Mobile Broadband upgradable
    -1 Year Depot or Carry-in Warranty
    Ports: Thunderbolt, 2 USB 3.0, 2 USB 2.0, VGA, RJ-45, 4-in-1 card reader, Express Card, Smart Card (optional) (??? I didn't see the option, but oh well...), headphone/mic combo
    Audio: Stereo with Dolby® Home Theater®
    Web price: $1639.00
    Which is a better system/performance for the money? Which is better for moderate (2013 and earlier) gaming, video editing, XP mode, etc?
    Is the performance upgrade of the w541 over the t540p worth the money upgrade?
    Which will hold out better for 5-10 years? No CAD usage foreseen.  Would 32GB be necessary for the w541, or would 16GB be enough?
    The camera is something I would gladly do without; its presence is a drawback. Same for fingerprint reader.
    Thanks.
    (Edited to add)
    PS: If the t540p is the way to go, does it make sense, for a $55.00 price increase, to upgrade from a i5-4330m to an i7-4700mq? At that point, is the graphics card (Nvidia GT 730m) bottlenecking the processor, game, etc. so much that the CPU upgrade is a waste of money?

    I have the T540p with the i7-4700. It is a strong machine and a CPU upgrade to the 4700 is worth the $50. A 4700 will perform the same in either laptop.
    Grqphics cards are always the bottle neck. The GT730M can't do much so if graphics are a concern it's the W541. The W541 also has the new touch pad & thunderbolt, a bigger power supply and more of a workstation feel. That is attractive to me, but, if all you plan to do is spreadsheets and surf the T540p will go right through it.
    If it didn't break the budget I would do the W541 with the i7-4810 cpu and the K2100M. I would complain about the price but I think I'd be happier with that config over the next three years.
    Sixteen gig of memory should be good & focus on a fast boot drive.
    If you call in the order they may give a $50 discount, if you ask.

  • BED amount more then Base Value

    hi,
    i create SA,qty=250,000EA nad rate 182/,
    when doing migo wrt SA for qty 90.base value is calculating correctly=90*182=16380 but bed calculating wrongly(14%),its calculating 22,930.00(it should be 2293/.)
    please guid us
    regards
    ssp

    Hi,
    If you already inward the 40 qty with correct base & Correct base excise duty, Then for next lot of 90 qty system will take the correct value. Check correctly the duty percentage & value in PO
    One more thing while in warding 40 qty did you manually changed the value or system adopted the base value & excise duties from PO.
    Check & confirm.
    rgds
    Chidanand

  • Creating iFS content type require more then 4 values to be set for 1st attribute

    We get the following error:
    exception in thread "main" oracle.ifs.common.IfsException: IFS-30002: Unable to
    create new LibraryObject
    java.sql.SQLException: ORA-01400: cannot insert NULL into
    ("IFSSYS"."ODM_ATTRIBUTE"."SETTABLE")
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:180)
    at oracle.jdbc.oci8.OCIDBAccess.check_error(OCIDBAccess.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java, Compiled
    Code)
    at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java:1483)
    at
    We were happily creating, updating and deleting various iFS content types by
    declaring 'n' attributes and then setting 3 or 4 of these properties of each
    one of the 'n' attributes of every content type i.e.
    //First attribute of the content Type
    AttributeDefinition adef1 = new AttributeDefinition(ifsSession);
    //First property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.NAME_ATTRIBUTE,
    AttributeValue.newAttributeValue("FIRSTNAME"));
    //Second property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.DESCRIPTION_ATTRIBUTE,
    AttributeValue.newAttributeValue("The firstname of the
    Employee"));
    //Third property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.DATATYPE_ATTRIBUTE,
    AttributeValue.newAttributeValue
    (Attribute.ATTRIBUTEDATATYPE_STRING));
    //Fourth property of the first attribute of content Type
    adef1.setAttributeByUpperCaseName(Attribute.REQUIRED_ATTRIBUTE,
    AttributeValue.newAttributeValue(true));
    //Fifth property of the first attribute of content Type
    //We are forced to set this up. Otherwise we get above error.
    //However only required for first attribute of the content type.
    //Rest of the attributes (n-1) are fine.
    adef1.setAttributeByUpperCaseName(Attribute.SETTABLE_ATTRIBUTE,
    String.valueOf(true));
    //Sixth property of the first attribute of content Type
    //We are forced to set this up. Otherwise we get above error.
    //However only required for first attribute of the content type.
    //Rest of the attributes (n-1) are fine.
    adef1.setAttributeByUpperCaseName(Attribute.UPDATEABLE_ATTRIBUTE,
    String.valueOf(true));
    codef0.addAttributeDefinition(adef1);
    The other attributes are fine. We only need to set 3-4 properties of these
    attributes and could get away with it. Only the first attribute is causing the
    above problem. For other attributes of the content type, we are still setting
    only the first three/four properties
    If you look at the definition of iFS internal table "odm_attribute", apart from field "id", which is an implicit column, there are 12 columns which are NOT NULL.
    This means for every iFS attribute it must be required to set the values
    of these 12 properties. However like most of the examples in iFS doco,
    you could get away with setting 3-4 properties explicitly. I am sure some
    of them are set implicitly by iFS.
    The problem is, sometimes these implicit setting of properties by iFS is
    not working and its complaining about them. The ones which are causing
    problems are SETTABLE and UPDATEABLE.
    We are forced to set them explicitly. Hence the inconsistency.
    The problem is, what is the reason for iFS setting "SETTABLE" and
    "UPDATEABLE" implicitly for some attributes and requiring us to set them
    explicitly?
    Thanks and Regards

    hi srini,
    i have includedthe char in rows. i want you to explain in detail how to use these values in the if then else statement in query.
    i have created a calculated key figure 2= (formual variable =1 & keyfig a =0)* keyfig1kefig2 +not(formual variable =1 & keyfig a =0)keyfig2 *calculated keyfig1.
    so this formula variable of replacement path have ref. to then char. and with what value should it replace, key, name, external char or attribut etc so that i should get the values of the char from 1 to20.
    i donot to repalce with the attribute. i just want the char. values and not thier attributes (1. description 2. the second attribute has the values say abc1,efg2,ghi3 for respective charteristic values.
    ie
    char value               desc                 2nd attrib
    1                            hi                     abc1
    2                            bye                  defg2
    3                            ciao                  ghi3

  • Putting more then one value in at one time

    hello could someone help please
    i just wondered if you could put multiple querys into one column for example i have a column name called firstname and i want to put 10 first names in there would i have to write firstname 10 times and then write each value individuly or is there a better way?
    thanks for yr time ben

    are you asking about sql queries?

  • How to implement a static field with more then one value?

    Hello! I'm a novice at swing programming. Please help me to implement a static list like this:
    Field_1: Value;
    Field_2: Value_1;
                  Value_2;
                  Value_3;
    Field_3: Value;
    Field_4: Value;
    Values for each field can be added dynamicly. I used for field and value a JLabel component. I have no idea how to move down the bottom string (Field_3) when add a value to Field_2 :(
    How is better to implement this list? thanks for all responses!

    Maybe you should be using a [url http://java.sun.com/docs/books/tutorial/uiswing/components/combobox.html]Combo Box.

  • Incorporating wildcards in a report for more then one value '%data%','%data%'

    Hello I am creating a report with wildcards, I need the users to be able to look up results that are in the comments as well as dates. this is what I have so far but I don't think I did this correctly
    SELECT     CompletionDate, Accomplishments, accomplishID, Participant
    FROM         Accomplishments_tbl
    WHERE     (CompletionDate BETWEEN @Beginning_CompletionDate AND @End_CompletionDate) AND
                          (Accomplishments LIKE '%Martiza Pinto%,%Arleen Poag%,%Cynthia Flores-LaFleur%,%Jennifer James%')
    ORDER BY CompletionDate

    sorry about that I ran this, works great thank you
    SELECT
         A.CompletionDate,
    A.Accomplishments,
    A.accomplishID,
    A.Participant
    FROM
             Accomplishments_tbl A
    CROSS
    APPLY(SELECT
    FROM
    (values
    'Martiza Pinto'),('Arleen
    Poag'),('Cynthia Flores-LaFleur'),('Jennifer
    James')) List(Name)
    WHERE
    A.Accomplishments
    LIKE
    + List.Name
    +
    X

  • How to import large excel files which exceeds more then 65535 rows

    Hi there,
    I am using the latest Numbers version (v3.5.3) on the latest Yosemite (10.10.3) and wonder if and how it is possible to import an Excel file which exceeds the 65535 limit. I know MS Excel has change this limit to 156118 rows. But I don't have that program. I am only using the Mac versions.
    Thanks in advance.
    Roy

    Hello NavNak.
    My knee jerk reaction would be to split the incoming Excel file.  (How else can a gallon of water fit into a half gallon jug?)  I googled 'Excel file splitter' and up came a bunch of hits with one of them coming from this Apple Community.  Check out thread #6486876 which is How To Split Large Excel or CSV Files into Smaller Files
    Good luck.
    DaverDee

Maybe you are looking for