EMMA Coverage Report (generated Thu Jan 05 16:24:01 PST 2012)
[all classes][net.digitaltsunami.word.trie.event]

COVERAGE SUMMARY FOR SOURCE FILE [NodeAddedEvent.java]

nameclass, %method, %block, %line, %
NodeAddedEvent.java100% (1/1)100% (2/2)100% (8/8)100% (3/3)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class NodeAddedEvent100% (1/1)100% (2/2)100% (8/8)100% (3/3)
NodeAddedEvent (CharTrieNode): void 100% (1/1)100% (4/4)100% (2/2)
getNode (): CharTrieNode 100% (1/1)100% (4/4)100% (1/1)

1package net.digitaltsunami.word.trie.event;
2 
3import java.util.EventObject;
4 
5import net.digitaltsunami.word.trie.CharTrieNode;
6 
7/**
8 * Event dispatched when a non-terminus node or character is added.
9 * 
10 * @author dhagberg
11 */
12public class NodeAddedEvent extends EventObject {
13 
14    private static final long serialVersionUID = 1091049728144325287L;
15 
16    /**
17     * Create a new event and store the source for which the event will be
18     * dispatched.
19     * 
20     * @param source
21     *            causing event to be created.
22     */
23    public NodeAddedEvent(CharTrieNode source) {
24        super(source);
25    }
26 
27    /**
28     * Return the node that caused the event to be dispatched.
29     * 
30     * @return source that caused event to be dispatched.
31     */
32    public CharTrieNode getNode() {
33        return (CharTrieNode) getSource();
34    }
35}

[all classes][net.digitaltsunami.word.trie.event]
EMMA 2.1.5320 (stable) (C) Vladimir Roubtsov