01: /*
02: * Helma License Notice
03: *
04: * The contents of this file are subject to the Helma License
05: * Version 2.0 (the "License"). You may not use this file except in
06: * compliance with the License. A copy of the License is available at
07: * http://adele.helma.org/download/helma/license.txt
08: *
09: * Copyright 1998-2003 Helma Software. All Rights Reserved.
10: *
11: * $RCSfile$
12: * $Author: root $
13: * $Revision: 8604 $
14: * $Date: 2007-09-28 15:16:38 +0200 (Fre, 28 Sep 2007) $
15: */
16:
17: package helma.util;
18:
19: import java.util.Enumeration;
20:
21: /**
22: * Utility class for empty enum
23: */
24: public class EmptyEnumeration implements Enumeration {
25: /**
26: *
27: *
28: * @return ...
29: */
30: public boolean hasMoreElements() {
31: return false;
32: }
33:
34: /**
35: *
36: *
37: * @return ...
38: */
39: public Object nextElement() {
40: return null;
41: }
42: }
|