From 554fd8c5195424bdbcabf5de30fdc183aba391bd Mon Sep 17 00:00:00 2001 From: upstream source tree Date: Sun, 15 Mar 2015 20:14:05 -0400 Subject: obtained gcc-4.6.4.tar.bz2 from upstream website; verified gcc-4.6.4.tar.bz2.sig; imported gcc-4.6.4 source tree from verified upstream tarball. downloading a git-generated archive based on the 'upstream' tag should provide you with a source tree that is binary identical to the one extracted from the above tarball. if you have obtained the source via the command 'git clone', however, do note that line-endings of files in your working directory might differ from line-endings of the respective files in the upstream repository. --- libjava/java/util/concurrent/ConcurrentHashMap.h | 65 ++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 libjava/java/util/concurrent/ConcurrentHashMap.h (limited to 'libjava/java/util/concurrent/ConcurrentHashMap.h') diff --git a/libjava/java/util/concurrent/ConcurrentHashMap.h b/libjava/java/util/concurrent/ConcurrentHashMap.h new file mode 100644 index 000000000..0e733c065 --- /dev/null +++ b/libjava/java/util/concurrent/ConcurrentHashMap.h @@ -0,0 +1,65 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __java_util_concurrent_ConcurrentHashMap__ +#define __java_util_concurrent_ConcurrentHashMap__ + +#pragma interface + +#include +#include + + +class java::util::concurrent::ConcurrentHashMap : public ::java::util::AbstractMap +{ + + static jint hash(jint); +public: // actually package-private + virtual ::java::util::concurrent::ConcurrentHashMap$Segment * segmentFor(jint); +public: + ConcurrentHashMap(jint, jfloat, jint); + ConcurrentHashMap(jint, jfloat); + ConcurrentHashMap(jint); + ConcurrentHashMap(); + ConcurrentHashMap(::java::util::Map *); + virtual jboolean isEmpty(); + virtual jint size(); + virtual ::java::lang::Object * get(::java::lang::Object *); + virtual jboolean containsKey(::java::lang::Object *); + virtual jboolean containsValue(::java::lang::Object *); + virtual jboolean contains(::java::lang::Object *); + virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *); + virtual ::java::lang::Object * putIfAbsent(::java::lang::Object *, ::java::lang::Object *); + virtual void putAll(::java::util::Map *); + virtual ::java::lang::Object * remove(::java::lang::Object *); + virtual jboolean remove(::java::lang::Object *, ::java::lang::Object *); + virtual jboolean replace(::java::lang::Object *, ::java::lang::Object *, ::java::lang::Object *); + virtual ::java::lang::Object * replace(::java::lang::Object *, ::java::lang::Object *); + virtual void clear(); + virtual ::java::util::Set * keySet(); + virtual ::java::util::Collection * values(); + virtual ::java::util::Set * entrySet(); + virtual ::java::util::Enumeration * keys(); + virtual ::java::util::Enumeration * elements(); +private: + void writeObject(::java::io::ObjectOutputStream *); + void readObject(::java::io::ObjectInputStream *); + static const jlong serialVersionUID = 7249069246763182397LL; +public: // actually package-private + static const jint DEFAULT_INITIAL_CAPACITY = 16; + static jfloat DEFAULT_LOAD_FACTOR; + static const jint DEFAULT_CONCURRENCY_LEVEL = 16; + static const jint MAXIMUM_CAPACITY = 1073741824; + static const jint MAX_SEGMENTS = 65536; + static const jint RETRIES_BEFORE_LOCK = 2; + jint __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) segmentMask; + jint segmentShift; + JArray< ::java::util::concurrent::ConcurrentHashMap$Segment * > * segments; + ::java::util::Set * keySet__; + ::java::util::Set * entrySet__; + ::java::util::Collection * values__; +public: + static ::java::lang::Class class$; +}; + +#endif // __java_util_concurrent_ConcurrentHashMap__ -- cgit v1.2.3