KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > cache > loader > jdbm > Null


1 package org.jboss.cache.loader.jdbm;
2
3 /**
4  * Special FQN entry to indicate null.
5  */

6 class Null implements java.io.Serializable JavaDoc {
7
8    private static final long serialVersionUID = -1337133713374690630L;
9
10    static final Object JavaDoc NULL = new Null();
11
12    private Null() {}
13
14    public String JavaDoc toString() {
15       return "null";
16    }
17
18    Object JavaDoc readResolve() {
19       return NULL;
20    }
21
22 }
23
Popular Tags