From 97b8365cafc3a344a22d3980b8ed885f5c6d8357 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 9 Jan 2007 19:58:05 +0000 Subject: Merged gcj-eclipse branch to trunk. From-SVN: r120621 --- libjava/java/util/EnumMap.h | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 libjava/java/util/EnumMap.h (limited to 'libjava/java/util/EnumMap.h') diff --git a/libjava/java/util/EnumMap.h b/libjava/java/util/EnumMap.h new file mode 100644 index 0000000..0c303d8 --- /dev/null +++ b/libjava/java/util/EnumMap.h @@ -0,0 +1,47 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_util_EnumMap__ +#define __java_util_EnumMap__ + +#pragma interface + +#include +#include + + +class java::util::EnumMap : public ::java::util::AbstractMap +{ + +public: + EnumMap(::java::lang::Class *); + EnumMap(::java::util::EnumMap *); + EnumMap(::java::util::Map *); + virtual jint size(); + virtual jboolean containsValue(::java::lang::Object *); + virtual jboolean containsKey(::java::lang::Object *); + virtual ::java::lang::Object * get(::java::lang::Object *); + virtual ::java::lang::Object * target$put(::java::lang::Enum *, ::java::lang::Object *); + virtual ::java::lang::Object * remove(::java::lang::Object *); + virtual void putAll(::java::util::Map *); + virtual void clear(); + virtual ::java::util::Set * keySet(); + virtual ::java::util::Collection * values(); + virtual ::java::util::Set * entrySet(); + virtual jboolean equals(::java::lang::Object *); + virtual ::java::util::EnumMap * target$clone(); + virtual ::java::lang::Object * clone(); + virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *); +private: + static const jlong serialVersionUID = 458661240069192865LL; +public: // actually package-private + JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) store; + jint cardinality; + ::java::lang::Class * enumClass; + ::java::util::Set * entries; + static ::java::lang::Object * emptySlot; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_util_EnumMap__ -- cgit v1.1