|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Word | |
---|---|
dk.rode.thesis.flyweight | Implementations and examples of the Flyweight design pattern [Gamma95, p.195]. |
Uses of Word in dk.rode.thesis.flyweight |
---|
Fields in dk.rode.thesis.flyweight with type parameters of type Word | |
---|---|
private Map<Word,Word> |
CharacterFactory.words
The set of created words so far. |
private Map<Word,Word> |
CharacterFactory.words
The set of created words so far. |
Methods in dk.rode.thesis.flyweight that return Word | |
---|---|
Word |
Word.copy()
|
private Word |
CharacterFactory.getWord(List<Character> word)
Possibly creates and returns the Word corresponding to
the characters supplied as word . |
Word |
CharacterFactory.getWord(String word)
Returns a Word instance parsed from the letters in string. |
Methods in dk.rode.thesis.flyweight that return types with arguments of type Word | |
---|---|
Collection<Word> |
CharacterFactory.getWords()
Returns a read-only collection of the words created by this factory. |
Iterator<Word> |
Sentence.iterator()
|
Methods in dk.rode.thesis.flyweight with parameters of type Word | |
---|---|
int |
Word.compareTo(Word word)
|
Constructors in dk.rode.thesis.flyweight with parameters of type Word | |
---|---|
Sentence(Word[] words)
Constructor, which creates this sentence to be comprised of the words in words . |
|
Word(Word word)
Copy constructor. |
|
Gunni Rode / rode.dk | ||||||||
PREV NEXT | FRAMES NO FRAMES |