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
Similar Messages
-
Can Function Return more than One Values ??
Hi Experts,
I would like to ask you Can Function Return more than one values. I Used Function with Out and In out parameter and its working Fine..
1. what is harm using Out and In out parameter in function
2. if we can use Out and In out parameter in Function so what is deffernce between procedure and Function.
3. Is there any Other Way Though which we can return more the One values in Function.
Please advice me...
Thanks
Umesh GoelYes/No.
You can return multiple value from function. But, in PL/SQL and not in a SQL.
The following examples demonstrate that -
SQL*Plus: Release 9.2.0.1.0 - Production on Wed Mar 28 17:41:15 2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> create or replace package glob
2 as
3 b varchar2(20);
4 c varchar2(20);
5 end;
6 /
Package created.
SQL>
SQL> create or replace function test_mul_out(a in number)
2 return number
3 is
4 cursor c1(eno in number)
5 is
6 select ename,job,sal
7 from emp
8 where empno = eno;
9
10 rec c1%rowtype;
11 d number(10);
12 begin
13 open c1(a);
14 loop
15 fetch c1 into rec;
16 exit when c1%notfound;
17 glob.b:= rec.ename;
18 glob.c:= rec.job;
19 d:= rec.sal;
20 end loop;
21 close c1;
22 return d;
23 end;
24 /
Function created.
SQL> set serveroutput on
SQL>
SQL> declare
2 zz number(10);
3 begin
4 select test_mul_out(7777)
5 into zz
6 from dual;
7
8 dbms_output.put_line('Ename: '||glob.b);
9 dbms_output.put_line('Job: '||glob.c);
10 dbms_output.put_line('Sal: '||zz);
11 end;
12 /
Ename: Avik
Job: CLERK
Sal: 3456
PL/SQL procedure successfully completed.
SQL> Regards.
Satyaki De. -
Can we give more than one value for an Authorization field in Auth-Check.
Hi all,
Can we give more than one value for an Authorization field in Auth-Check.
Ex: AUTHORITY-CHECK OBJECT 'S_TRVL_BKS'
ID 'ACTVT' FIELD '02'
ID 'CUSTTYPE' FIELD <Value 1> <Value 2> <Value 3>.
IF SY-SUBRC 0.
MESSAGE E...
ENDIF.
If yes, please help me with exact syntax.
Think it will be like
ID 'CUSTTYPE' FIELD: <Value 1>, <Value 2>, <Value 3>.Hi,
yes we can give more than one field.
program an AUTHORITY-CHECK.
AUTHORITY-CHECK OBJECT <authorization object>
ID <authority field 1> FIELD <field value 1>.
ID <authority field 2> FIELD <field value 2>.
ID <authority-field n> FIELD <field value n>.
The OBJECT parameter specifies the authorization object.
The ID parameter specifies an authorization field (in the authorization object).
The FIELD parameter specifies a value for the authorization field.
The authorization object and its fields have to be suitable for the transaction. In most cases you will be able to use the existing authorization objects to protect your data. But new developments may require that you define new authorization objects and fields.
please reward points, if it is useful.
satish. -
Can I have more than one ipod touch on the same account, or must they each have their own ID.
If you use the same account see the following to separate Messages and FaceTime between the two iPod see:
MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime -
Can there be more than one JVM Running on the same machine
Can there be more than one JVM Running on the same machine.
Even JVM's of different versions (or vendors) can run on the same box at the same time.
-
Can you have more than one apple id under the same account
can you have more than one apple id under the same account
Stop using the same Apple ID for iMessage on these devices. Go to Settings>Messages>Send & Receive (Receive At in iOS 5), tap the ID shown, sign out, then sign back in using a unique ID for each device. (Or, just sign out and stop using your Apple ID for iMessage.)
-
HT4859 Can I have more than one icloud account on the same pc I share with my spouse?
Can I have more than one icloud account on the same pc that I share with my spouse?
Yes, providing that you use seperate user accounts on the computer.
-
HT4759 Can you have more than one computer linked to the same icloud account?
Can you have more than one computer linked to the same icloud account? If so how do you add a computer?
Yes, of course - that's the whole point, to provide syncing of data such as calendars, contacts and email between computers and iOS devices. Having got iCloud up and running on one computer, simply sign all other devices in at System Preferences (or Settings)>iCloud with the same login. (Lion 10.7.2 and iOS5 are the minimum requirements.)
-
HT2534 can you have more than one itunes account on the same computer?
can you have more than one itunes account on the same computer?
Yes. Either create and use separate Windows user accounts, or launch iTunes with the Shift key held down as desired.
(62377) -
Can I run more than one "main application" in the same JVM?
Hi,
We need a instance of JVM to run each standard application, Applet or Xlet?
Can I run more than one "main application" in the same JVM?
Thanks.stdioo wrote:
Hi,
We need a instance of JVM to run each standard application, Ok
Applet or Xlet?You have no control over the first on a client machine. Presumably not the second either although I don't know what it is.
Can I run more than one "main application" in the same JVM?Application. Not applet.
You must have a class (code) to start each "application". To keep the environments clean from each other you can use a class loader. -
Can you have more than one iTunes account on the same computer?
My wife just got a nano and wants to set up her itunes library. Since we have different tastes in music, I thought we should have separate libraries under our separate log-ins to our PC so that her music didn't upload to my iPod and vice versa. Is that the right approach or is there a better way?
There are basically two ways of using multiple iPods on a computer and these involve:
a) Sharing a single iTunes library and user account.
b) Creating multiple user accounts and having separate libraries.
Sharing a Library
If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish):
Loading songs onto iPod automatically - Windows
Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
iTunes: Creating playlists of your favorite songs
How to create a Smart Playlist with iTunes
Or you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
Separate User Accounts
Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists -
How can I display more than one value in Calendar ?
Hi,
the standard (example) script allows for the display of one value only (as I understood). How can I display two or three values, from the very same table ? Students of mine during an HTMLDB workshop in Leipzig did ask that question.
Do we have a more detailed docum. on the use of the calendar ?
pls kindly advise. TIA.
Bernhardmy solution:
Source fo the calendar starts:
snip>
declare
q varchar(32767) := null;
begin
q := 'select "ETA", <--- Date Field and concatination of fields as follows:
"SCHIFFSNAME"|| "ETA_TIME"|| "TERMINAL"||''(br*)'',
null,
null,
null,
null
from "#OWNER#"."SCHEDULE"'; . . . . . . .
snip>
comment on (br*) - you have to use "<" and ">" instead of "( " and ")" to have the "break/new line effect"
brgds
Bernhard -
Can't have more than one item on at the same time
Hello,
I have a WRT110. I have two wireless notebooks and a wireless printer on a network. Everytime I turn more than one thing on, it makes my connection drop. Example, I will have my notebook on and if I want to print something out, I turn on the printer and bam, I've lost my wireless connection. What am I doing wrong? Its to the point where if my husband is online and I turn on my Ipod it connect to the internet and my husbands connect ends. We keep having to reset router and modem. Any help would be greatly appreciated!
Solved!
Go to Solution.1. Goto Control Panel > Network and Internet > Network Connections.
2. Right click on ‘Local Area Connection’ & click ‘properties’ option.
3. Uncheck ‘Internet Protocol Version 6 (TCP/IPv6)
The Search Function is your friend.... and Google too.
How to Secure your Network
How to Upgrade Routers Firmware
Setting-Up a Router with DSL Internet Service
Setting-Up a Router with Cable Internet Service
How to Hard Reset or 30/30/30 your Router -
How can I show more than one value in a select list
Hello,
I have a LOV an I want to show in this LOV "userid, name".
The return value is only "id".
I always get a message that the number of the displayed values must be the
same than the returned values.
How can I solve this problem?
Thanks in advance!
UlrikeSELECT userid||', '||name d, userid r
FROM table
Denes Kubicek -
HT2731 Can I have more than one apple ID on the same computer?
I bought my son an iPhone for Christmas, but I want him to have a separate account. Can I do that on one computer?
Yes. Create a separate user account on the computer.
(95629)
Maybe you are looking for
-
Motion 2.1.2 crashes, quits unexpectedly, seemingly at random
Bear with me, as I am a relatively new Mac owner; however, I did try to first find, and read, all of the existing posts concerning this same topic, beforehand. I thank you in advance your input, and will mark this thread as "solved" or "helped" if we
-
If you open references to a LabVIEW object, such as an application, control, or VI, close the references by using the Close LV Object Reference function. Otherwise, the reference stays in memory even though the VI no longer uses it. The above quote i
-
ITunes Library Genius.itdb file is locked
Not sure why I get this warning (see subject). Any words of wisdom?
-
Two incoming streams to the same FMS box?
Hello, I'm trying to figure out whether or not it's possible to have two incoming streams to the same FMS server. Every time I try to search this information, I find stuff on having multiple outgoing streams, but nothing on multiple incoming streams.
-
I have called support on my actual printer and everything is fine, they suggested to contact the browser I am printing from. Microsoft word and other software prints normal. Any web page I attempt to print from, even when I select the "print page" op