Đang Thực Hiện

Creating File Sorter Using Java

Below are the instructions for the Java exercise. Please email back the [url removed, login to view] file once you have completed the exercise.

Write a class called FileSorter which will read one or more text files and merge their contents, storing them in a collection of strings, one string per line, omitting blank lines. The class should provide an iterator over the strings in the collection in alphabetical order.

Here is a skeleton implementation:

public class FileSorter implements Iterable<String>

{

public void readFiles (String[] filePaths) throws IOException {

// TODO

}

public Iterator<String> iterator() {

// TODO

}

}

You can use any classes in the JDK 1.8 standard library. Pay attention to considerations such as error handling, thread safety, memory usage, performance, and code clarity and maintainability.

Kỹ năng: Java

Xem thêm: how to sort a text file alphabetically in java, how to sort data in text file in java, java sort large text file, java sort files by name, java read text file and sort, java sort file contents alphabetically, c program to sort contents of a file, how do i sort records in a text file using java, peer peer file sharing using java, display binary file content using java swing, send text file mobile using java, time taken send file destination using java code, download file ftp using java swing, import excel file mysql using java, pgp file encryption using java

Về Bên Thuê:
( 1 nhận xét ) Dallas, United States

Mã Dự Án: #14916395

Đã trao cho:

kahilH

Hello, i would like to do the exercice , please message me for more discussion Relevant Skills and Experience i am a developer , feel free to check my freelancer account Proposed Milestones $20 USD - full Thank you Thêm

$20 USD trong 1 ngày
(5 Đánh Giá)
3.2

12 freelancer đang chào giá trung bình $32 cho công việc này

NovaSofts

Hello Sir/Ma’am We have been working on Freelancer for 2 years & providing the best services to our [url removed, login to view] can see our profile for checking [url removed, login to view] can provide perfect Quality work. thanks Relevant Skills an Thêm

$30 USD trong 1 ngày
(120 Đánh Giá)
6.5
asadrana91

Allow me to help? If you require quality and don't have much issues with the cost of it. Work would be commendable and provided in the required time! Relevant Skills and Experience Java Proposed Milestones $133 USD - Thêm

$133 USD trong 3 ngày
(76 Đánh Giá)
6.3
mahershahmeer

Hi there! I will deliver the Code in just 1-2 Hours. I will start writing it right now. Let me know if you are interested. Thanks Relevant Skills and Experience Java, DataStructure Proposed Milestones $25 USD - Fil Thêm

$25 USD trong 1 ngày
(100 Đánh Giá)
5.7
$30 USD trong 1 ngày
(15 Đánh Giá)
5.7
$25 USD trong 1 ngày
(3 Đánh Giá)
4.7
$10 USD trong 1 ngày
(28 Đánh Giá)
4.4
microservices

Please award us the project Relevant Skills and Experience more than 5 years in java Proposed Milestones $15 USD - final

$15 USD trong 1 ngày
(17 Đánh Giá)
3.8
meetravig

I read and understood requirements. I have got over 10 years of experience in Java. Let us connect and discuss the scope in detail. Relevant Skills and Experience Java Proposed Milestones $15 USD - Initial Payment $1 Thêm

$30 USD trong 1 ngày
(3 Đánh Giá)
1.4
$22 USD trong 1 ngày
(0 Đánh Giá)
0.0
$10 USD trong 1 ngày
(0 Đánh Giá)
0.0
MaryumAkhter1

I love to work in android applications recently worked on a mental health project in android and have a work experience of 1.5-2 years in this field, will love to work with you. Thank You Relevant Skills and Experienc Thêm

$30 USD trong 1 ngày
(0 Đánh Giá)
0.0