|
Evaluating Software Design Patterns — the "Gang of Four" patterns implemented in Java 6 |
||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Character | |
---|---|
dk.rode.thesis.chainofresponsibility | Implementations and examples of the Chain of Responsibility design pattern [Gamma95, p.223]. |
dk.rode.thesis.flyweight | Implementations and examples of the Flyweight design pattern [Gamma95, p.195]. |
Uses of Character in dk.rode.thesis.chainofresponsibility |
---|
Methods in dk.rode.thesis.chainofresponsibility that return types with arguments of type Character | |
---|---|
Handler<Character> |
CharacterHandler.handle(Character character,
HandlerLink<Character> link)
Implements the semantics required for chaining character handlers so sub-classes do not have to. |
Methods in dk.rode.thesis.chainofresponsibility with parameters of type Character | |
---|---|
protected boolean |
WhitespaceHandler.handle(Character character)
|
protected boolean |
SymbolHandler.handle(Character character)
|
protected boolean |
LetterHandler.handle(Character character)
|
protected boolean |
LetterCaseHandler.handle(Character character)
|
protected abstract boolean |
CharacterHandler.handle(Character character)
Returns true if this handler can and have handled character , false if not. |
Handler<Character> |
CharacterHandler.handle(Character character,
HandlerLink<Character> link)
Implements the semantics required for chaining character handlers so sub-classes do not have to. |
Method parameters in dk.rode.thesis.chainofresponsibility with type arguments of type Character | |
---|---|
Handler<Character> |
CharacterHandler.handle(Character character,
HandlerLink<Character> link)
Implements the semantics required for chaining character handlers so sub-classes do not have to. |
void |
CharacterHandler.register(HandlerChain<Character> chain)
Registers this character handler to the handler chain supplied as chain . |
Constructor parameters in dk.rode.thesis.chainofresponsibility with type arguments of type Character | |
---|---|
CharacterHandler(HandlerChain<Character> chain)
Constructor, which registers this character handler to the end of the handler chain supplied as chain . |
|
LetterCaseHandler(HandlerChain<Character> chain,
boolean upperCase)
Constructor, which registers this letter handler to the handler chain supplied as chain . |
|
LetterHandler(HandlerChain<Character> chain)
Constructor, which registers this letter handler to the handler chain supplied as chain . |
|
SymbolHandler(HandlerChain<Character> chain)
Constructor, which registers this symbol handler to the handler chain supplied as chain . |
|
WhitespaceHandler(HandlerChain<Character> chain)
Constructor, which registers this symbol handler to the handler chain supplied as chain . |
Uses of Character in dk.rode.thesis.flyweight |
---|
Classes in dk.rode.thesis.flyweight that implement Character | |
---|---|
class |
AbstractCharacter
An abstract character implements the basic traits of the Character interface. |
class |
Letter
A letter represents a single letter that is not a whitespace or contain
symbolic characters. |
class |
Symbol
A symbol represents a single symbol that is not a whitespace or a letter . |
class |
Whitespace
A whitespace represents a single white space character. |
Fields in dk.rode.thesis.flyweight with type parameters of type Character | |
---|---|
private Map<String,Character> |
CharacterFactory.characters
The set of created characters so far. |
Methods in dk.rode.thesis.flyweight with type parameters of type Character | ||
---|---|---|
|
CharacterFactory.count(Class<C> type)
Returns the number of instances created by this factory of the specific Character type
supplied as type . |
|
|
CharacterFactory.getCharacters(Class<C> type)
Returns the created characters of the type supplied as type , if ant. |
Methods in dk.rode.thesis.flyweight that return Character | |
---|---|
protected Character |
CharacterFactory.create(String character)
Factory method that creates a Character based on
the character string supplied as character . |
Character |
CharacterFactory.getCharacter(char character)
Returns the unique Character instance representing
the char value supplied as character . |
Character |
CharacterFactory.getCharacter(CharSequence character,
int index)
Returns the unique Character instance representing
the char value at index index in character . |
Character |
CharacterFactory.getCharacter(String character)
Returns the unique Character instance representing
the value supplied as character . |
Methods in dk.rode.thesis.flyweight that return types with arguments of type Character | |
---|---|
Collection<Character> |
CharacterFactory.getCharacters()
Returns a read-only collection of the characters created by this factory. |
StringablePolicy<? super Character> |
AbstractCharacter.getStringablePolicy(StringablePolicy<? super Character> policy)
|
Iterator<Character> |
Word.iterator()
|
Methods in dk.rode.thesis.flyweight with parameters of type Character | |
---|---|
int |
Whitespace.compareTo(Character character)
|
int |
Symbol.compareTo(Character character)
|
int |
Letter.compareTo(Character character)
|
CharSequence |
CharacterPolicy.toString(Character character)
|
Method parameters in dk.rode.thesis.flyweight with type arguments of type Character | |
---|---|
StringablePolicy<? super Character> |
AbstractCharacter.getStringablePolicy(StringablePolicy<? super Character> policy)
|
private Word |
CharacterFactory.getWord(List<Character> word)
Possibly creates and returns the Word corresponding to
the characters supplied as word . |
CharSequence |
AbstractCharacter.toString(StringablePolicy<? super Character> policy)
|
Constructors in dk.rode.thesis.flyweight with parameters of type Character | |
---|---|
Word(Character[] characters)
Constructor, which creates this word to be comprised of the characters in characters . |
|
Gunni Rode / rode.dk | ||||||||
PREV NEXT | FRAMES NO FRAMES |