view examples/helloworld/TestEntry.java @ 25:c3e40ba8250a

Restore SearchStat to retain backward compatibility with older Blitz's particularly for Dashboard.
author Dan Creswell <dan.creswell@gmail.com>
date Fri, 28 Aug 2009 21:01:53 +0100
parents 3dc0c5604566
children
line wrap: on
line source

package helloworld;

import net.jini.core.entry.Entry;

/**
   Anything you wish to write to a JavaSpace must implement Entry.
   Only fields which are declared public will be stored and these fields
   should not be primitives such as int or long.  See the Entry specification
   for full details.
 */
public class TestEntry implements Entry {
    public String theValue;

    public TestEntry() {
    }

    public TestEntry(String aValue) {
        theValue = aValue;
    }

    public String toString() {
        return "TestEntry: " + theValue;
    }
}