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

dk.rode.thesis.flyweight
Interface Character

All Superinterfaces:
CharSequence, Comparable<Character>, Stringable<Character>, Textual<Character>
All Known Implementing Classes:
AbstractCharacter, Letter, Symbol, Whitespace

@Participant(value="Flyweight")
public interface Character
extends Textual<Character>, Stringable<Character>

A character represents a letter, symbol, or whitespace in a Word.

The actual value of a Character is its toString() representation.

Characters are created using a CharacterFactory instance.

Author:
Gunni Rode / rode.dk

Method Summary
 
Methods inherited from interface dk.rode.thesis.flyweight.Textual
indexOfIgnoreCase, lowerCaseFirst, upperCaseFirst
 
Methods inherited from interface java.lang.CharSequence
charAt, length, subSequence, toString
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface dk.rode.thesis.strategy.Stringable
getStringablePolicy, toString
 


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.