edu.neu.ccs.demeterf.examples
Class NewUpdate
java.lang.Object
edu.neu.ccs.demeterf.examples.NewUpdate
public class NewUpdate
- extends java.lang.Object
Example of the new Augmentor (update) protocol. Classes with fields contain
inner (public) classes that share the field names. DemeterF will try to create
an instance of this inner field class and find an update method with an
applicable signature, before traversing that field.
Here we show Huffman tree paths, encoded as the string from root to each
leaf. On the way down the tree, we add the next path portion to the traversal
argument (String). At the leafs we return a list of the data/path as a string.
Method Summary |
static void |
main(java.lang.String[] s)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewUpdate
public NewUpdate()
main
public static void main(java.lang.String[] s)