Search:

Type: Posts; User: tato1993

Search: Search took 0.10 seconds.

  1. Re: Taking info from a text file, sorting it, save into class arrays and reprinting into new txt file

    so ive looked around the web for a way to check the string line and i got

    while(input.hasNextLine())
    {
    fillEmailsHashSet(line, hs);
    if(input.contains("art"))...
  2. Re: Taking info from a text file, sorting it, save into class arrays and reprinting into new txt file

    By sort i do mean jus puting the info in the appropriate arrays and yes the code for it to print out is

    for (String string : hs) {
    System.out.println(string);

    i had taken it out...
  3. Re: Taking info from a text file, sorting it, save into class arrays and reprinting into new txt file

    taking user input isnt a problem i jus have gotten around to it yet, i was more concerned with sorting info

    here is the Email class

    public class Email {

    public String username;
    public...
  4. Taking info from a text file, sorting it, save into class arrays and reprinting into new txt file

    I'm supposed to write a program in Java . I'm given a text file containing

    I am Hakan. My email address is hakan@cs.uh.edu, and what is your name? Hi my name is Tarikul and my favorite email...
Results 1 to 4 of 4