Package org.drip.spaces.big
Class AnagramMapSet
java.lang.Object
org.drip.spaces.big.AnagramMapSet
public class AnagramMapSet
extends java.lang.Object
AnagramMapSet makes a Set of all the Anagram Groups in the Word Group. It provides the following
Functionality:
- Construct an AnagramMapSet Instance from the specified Sentence
- Empty AnagramMapSet Constructor
- Update the Anagram Map Set One Word at a Time
- Return the Map of Anagrams
Module | Computational Core Module |
Library | Statistical Learning Library |
Project | R1 and Rd Vector/Tensor Spaces (Validated and/or Normed), and Function Classes |
Package | Big-data In-place Manipulator |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description AnagramMapSet()
Empty AnagramMapSet Constructor -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.Set<java.lang.String>>
anagramMap()
Return the Map of Anagramsstatic AnagramMapSet
FromSentence(java.lang.String sentence)
Construct an AnagramMapSet Instance from the specified Sentenceboolean
update(java.lang.String word)
Update the Anagram Map Set One Word at a TimeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AnagramMapSet
public AnagramMapSet()Empty AnagramMapSet Constructor
-
-
Method Details
-
FromSentence
Construct an AnagramMapSet Instance from the specified Sentence- Parameters:
sentence
- The Sentence- Returns:
- The AnagramMapSet Instance
-
update
public boolean update(java.lang.String word)Update the Anagram Map Set One Word at a Time- Parameters:
word
- The Word to Update- Returns:
- TRUE - Update Successful
-
anagramMap
public java.util.Map<java.lang.String,java.util.Set<java.lang.String>> anagramMap()Return the Map of Anagrams- Returns:
- The Map of Anagrams
-