Evaluating Software Design Patterns
— the "Gang of Four" patterns implemented in Java 6

Uses of Class
dk.rode.thesis.flyweight.Word

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

Feel free to use and/or modify the Java 6 source code developed for this thesis AT YOUR OWN RISK, but note that the source code comes WITHOUT ANY — and I do mean WITHOUT ANY — form of warranty WHAT SO EVER!

The original thesis and source code are available at rode.dk/thesis.