diff options
Diffstat (limited to 'JCL/converterJclMin1.8/src/java/lang/Enum.java')
-rw-r--r-- | JCL/converterJclMin1.8/src/java/lang/Enum.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/JCL/converterJclMin1.8/src/java/lang/Enum.java b/JCL/converterJclMin1.8/src/java/lang/Enum.java new file mode 100644 index 0000000000..13aba40055 --- /dev/null +++ b/JCL/converterJclMin1.8/src/java/lang/Enum.java @@ -0,0 +1,36 @@ +/******************************************************************************* + * Copyright (c) 2005 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +package java.lang; + +public abstract class Enum<T extends Enum<T>> implements Comparable<T>, + java.io.Serializable { + + private static final long serialVersionUID = 2L; + + protected Enum(String name, int ordinal) { + } + + public final String name() { + return null; + } + + public final int ordinal() { + return 0; + } + + public final int compareTo(T o) { + return 0; + } + + public final Class<T> getDeclaringClass() { + return null; + } +}
\ No newline at end of file |