Index
All Classes and Interfaces|All Packages
C
- com.stbasarab - package com.stbasarab
- com.stbasarab.componets - package com.stbasarab.componets
E
- equals(Object) - Method in class com.stbasarab.componets.PunctuationMark
-
Compares this punctuation mark to another object for equality.
- equals(Object) - Method in class com.stbasarab.componets.SentenceElement
-
Compares this sentence element to another object for equality.
- equals(Object) - Method in class com.stbasarab.componets.Word
-
Compares this word to another object for equality.
F
- findUniqueWordInFirstSentence(Text) - Static method in class com.stbasarab.Main
-
Finds the first unique word in the first sentence of the given text.
G
- getCharacter() - Method in class com.stbasarab.componets.Letter
-
Retrieves the character of the letter.
- getElements() - Method in class com.stbasarab.componets.Sentence
-
Retrieves the elements of the sentence.
- getSentences() - Method in class com.stbasarab.componets.Text
-
Retrieves the sentences of the text.
- getWord() - Method in class com.stbasarab.componets.SentenceElement
-
Retrieves the word component of this sentence element.
H
- hashCode() - Method in class com.stbasarab.componets.PunctuationMark
-
Returns a hash code value for the punctuation mark.
- hashCode() - Method in class com.stbasarab.componets.SentenceElement
-
Returns a hash code value for the sentence element.
- hashCode() - Method in class com.stbasarab.componets.Word
-
Returns a hash code value for the word.
I
- isWord() - Method in class com.stbasarab.componets.SentenceElement
-
Checks if this sentence element is a word.
L
- Letter - Class in com.stbasarab.componets
-
Represents a single letter.
- Letter(char) - Constructor for class com.stbasarab.componets.Letter
-
Constructs a Letter object.
M
- main(String[]) - Static method in class com.stbasarab.Main
-
The entry point of the application.
- Main - Class in com.stbasarab
-
The main class that handles the execution of the program.
- Main() - Constructor for class com.stbasarab.Main
P
- PunctuationMark - Class in com.stbasarab.componets
-
Represents a punctuation mark as a single character.
- PunctuationMark(char) - Constructor for class com.stbasarab.componets.PunctuationMark
-
Constructs a PunctuationMark object from a given character.
S
- Sentence - Class in com.stbasarab.componets
-
Represents a sentence composed of various elements, including words and punctuation marks.
- Sentence(String) - Constructor for class com.stbasarab.componets.Sentence
-
Constructs a Sentence object from a given string.
- SentenceElement - Class in com.stbasarab.componets
-
Represents an element of a sentence, which can be either a word or a punctuation mark.
- SentenceElement(PunctuationMark) - Constructor for class com.stbasarab.componets.SentenceElement
-
Constructs a SentenceElement object with a punctuation mark.
- SentenceElement(Word) - Constructor for class com.stbasarab.componets.SentenceElement
-
Constructs a SentenceElement object with a word.
T
- Text - Class in com.stbasarab.componets
-
Represents a collection of sentences derived from a given text.
- Text(String) - Constructor for class com.stbasarab.componets.Text
-
Constructs a Text object from a given string.
- toString() - Method in class com.stbasarab.componets.Word
-
Returns the string representation of the word.
W
- Word - Class in com.stbasarab.componets
-
Represents a word as an array of letters.
- Word(String) - Constructor for class com.stbasarab.componets.Word
-
Constructs a Word object from a given string.
All Classes and Interfaces|All Packages