diff --git a/src/main/java/fish_variety/Fish.java b/src/main/java/fish_variety/Fish.java index 45c5dcc..570e13c 100644 --- a/src/main/java/fish_variety/Fish.java +++ b/src/main/java/fish_variety/Fish.java @@ -1,8 +1,8 @@ +package fish_variety; + /** * The Fish class represents a type of fish with a name and price. */ -package fish_variety; - public class Fish { private String name; diff --git a/src/main/java/fish_variety/FishCalculator.java b/src/main/java/fish_variety/FishCalculator.java index a4159a5..fedb3fe 100644 --- a/src/main/java/fish_variety/FishCalculator.java +++ b/src/main/java/fish_variety/FishCalculator.java @@ -1,10 +1,10 @@ -/** -* The FishCalculator class calculates the most compatible fish types that can be bought within a given price range. -*/ package fish_variety; import java.util.ArrayList; +/** +* The FishCalculator class calculates the most compatible fish types that can be bought within a given price range. +*/ public class FishCalculator { /** diff --git a/src/main/java/fish_variety/FishCollection.java b/src/main/java/fish_variety/FishCollection.java index c012aea..f845c59 100644 --- a/src/main/java/fish_variety/FishCollection.java +++ b/src/main/java/fish_variety/FishCollection.java @@ -1,10 +1,10 @@ -/** -* Represents a collection of fishes with constraints. -*/ package fish_variety; import java.util.ArrayList; +/** +* Represents a collection of fishes with constraints. +*/ public class FishCollection { private ArrayList fishes = new ArrayList(); private FishConstraints constraints; diff --git a/src/main/java/fish_variety/FishConstraints.java b/src/main/java/fish_variety/FishConstraints.java index f3ab3b6..af9f657 100644 --- a/src/main/java/fish_variety/FishConstraints.java +++ b/src/main/java/fish_variety/FishConstraints.java @@ -1,11 +1,11 @@ -/** -* The FishConstraints class represents constraints between different types of fish. -*/ package fish_variety; import java.util.ArrayList; import java.util.Arrays; +/** +* The FishConstraints class represents constraints between different types of fish. +*/ public class FishConstraints { private ArrayList constraints = new ArrayList(); private ArrayList fishes; diff --git a/src/main/java/fish_variety/FishPair.java b/src/main/java/fish_variety/FishPair.java index 724f7ed..5c79fc5 100644 --- a/src/main/java/fish_variety/FishPair.java +++ b/src/main/java/fish_variety/FishPair.java @@ -1,8 +1,8 @@ +package fish_variety; + /** * Represents a pair of fish. */ -package fish_variety; - public class FishPair { private Fish first; private Fish second;