From 0a05da12bb4c1c7a7bff9fad6bf6d852bbe625b0 Mon Sep 17 00:00:00 2001 From: Jonathan Turner Date: Sat, 3 Feb 2024 11:52:31 -0500 Subject: [PATCH] Added missing javadocs. --- src/Assignments/A1/models/Board.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Assignments/A1/models/Board.java b/src/Assignments/A1/models/Board.java index 51114a3..a5bb737 100644 --- a/src/Assignments/A1/models/Board.java +++ b/src/Assignments/A1/models/Board.java @@ -130,8 +130,12 @@ public class Board { } /** + * Hashes the board by adding the pieces to an array and hashes the array. * - * @return + * @precondition none + * @postcondition none + * + * @return the hash of the board. */ @Override public int hashCode() {