Skip to content

superhindupur/eclipse-collections-kata

 
 

Repository files navigation

Eclipse Collections Kata

A kata is an exercise in martial arts. A code kata is an exercise in programming which helps hone your skills through practice and repetition. The Eclipse Collections Kata is a fun way to help you learn idiomatic Eclipse Collections usage. This particular kata is set up as a series of unit tests which fail. Your task is to make them pass, using Eclipse Collections.

Initialize Kata

Clone this repo or simply download and extract the master zip file, then follow the instructions below for your IDE/platform.

Eclipse users

Initialize Eclipse project with the command below.

Mac/Linux/Unix:
./gradlew eclipse
Windows:
gradlew.bat eclipse

Once the project is initialized, you can import the project from "Import" => "General" => "Existing Projects into Workspace". Select "eclipse-collections-kata" directory as root directory, make sure to choose "Search for nested projects" option and finish.

IntelliJ IDEA users

Initialize IntelliJ IDEA project with the command below.

Mac/Linux/Unix:
./gradlew idea
Windows:
gradlew.bat idea

Once the project is initialized, you can open the project from "File" => "Open..." => choose "eclipse-collections-kata" folder. You might see a dialog to suggest importing Gradle project, it's up to you to do so if you'd like to invoke gradle builds from IDEA. Kata can run in IDEA even if you don't import Gradle project.

NetBeans users

We haven't come up with an instruction for NetBeans yet. We welcome contributions from NetBeans users to add guidance here!

Work on Kata exercises

There are two separate katas under different directories (Company Kata and Pet Kata).

company-kata/src/tests
pet-kata/src/tests

You can refer to slides for the Company Kata and the Pet Kata to learn the concepts of each exercise.

Check out the solution branch for your reference.

Enjoy happy learning with Eclipse Collections Kata!

About

Collections Kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%