Data collection without duplicates and ordered
Hi!
what is the data set (or collection object) we have in java that can order a setof objects using a comparator, or default ascending, and that doesn't allow duplicate values in it. To be precise I need a combination of HashSet and TreeSet.
Can any one help me.
Thank you
Madhav
Hi.
A TreeSet does what you've described. You mention that you need a combination of HashSet and TreeSet though, so what does TreeSet do that you don't like or what doesn't it do that you want?
Regards,
Lance
Lance Walton - [email protected]
Team In A Box - Software without Tragedy
http://www.teaminabox.co.uk
Similar Messages
-
How to sync iPhone photos with iPad and Mac without duplicates and deleted photos?
I have a MacBook Pro (OS X 10.8.5, iPhoto 9.4.3), an iPad2 (ios 6.1.3) and iPhone (ios 7.0.4). I take my pictures on the iPhone and use the iPad for viewing. I use the MBP for storage and backup. ios 7 seems to organize the photos nicely, so I no longer need iPhoto for organizing.
What is the best, easiest and most efficient way to share, save and backup photos (iCloud prefered versus plugging devices into the MBP) between the 3 devices without duplicates and deleted photos? With Photo Streaming turned on, I get duplicates and it retains photos that I have deleted.
On all three devices, I turned on Photos & Camera > My Photo Stream and Shared Photo Streams and iCloud > Photo Stream.
On the MBP, I have everything under Photo Stream EXCEPT Automatic Import (I took off recently hoping to eliminate duplicates).
If someone else already asked this question, I apologize. This is very confusing.While waiting for a reply, you can read the documentation that was in the box your iPad came in. It's a book about a Spanish guy called Manual.
The answer is iTunes. Download it. Install it. Read the instructions. Use it. -
How do you merge iphoto libraries without duplicates and maintaining events?
I have a few iphoto libraries on my computer that I need to merge, without duplicates, and maintaining the seperate events. Does anyone know how to do this efficiently?
"Terence Devlin" does not work for Apple, for the makers of Library Manager and has no beneficial interest in whether or not you use or purchase this or any other app. If "Terence Devlin" did have such an interest the terms of use of the Forum would require that he add such information to the post. No, Aperture cannot merge iPhoto Libraries. Aperture can convert them to Aperture Libraries and merge them, but that would be of no use to an iPhoto user, as iPhoto can't open an Aperture Library.
And the fact remains that the paid version of Library Manager is the only way to merge Libraries
Regards
"TD" -
Data collection: Conversion exit and Input Conversion of Local Currency
Hi,
I'm collecting transaction data from BI where the local currency for one company has no decimal places.
Therefore if I collect the data with no conversion, the value is multiplied by 100 in BCS .
has anyone used the Conversion Exit or Input Conversion options?
- any feedback, tips or useful documentation/links you can point me to?
All help much appreciated.
TheScotsmanHi TheScotsman,
I'm almost sure that the reason of this behaviour but the special treatment of some specific currencies (see the OSS note 153707). Just check if you have the currency in the TCURX table.
If yes, then please go through the links:
Re: Local Currency COP, KRW values wrong in report
(I described symptoms)
Re: Currency conversion cube to report
(see the document in the link)
Edited by: Eugene Khusainov on Sep 8, 2008 4:20 PM -
Invoice and Order Entry Data!!!
Hi All,
Can anyone please let me know the data sources for Invoice and Order Entry Data (SD).
Please provide any link related to the same.
Your help will be appreciated.
Thanks in Advance,
Regards,
Amit.hi,
For Invoice veriifcation you can use 2LIS_06_INV and for Sales order related data source you can use 2LIS_13_VDHDR,2LIS_13_VDITM and 2LIS_13_VDKON.
Also you can get more details on below link
http://help.sap.com/saphelp_nw70/helpdata/en/17/cd5e407aa4c44ce10000000a1550b0/frameset.htm
Regards,
Amol -
Poor performance when Distinct and Order By Used
Hello,
I am getting an slow answer when I add Distinct and Order By to the query:
Without Distinct and Order By lasts 3.57 seconds; without Distinct and Order By lasts 28.15 seconds, which it's too much for our app.
The query is:
select distinct CC.acceso, CC.ext_acceso, TIT.TITULO_SALIDA
from (((Ocurrencias CT01 inner join
palabras p0 on (CT01.cod_palabra = p0.cod_palabra and p0.palabra like 'VENEZUELA%' AND p0.campo = 'AUTOR')) INNER JOIN
CENTRAL CC ON (CT01.ACCESO = CC.ACCESO AND CT01.EXT_ACCESO = CC.EXT_ACCESO))) inner join
codtit ctt on (CC.acceso = ctt.acceso and CC.ext_acceso = ctt.ext_acceso) inner join
titulos tit on (ctt.cod_titulo = tit.cod_titulo and ctt.portada = '1')
where CC.nivel_reg <> 's'
ORDER BY 3 ASC;
The query plan for the query WITH Distinct and Order By is:
Elapsed: 00:00:28.15
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=301 Card=47 Bytes=12220)
1 0 SORT (ORDER BY) (Cost=301 Card=47 Bytes=12220)
2 1 SORT (UNIQUE) (Cost=300 Card=47 Bytes=12220)
3 2 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
4 3 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
5 4 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
6 5 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
7 6 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
8 7 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
9 6 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
10 5 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
11 10 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
12 4 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
13 12 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
14 3 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
15 14 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
154 recursive calls
0 db block gets
32070 consistent gets
1622 physical reads
0 redo size
305785 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
212 SQL*Net roundtrips to/from client
10 sorts (memory)
0 sorts (disk)
3149 rows processed
The query plan for the query WITHOUT Distinct and Order By is:
Elapsed: 00:00:03.57
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=299 Card=47 Bytes=12220)
1 0 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
2 1 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
3 2 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
4 3 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
5 4 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
6 5 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
7 4 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
8 3 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
9 8 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
10 2 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
11 10 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
12 1 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
13 12 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
3376 recursive calls
0 db block gets
33443 consistent gets
1061 physical reads
0 redo size
313751 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
422 SQL*Net roundtrips to/from client
90 sorts (memory)
0 sorts (disk)
3149 rows processed
I would appreciate a lot if somebody can tell me how to improve the performance of the query with Distinct and Order By.
Thank you very much,
Icaro Alzuru C.Hello,
I am getting an slow answer when I add Distinct and Order By to the query:
Without Distinct and Order By lasts 3.57 seconds; without Distinct and Order By lasts 28.15 seconds, which it's too much for our app.
The query is:
select distinct CC.acceso, CC.ext_acceso, TIT.TITULO_SALIDA
from (((Ocurrencias CT01 inner join
palabras p0 on (CT01.cod_palabra = p0.cod_palabra and p0.palabra like 'VENEZUELA%' AND p0.campo = 'AUTOR')) INNER JOIN
CENTRAL CC ON (CT01.ACCESO = CC.ACCESO AND CT01.EXT_ACCESO = CC.EXT_ACCESO))) inner join
codtit ctt on (CC.acceso = ctt.acceso and CC.ext_acceso = ctt.ext_acceso) inner join
titulos tit on (ctt.cod_titulo = tit.cod_titulo and ctt.portada = '1')
where CC.nivel_reg <> 's'
ORDER BY 3 ASC;
The query plan for the query WITH Distinct and Order By is:
Elapsed: 00:00:28.15
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=301 Card=47 Bytes=12220)
1 0 SORT (ORDER BY) (Cost=301 Card=47 Bytes=12220)
2 1 SORT (UNIQUE) (Cost=300 Card=47 Bytes=12220)
3 2 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
4 3 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
5 4 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
6 5 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
7 6 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
8 7 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
9 6 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
10 5 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
11 10 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
12 4 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
13 12 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
14 3 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
15 14 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
154 recursive calls
0 db block gets
32070 consistent gets
1622 physical reads
0 redo size
305785 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
212 SQL*Net roundtrips to/from client
10 sorts (memory)
0 sorts (disk)
3149 rows processed
The query plan for the query WITHOUT Distinct and Order By is:
Elapsed: 00:00:03.57
Execution Plan
0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=299 Card=47 Bytes=12220)
1 0 NESTED LOOPS (Cost=299 Card=47 Bytes=12220)
2 1 NESTED LOOPS (Cost=250 Card=49 Bytes=4165)
3 2 NESTED LOOPS (Cost=103 Card=49 Bytes=2989)
4 3 NESTED LOOPS (Cost=5 Card=49 Bytes=1960)
5 4 TABLE ACCESS (BY INDEX ROWID) OF 'PALABRAS' (TABLE) (Cost=3 Card=1 Bytes=19)
6 5 INDEX (RANGE SCAN) OF 'PALABRA' (INDEX (UNIQUE)) (Cost=2 Card=1)
7 4 INDEX (RANGE SCAN) OF 'PK_OCURRENCIAS' (INDEX (UNIQUE)) (Cost=2 Card=140 Bytes=2940)
8 3 TABLE ACCESS (BY INDEX ROWID) OF 'CENTRAL' (TABLE) (Cost=2 Card=1 Bytes=21)
9 8 INDEX (UNIQUE SCAN) OF 'PK_CENTRAL' (INDEX (UNIQUE)) (Cost=1 Card=1)
10 2 TABLE ACCESS (BY INDEX ROWID) OF 'CODTIT' (TABLE) (Cost=3 Card=1 Bytes=24)
11 10 INDEX (RANGE SCAN) OF 'PK_CODTIT' (INDEX (UNIQUE)) (Cost=2 Card=1)
12 1 TABLE ACCESS (BY INDEX ROWID) OF 'TITULOS' (TABLE) (Cost=1 Card=1 Bytes=175)
13 12 INDEX (UNIQUE SCAN) OF 'PK_TITULOS' (INDEX (UNIQUE)) (Cost=0 Card=1)
Statistics
3376 recursive calls
0 db block gets
33443 consistent gets
1061 physical reads
0 redo size
313751 bytes sent via SQL*Net to client
2807 bytes received via SQL*Net from client
422 SQL*Net roundtrips to/from client
90 sorts (memory)
0 sorts (disk)
3149 rows processed
I would appreciate a lot if somebody can tell me how to improve the performance of the query with Distinct and Order By.
Thank you very much,
Icaro Alzuru C. -
Data Collection 5.2 LMS 3.2 running always
why??
Best Regards.Most likely "CSCtd49439 Data Collection never completes, and UT acquisition cannot run " which affects the CM 5.2. TAC could provide you patch or you need upgrade your CampusManager to 5.2.2.
-
LMS 3.2 CM, data collection stays running forever
Hi There
I have a customer who has LMS 3.2 Solaris. His CM, data collection, is in a running state for more than two days.
I am almost sure this is a bug, do you have any advice for me please.see this thread:
https://supportforums.cisco.com/message/1322774#1322774
perhaps you are hitting BugId CSCtd49439
CSCtd49439 Bug Details
Data Collection never completes, and UT acquisition cannot run
Symptom:
Campus Manager Data Collection does not stop. It is reported as always
running in
Topology Services. Additionally, User Tracking acquisition does not run due
to XML files
being written.
Conditions:
This will occur if there are any standalone Access Points being managed by
Campus
Manager. Other devices can also cause this (e.g. old 1200 series switches).
Workaround:
Filter out standalone Access Points and other affected devices from Campus
Data Collection
under Campus Manager > Administration > Data Collection > Exclude Devices.
A patch is available by contacting TAC. -
I need to set up 9 IPhones and 4 IPads to be used as data collection devices. How can I do that without setting up 13 separate ITunes accounts?
You can use the same account to set up as many devices as you like.
You might also find there are tools to help with a roll out.
http://www.apple.com/support/iphone/enterprise/
tt2 -
ATP Item without Run Data Collection?
Hi,
Can we use ATP functionality (Not GOP) by defining ATP Rules in the system and attach it to the Inv. Org without running Data Collection Program?
I am new to ATP Functionality and planning to setup it in R12. All Gurus are requested to help me on this.Please review Note: 420476.1 - Schedule Sales Orders Errors With The Requested Item Or One Of Its Components Is Not Collected
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=420476.1 -
Customer Name on Sales Order not in Data Collections
Hi,
I am looking for some help. My company just did an upgrade from 11i to R12 in the middle of May. As part of the upgrade we installed ASCP. We have noticed that certain customers are not being collected when running Standard Data Collections. We have open sales orders in the system for the customer. The sales order are being collected properly and appear in the plan. When we show the Customer field in the 'Supply/Demand Screen' in ASCP, the field is blank for select customers. Is there anything on the customer master or sales order line that would prevent the customer name from being collected? Any insight would be helpful.
Thanks
RichYou can go to order organizer screen select the OA NO which you are not able to see in the ASCP workbench, go to line items---using show field get the Demand visible
tab on screen-----default value should be 'Y' if blank then then that could be the one of the reason. -
Extract Data Vendor without Purchase Order
Hi experts,
I have to extract data Vendor that has been invoiced without a Purchase Order.
Someone know how can I do it? with 0FI_GL_3??
Kind Regards,Hi MP.
You can check it in the GL_4 extractor, IF you have enhanced it with EBELN (the PO number). If so, just run a report outputting vendor and PO = #.
If your GL_4 extractor is not enhanced with this field, you can try directly on BSEG-table in R/3 (with EBELN = <blank>).
OR, depending on how the invoices are booked, when they do not relate to a PO fx, a particular acc.doc.type is used, then you could again use the GL_4 data, this time restricting on the ac_doc_type = <the type used for invoices without orders>
Good luck!
Jacob
Edited by: Jacob Jansen on Oct 8, 2009 6:47 PM
Sorry - forgot that you will have to look up the vendor in AP_o03 dso, by matching the accounting doc number..... -
SignalExpress projects without data collection hardware
I am new to LabView SignalExpress. Our production NI system is connected to NI Hardware and is collecting data and providing live display 24x7. I am trying to learn that display / data collection system. I have copied the project file to my office desktop computer. However, I am not able to load that project or develop a similar program on my office computer, which is not connected to any hardware. Is there a way to run Lab View in a simulated mode without any hardware connected? Are logical devices supported by Lab View? Are there drivers for logical devices on a computer? For example, the computer's hard drive can be viewed as a logical device and Lab Vew can be used to display MB / sec in a chart.
Thank you for your help.You can create virtual hardware in MAX that will appear in Sig Ex.
If you launch Measurement and Automation Explorer click Devices and Interfaces from the list on the left. Now click Create New..., Click Simulated NI-DAQmx Device.
You should now be able to build your hardware profile from the available selections.
Next time you launch SigEx these devices will show up if you select a supported signal type. -
Production Order for a material without BOM and Routing
Is it possible to create a production order for a given material without routing and BOM, I know we can
create a production order for a material without a BOM (with a default routing) just wanted to check with
the above criteria
Thanks in Advance!!Members:
Thank you for your valuable replies and time
Santosh:
Tried what you have mentioned, but system still picks up a default routing
Kaushik:
Maintained Default values in OPJG for the given order type, but system still picks up
default routing
Mangalraj:
have no issue in creating a production order without a BOM, but I am trying to see
is there a way where I can create a production order without a BOM and routing (not
even default operation )
Any suggestions on how to create a production order for a material without a BOM
and routing (not even default one ) -
Hi All,
Greetings.
I have two queries namely,
1.Query for cancelled requisitions and
2.Query for Internal Requisitions without Internal Sales Orders.
I was on a task to combine those two queries..
Can we do that? if so, please help me do that..
Thanks in Advance,
Bhaskar.Hi All,
Greetings.
I have two queries namely,
1.Query for cancelled requisitions and
2.Query for Internal Requisitions without Internal Sales Orders.
I was on a task to combine those two queries..
Can we do that? if so, please help me do that..
Thanks in Advance,
Bhaskar.
Maybe you are looking for
-
New Broadband - No Dial tone - Line Test shows no ...
Hi, I was wondering if anyone can help me before i start pulling my hair out!.... I have recently attempted to set up my new broadband and phone. My activation date was 4 days ago and ever since ive been on the phone to customer service trying to wor
-
Help Please I am currently in the process of building a xml schema in a 10g release 2 DB and I am having trouble registering a schema here is a summary of what I have done SQL> BEGIN 2 3 DBMS_XMLSCHEMA.registerSchema('http://schemas.xmlsoap.org/wsdl/
-
Error while applying LM-tools patch using JSPM
hi all, I got error while applying LM-Tool patch using JSPM. following is the error log. How can i rectify it. please help. Mar 29, 2010 12:49:57... Info: Mar 29, 2010 12:49:57... Info: 12:49:56 2010-03-29 dbs-Info: Statement successf ully executed:
-
I have an older iPod (2005). After years of inactivity I tried to install the cd on my PC. I get the following error message, after several attempts to install: iTunes cannot run because some of its required files are missing. Please re install iTun
-
How to transfer both original and modified images to another computer?
Hi, I've been trying to figure out if there is a way to copy items between iPhoto libraries in two different computers. Basically I've got a desktop mac and all my digial images are sorted in the iPhoto library there. This is where I want to keep the