I need some serios help on matching and merging!

I'm sorry for the inconvience of my caps lock being on. here is the same message in normal caps:
I have to write a program to implement the match and merge algorithm. My program is to read in two file of strings, called list1 and list2, and create files called match and merge. The match file should contain the intersection of the two lists and the merge file should contain their union.
I have to use the following to test my program:
list1: Andy, Bob, Carl, Dan, Ed
list2: Archie, Bob, Bill, Carl, Charles

Yes! could somebody please supply me with the code
for this programming assinment. I would greatly
appreciate it.Nope......not a chance.
You've oviously mistaken this forum for the magic Homework-Doing-Machine.
Do your own homework and don't dare ask that again.

Similar Messages

  • Need some beginner help on formatting and images

    Just getting started with ID so am going through the learning process and could use a little help getting past some of the road bumps.
    Are ID character and paragraph styles similar in use and effect as those in Word? In other words, are there important differences in when to use text styles and paragraph styles? Do they cascade? Did I make a mistake by setting up two styles, one character and one paragraph, and applying them to a paragraph? Is there a good practice anywhere where you don't use a paragraph style to set character styling but instead use a character style and a paragraph style together?
    Get the idea? I'm looking for sort of an ID styling 101.
    Thanks in advance
    Tom

    No Style is not a style. It is a lack of style. It exists in the list of
    styles because there has to be something there to choose from when you
    choose to base a style on nothing, or when you want to *not* apply a
    paragraph style to a paragraph. When you don't want any style, you want
    no style (hence the name). The only time I deliberately apply No Style
    to a paragraph is when I want to "lock down" the formatting so that it
    won't change if I change a style (because No Style has no definition to
    change).
    Basic Paragraph is a special style that can't be deleted from the list
    of styles. For my books, I like to make a text style, give it a name
    like "text", and then base everything on that. As far as I can tell, the
    danger in basing everything on Basic Paragraph is simply that you may
    have it defined differently in another document and if you copy material
    from one document to another, everything will change (because everything
    is based on Basic Paragraph and Basic Paragraph is defined differently).
    Again, as far as I can tell, this is no different than having two
    documents, both basing everything on a style called "text" and defining
    "text" differently in those two documents. Either way, if you copy
    styled text from one document to another, you may see changes if the
    style exists in both documents and is defined differently.
    Your particular workflow depends mostly on the people you're working
    with. It's certainly possible to set up a Word template containing all
    the styles your writers will need and then tell them to use them. Then
    you won't have to do anything except Place the Word file. My experience,
    though, is that 99% of Word users don't even know styles exist, so this
    may require some education...
    In my workflow, I almost always get Word files after they've been
    written (and usually formatted to death). I Place Word files, keeping
    formatting, and then search and replace the formatting that I want to
    keep for styles and then select all and Clear Overrides. This way I get
    to keep the author's hard work but dump all the garbage the author
    introduced.
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

  • I need some advanced help regarding AE and PPRO workflow

    Hi all.
    I have a problem and require a solution. I am creating a video that has cellphone/IM chat graphics, animated in After Effects. The problem is the layering.
    In PPRO, the layers are as follows on the timeline.
    Top layer: Chat Graphics
    Middle Layer: Adjustment layer with colour grade effects
    Bottom Layer: Footage
    Now the issue I am having is that I need the chat graphics to cast a Gaussian Blur underneath them (the graphics are at 80% opacity) - and I have successfully done this using the AE Adjustment Layer switch, however since the graphics are in AE, and the footage is in Premiere, they blur does not appear. In other words, the graphics in AE are set to blur the layer below itself IN AE, but the footage layer below is IN PPRO.
    So... one might think that the obvious solution is to layer it all in AE, using the Replace with AE Composition option in PPRO. However, this means that the adjustment layer for the grade will affect the chat graphics which need to be consistent.
    Help...

    Just to report back - The Track Matte Key effect worked like a charm.
    Just had to create two extra layers in PPro.
    One duplicate layer of blurred footage. One duplicate layer of graphics to become the matte, on top of the footage layer.
    The effect of Gaussian Blur and Track Matte Key was applied on the footage layer.
    Thanks again Richard

  • Need some basic help with Acrobat and LiveCycle

    This is my first time using Acrobat and LiveCycle to design a form. Basically all I need is a title that is uneditable and underneath that I want to insert a text box so people can type in the box then print off the whole page with their comments. I can do all of that except the problem is when I insert the text box, the cursor is left justified but appears in the middle of the textbox. So when people start typing, there is a huge gap between the title and what they've typed. I want their typing to appear directly under the title. What am I doing wrong? See attached for a visual explanation. Thanks.

    You can have the text in the field top jusitied. This is controlled on the Font palette. Turn on the Font palette under the window menu. It usually will appear in the bottom right corner of the screen. Now highlight the field you want to adjust. Make usre the paragraph tab is slected. Click on the small dropdown arrow indictaed in yellow in the screen shot and select "Edit Value". Now click the top justification as indicated by the arroe in the csreen shot.
    Paul

  • Need some urgent help // Streaming windows and Mac Pro

    HI ,
    I have a nice "issue" here.
    At present I am in a project.
    We save the video images and sound by capture in FCP PRO with Mac Intel. Ans next to that using a Windows PC to stream live to internet.
    We send the video by using a converter from analog to digital using S-video in and out Firewire. (from the converter).
    After the converter we send the the firewire signal to a belkin hub to distribute to Mac and PC.
    Evenrything goes fine. But the MAc responds to the PC and the Mac to the PC . When the PC blocks (the image for streaming) the Mac stops capturing. When I (the Mac) cancel capturing the PC stops streaming
    PLease assist if you can .. how to handle. we guess that the hub creates the issues ...
    Should we use a more link switch ? like a network switch ?

    Our video runs through a video switcher which then outputs the signal to a PC (live streaming) and into a DRS-11 DV deck for recording as well as converting to FW which goes into the Mac for a live capture (redundancy) as well.
    <
    Yar, you want deal with the VIDEO, not the data stream, which is what you get on FW.
    Use a video/audio distribution amplifier to send duplicate versions of your program video and audio content to two or more different encoding/processing systems.
    Your boss/clients are not going to understand the technical requirements if they're Web geeks. Try this: If you want two copies of the same book, you don't use a copier. You buy two copies from the printer. You can't use a copier to distribute copies of a book in real time; each page has to be scanned and copied, one at a time, and they have to be collated separately. Anything that interrupts the process, like pulling out the stacks to staple them into, say, chapters (or insert your own metaphor here), causes the copier to stop since it can no longer knows the collation is correct.
    bogiesan

  • Need some quick help - fairly urgent!

    I've just taken over a new job and have been the task of finishing the new brochure for Christmas, there's not a lot to do but a lot of the measurements need changing
    This is the layout I'm dealing with..
    All the boxes have been made in Illustrator
    The text has been done in In'Design and it seems every piece of text is it's own box if that makes sense
    My question is, if I select the whole specification box - copy, paste it into Adobe Illustrator and change the text there, then paste the edited box back into In-Design, will I lose quality when it gets printed?
    I'm worried if I do it this way it may come out blurred? Or am I just worrying about nothing?

    I couldn't find an Illy file in the end and have ended up creating tables in ID to replicate what was already there!
    Didn't take very long and I guess if I didn't do it now, I'd come across the same situation next time!
    Date: Wed, 30 Nov 2011 08:48:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Need some quick help - fairly urgent!
        Re: Need some quick help - fairly urgent!
        created by Peter Spier in InDesign - View the full discussion
    There certainly are viable "quick fix" solutions proposed here, and if the dealine is looming and this file never needs to be touched again I might be tempted, but they are only postponing the pain for a file that needs periodic updates, and I wouldn't waste effort on them, myself, when that time can be put toward a proper rebuild now if that's the ultimate goal.
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4054725#4054725
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4054725#4054725. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in InDesign by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I need some help adding music to my slideshow in iPhoto.  When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

    When I open iTunes as the source, it says it needs to be open to populate, which it is.  I have no knowledge of computers...like, at all....so I need some (simple) help?  If possible?  Thanks.

  • I am making a multiple page document and need some pages to be landscape and others to be portrait.  How can I do this?

    I am making a multiple page document and need some pages to be landscape and others to be portrait.  How can I do this?

    In pages you can only have one orientation of the Page. You have to rotate the content on the pages that you want horizontal. Save the document in Pages format so you'll have a original version to work on. Then Export to or Print to PDF and open the document in Preview. Here you can rotate the pages to horizontal viewing.

  • Mapping with Match and Merge operater giving ORA-06550 error while deploy..

    Created a simplet mapping to source from Customer table to tstcustomer table thru' Match and Merge operator. The mapping validated successful but giving ORA-06550 line x column y error while deploying the mapping.
    It is a simple mapping consisting of source Customer table, Match and Merge operator, tstcustomer target table.
    Could anyone advise me on how to resolve this?

    The test mapping basically consists of :
    source table - sh.customers
    target table - tstcustomers (similar to sh.customers)
    Match-Merge operator.
    The mapping validation was successful but when attempt was made to deploy, its giving errors starting with ORA-06550.
    I saved the code and executed thru' SQL Plus and the error details are as follows:
    SQL> show errors;
    Errors for PACKAGE BODY MMTEST4:
    LINE/COL ERROR
    594/6 PL/SQL: Statement ignored
    594/37 PLS-00306: wrong number or types of arguments in call to 'RTRIM'
    601/6 PL/SQL: Statement ignored
    601/36 PLS-00306: wrong number or types of arguments in call to 'RTRIM'
    1017/655 PL/SQL: SQL Statement ignored
    30
    1020/27 PL/SQL: ORA-00942: table or view does not exist
    2163/6 PL/SQL: Statement ignored
    2163/43 PLS-00201: identifier 'CUSTOMERS_0_CUST_GENDER' must be declared
    2170/6 PL/SQL: Statement ignored
    LINE/COL ERROR
    2170/42 PLS-00201: identifier 'CUSTOMERS_0_COUNTRY_ID' must be declared
    2586/655 PL/SQL: SQL Statement ignored
    30
    2589/27 PL/SQL: ORA-00942: table or view does not exist
    SQL>
    For your info, the same mapping without Match-Merge Operator is getting deployed and executed successfully.
    But with Match-Merge operator, after setting Match bins, Match rules, Merge rules etc the mapping is validated successfully but errorring out while deployment.
    Pls advise on how to resolve this.
    I understand that the Match-Merge Operator gives Pl/Sql output from the documentation.
    thanks
    Naren.

  • Problem with Matching and Merging Step of MDM Workflow

    Hi,
    I have created a workflow which will first Match Step where the user will do both
    Matching and Merging. Then, it will go for a process step Final Review.
    Then, it will go for Branch step which is named as Decide on Check in.
    There are two workflow which are launched after this step.
    My workflow ran one time.
    The number of records is: 19585. The Match step which is assigned to a different user is not performing.
    It is a simple match based on First Name, Middle Name and Last Name.
    Any suggestion?
    Regards
    Kaushik Banerjee

    Hi Kaushik,
    What do you mean with "not Performing"? One suggestion, just log in with the 'Different User' who has been assigned for the matching task, and under that user goto the matching tab, in matching tab you will find a sub tab for Workflow, I hope you can work from there, If this doesnt solve your problem, then please let us know.
    Cheers,
    Cherry.
    Sorry problem with button;... so message came again... apologize.....
    Edited by: Cherry on Mar 23, 2009 9:42 PM

  • Matching and Merging Qualified fields

    Hi,
    I want to match and merge fields in a qualified table.
    Eg: Have to match the Street, City(Yes Qualifier) in the Qualified table Address.
    Have created the transformation, rule and startegy on these fields.
    When I execute the strategy, i'm able to see the scores and class.
    But in the "Merge" tab only fields of Main table are visible. I'm not able to see the required Address table fields and hence not able to make the decision on which field should be merged.
    How do i execute this scenario?

    Hi ketan,
      Basically you can perform matching and merging only on Main table and not on qualified tables; and if you have to match any qualified lookup field in the main table then it should be an qualifier field(i.e. the qualified option should be YES),
      And while matching the records of a qualifier field when the values matches it shows only the display fields of the qualified table not the qualifier fields as already they have the same value you don't require them again.
      I couldn't understand the structure you gave above, but i will take this example
    Qualified table(Price)
           field_Name          Displayfiled       Qualifiedfield
             Price                      Yes                 No
             Quantity                 Yes                  No
             Currency               No                     YES
    Main table(Products)
              field_Name         Type            
              Product               Text
               Price                Look-up(Price)
    now the values in main table
       Product          Price
      cream            05 | 10 | Rs
      Cloth             10 | 05 | $
      Pen               20 | 02 | Rs
      Pencil            02 | 02 | Rs
    now you write a rule using the price lookup qualifier field.
    it will show  cream , pen and pencil as matching.
    you can now merge as
    ___________       cream                 Pen         Pencil
    ___________        05 | 10               20 | 02      02 | 02 
    now you can select the product any one of those there and price any one of those three but as the currency qualifier field is same for all; its not displayed nor is it showed over here.
    If the scenario is different form this which you require; please let me know, but the common scenario is the same.
    Regards,
    CHARAN

  • Replaced zd8000 motherboard and need some troubleshooting help please............

    Hello All,
     I just replaced the motherboard on our HP zd8000 (pentium 4, 3.0ghz, 2gb ram, Win XP) with a used but tested good MB and need some help with the following.
    1) I now cannot play DVD movies as the error no "dvd decoder" present which was not an issue before?  Where can I go to get a free decoder that will work, as Windows only shows paid versions?  We have the dvd burner/reader with lightscribe. SOLVED! CNET HAD DECODER.
    2) The internal temperature, according to SpeedFan, is running around 140 degrees with just some Internet browsing.  Is that a normal temperature because I only have one of three fans running on the laptop?  Is there anyway of making all three fans run to be sure there are no issues?  I am positive I hooked up everything but again only one fan seems to be running?
    3) I discovered some of the pins were damaged in the card reader.  I may get the Seller to give me a discount, no intention of tearing it apart simply for that, but is there any concern of short or otherwise?
    4) Our battery stopped charging years ago, these were notorious for such, but I purchased a new one last year and hoped the replacement MB would allow charging again.  No such luck though.  Is there anything I can do, BIOS update etc, to make the battery charge?
    5) Anything you folks can think of for me to test to insure the new motherboard is working properly?
    Thanks, Ralph 
    P.S. This was a correct replacement board according to MB serial numbers.  Everything else seems to be functioning properly other than mentioned.  Our graphics went out on the original MB.
    This question was solved.
    View Solution.

    Some of the wires had pushed out of the harness that connected the other two fans.  I double checked and re-attached those so now the laptop is running quite a bit cooler.
    EVERYTHING IS GOOD TO GO!

  • My ipod is majorly screwed up and i need some serious help

    k well lets see
    error states 'can't mount ipod'
    so i tried checking all the wires, restoring the ipod (which didnt work because it couldnt find it) and i scanned all my files for viruses.
    my ipod also makes funny clicking noises when i dont even touch it...
    im just a kid guys.. i need some serious ipod whizz to help me out.. im desperate! ive tried everything

    Hi,
    Firstly please try to deal with "can't mount iPod" issue
    http://docs.info.apple.com/article.html?artnum=93499

  • Need some assistance in binary streaming and reading

    Hi,
    altough I studied the examples delivered with LabView (my current version is 6i) I have some challenges to face and I hope someone could help me. This challenges
    may be simple for professionals but I'm not already that experienced. I have an one channel AI input via a DAQ-card (E-series) and I want to write it to a binary file with only the really necessary headers. The data then stored in the binary shall than be displayed after user request to a graph and my client wants to have the possibility to srcoll through the hole stored data to seek some charakteristiks and then mark the area of interest with cursor to move this area to another graph for further analysis. My program is structured in a way that in a whi
    le loop I wait for user interaction i.e. buttons for saving and displaying data. It's for that, that I think I have to split the binary streaming in a sub-Vi that makes the needed preparation and another sub-Vi assosiated to the first that makes the file writuing and thats placed within the loop described above. Maybe I'm with my thoughts on the woodway and someone has better ideas. I tried many things but the result were always frustrating. I would be glad someone could give me some hints based on experience, and not just saying "Look to the delivered examples" as I already read in questions from other users. Thanks for your support.
    Chris

    I think you're going at this in a good way. One issue I see is that you are using version 6i and waiting for user input. Since Event Structures were not available in 6i, you will have to poll for user input and that could make your application slower. An upgrade to 6.1 would help you there.
    Besides that, I like your ideas. If you're sticking with 6i, use a case structure inside your while loop which executes a particular case based upon which button the user pressed. Then, in these cases, call the subVIs which you built. I hope this helps out.
    J.R. Allen

  • Remember me.....well i need some real help now....:)

    Hello guys,i hope that u remember me...if not i hope that u ll help me anyway....
    well,i had an assignment for my university...i posted it and u told to start reading several books and try to write some code....
    i came up with the following code:
    import java.util.Random;
    import java.util.*;
    import java.text.DateFormat;
    class Account {
         double initbal;
         double deposit;
         double withdraw;
    //Account constructor
    Account() {
         initbal=0;
         deposit=0;
         withdraw=0;
    //method for calculating the balance
    double balance() {
         return (initbal+deposit)-withdraw;
    class BankAccount {     
         double initbal;
         private double deposit;
         private double withdraw;
         public static void main(String args[]) {
         Account Dimitris=new Account();               //call the constructor
         CurrentAccount Over=new CurrentAccount();
    try {     //exception added for fault parameters
         Dimitris.initbal=Double.parseDouble(args[0]);     //string parsing into a double
         Dimitris.deposit=Double.parseDouble(args[1]);     //string parsing into a double
         Dimitris.withdraw=Double.parseDouble(args[2]);     //string parsing into a double
         } catch (ArrayIndexOutOfBoundsException e) {
              System.out.println("You must enter three values!!");
         } catch (NumberFormatException e) {
              System.out.println("Only numbers are allowed!!");
         double AvlOvr;
         double bal;
         bal=Dimitris.balance();          //method called
         System.out.println("Initial balance is: "+Dimitris.initbal);
         System.out.println("Deposit Amount is: "+Dimitris.deposit);
         System.out.println("Withdraw amount is: "+Dimitris.withdraw);
         System.out.println("Overdraft limit is: "+Over.AvlOvr);
    if (withdraw>(initbal+deposit)) {
         System.out.println("Insufficient Funds");
    else
         System.out.println("Balance is: "+bal);
         System.out.println("Available Funds is: "+(bal+Over.AvlOvr));
         //display the date and time for the current locale     
         Date date=new Date();
         DateFormat dateFormatter=DateFormat.getDateTimeInstance(DateFormat.SHORT,DateFormat.SHORT);
         System.out.println(dateFormatter.format(date));
    class CurrentAccount extends BankAccount {
    private float accId;
    double AvlOvr;
    CurrentAccount() {
    double ovdr;
    ovdr=100;
    AvlOvr=ovdr;
    interface Personal {
    void Deposit ();
    void Withdraw ();
    the thing is that i need some help cause i cant find some sollutions....
    i d like to give to the user a random id....
    then at the CurrentAccount subclass i d like to add a Username to the user.Then Level 2 worries me as well.....I ll post u my assignment so u can have a look....If u could help me with Level 2 sollution and the thing that i told u before i d be grateful.......
    by the way..i hope that u all guys have nice holidays!!!
    Here is the assignment:
    JAVA LAB ASSIGNMENT � B241
    Bank Account
    Level 1
    Create a bank account that reads in the following information about a single customer
    account:
    Initial balance
    Deposit amount
    Withdraw amount
    Current Date
    Give the account holder a random account id number.
    Display error messages if the number of parameters is incorrect or negative parameters are
    entered.
    Verify that the amount being withdrawn is available (i.e. make sure that the initial balance +
    deposit amount is greater than or equal to the amount being withdrawn).
    Calculate the balance amount in the account after the transaction has been completed.
    Tasks:
    - Create a BankAccount class, which defines a bank account
    - Use command line arguments to read in the account information
    - The customer account values are private and accessible only through the
    BankAccount class
    - Use the file, InsufficientFundsException.java given to you (Location:
    /global_ro/rekha/B241/assignment) to create an Exception class called
    InsufficientFundsException.class that throws an exception if an
    InsufficientFundsException occurs in your BankAccount class. Make the necessary
    changes to the file if you feel the need to do so.
    - Print out the following information:
    2
    account holder�s id
    balance amount
    amount being withdrawn
    the current date and time
    (Hint: this will occur when the amount withdrawn is more than the total amount in the
    account. Your withdraw method throws the InsufficientFundsException exception which
    should be caught in your main program from where you are calling the withdraw method).
    Subclass the BankAccount class for the specifics of a CurrentAccount class that adds an
    additional field to the already existing information:
    User name
    The account balance and account id values should still be private and now accessible only
    through the CurrentAccount subclass.
    Allow the CurrentAccount class to provide overdraft protection of up to �100.
    Task:
    - Incorporate the additional functionalities into your initial program and print out the
    values as before.
    ********************************END OF LEVEL 1 **************************
    Level 2
    Add the following functionalities to your Level 1 program.
    Define an interface named Personal, consisting of two methods:
    Deposit
    Withdraw
    Read in the account information specified in Level 1 for more than one user through the
    command line parameters and display appropriate error messages as before.
    Calculate the balance amount in each account after the transaction has been completed.
    Tasks:
    - Increment the account id each time a customer is added (For instance, if the first
    customer id is 100, the next id should be 101 and so on).
    - Implement the Personal interface in the BankAccount class.
    - Print out the customer information for all customers as you did in Level 1.
    *****************************END OF LEVEL 2*****************************
    Level 3
    Extend the above features to add some more personal information about the customer such
    as:
    a. Name: surname first name
    b. Date of birth: day/month/year
    c. Address: street
    Town
    Postcode
    d. Phone: home number work number
    e. E-mail: e-mail address
    Customer�s data is stored in a file. It is retrieved from the file when the bank is opened and
    stored in a memory buffer. The memory buffer is updated after every transaction. The
    contents of the memory buffer are written into the file when the bank is closed.
    Design a data management structure of the bank with several customers. The bank performs
    �deposit� and �withdraw� transactions by using Java I/O streams.
    Use the SimpleClient.java and SimpleServer.java files (Location:
    /global_ro/rekha/B241/assignment) as a base for creating your own Client and Server
    windows. Make the necessary changes to the files for them to work within your programs.
    Tasks:
    - Create a non-graphical user interface to be able to
    o enter customer�s data
    o display customer�s personal and account data after every transaction
    - Write a JAVA program to read and write customers data from/to a file.
    - Create a client � server networking environment using Java�s networking capabilities
    such that data is entered through the server window and displayed by the client in the
    client window.

    Ela re si k eimaste k sinonomatoi...anyway...could you pleaze help me with my assignment...my other problem is that i've writen some more code for the 3rd part where it says add some more fields for the customers.I save them in a file and i restore them but i dont know how can i call them when the bank is opened....here's the rest of the code....
    import java.io.*;
    public class UserInfo {
    public static void main(String[] args)
    throws IOException {
         String k,l,m,n,o,p,q,r;
    BufferedReader stdin = new BufferedReader(
    new InputStreamReader(System.in));
    System.out.print("First name:");
         k=stdin.readLine();
         System.out.print("Last name:");
         l=stdin.readLine();
         System.out.print("D.O.B:");
         m=stdin.readLine();
         System.out.print("Address:");
         n=stdin.readLine();
         System.out.print("Town:");
         o=stdin.readLine();
         System.out.print("Postcode:");
         p=stdin.readLine();
         System.out.print("Phone:");
         q=stdin.readLine();
         System.out.print("E-Mail:");
         r=stdin.readLine();
         try {
    DataOutputStream out = new DataOutputStream(
    new BufferedOutputStream(
    new FileOutputStream("Data.txt")));
         out.writeUTF(k);
         out.writeUTF(l);
         out.writeUTF(m);
         out.writeUTF(n);
         out.writeUTF(o);
         out.writeUTF(p);
         out.writeUTF(q);
         out.writeUTF(r);
         out.close();
         DataInputStream in = new DataInputStream(
    new BufferedInputStream(
    new FileInputStream("Data.txt")));
         System.out.println(in.readUTF());
    System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         System.out.println(in.readUTF());
         } catch (NumberFormatException e) {
         System.out.println(e);
    }

Maybe you are looking for