Package com.stbasarab.componets
Class Word
java.lang.Object
com.stbasarab.componets.Word
Represents a word as an array of letters.
This class provides methods to compare words and convert them to a string.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Word
Constructs a Word object from a given string.- Parameters:
word- the string representation of the word
-
-
Method Details
-
equals
Compares this word to another object for equality. Two words are considered equal if their string representations are the same, ignoring case. -
hashCode
-
toString
-