OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [concurrent/] [ConcurrentHashMap$Segment.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_util_concurrent_ConcurrentHashMap$Segment__
5
#define __java_util_concurrent_ConcurrentHashMap$Segment__
6
 
7
#pragma interface
8
 
9
#include <java/util/concurrent/locks/ReentrantLock.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::concurrent::ConcurrentHashMap$Segment : public ::java::util::concurrent::locks::ReentrantLock
14
{
15
 
16
public: // actually package-private
17
  ConcurrentHashMap$Segment(jint, jfloat);
18
  static JArray< ::java::util::concurrent::ConcurrentHashMap$Segment * > * newArray(jint);
19
  void setTable(JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > *);
20
  ::java::util::concurrent::ConcurrentHashMap$HashEntry * getFirst(jint);
21
  ::java::lang::Object * readValueUnderLock(::java::util::concurrent::ConcurrentHashMap$HashEntry *);
22
  ::java::lang::Object * get(::java::lang::Object *, jint);
23
  jboolean containsKey(::java::lang::Object *, jint);
24
  jboolean containsValue(::java::lang::Object *);
25
  jboolean replace(::java::lang::Object *, jint, ::java::lang::Object *, ::java::lang::Object *);
26
  ::java::lang::Object * replace(::java::lang::Object *, jint, ::java::lang::Object *);
27
  ::java::lang::Object * put(::java::lang::Object *, jint, ::java::lang::Object *, jboolean);
28
  void rehash();
29
  ::java::lang::Object * remove(::java::lang::Object *, jint, ::java::lang::Object *);
30
  void clear();
31
private:
32
  static const jlong serialVersionUID = 2249069246763182397LL;
33
public: // actually package-private
34
  jint volatile __attribute__((aligned(__alignof__( ::java::util::concurrent::locks::ReentrantLock)))) count;
35
  jint modCount;
36
  jint threshold;
37
  JArray< ::java::util::concurrent::ConcurrentHashMap$HashEntry * > * volatile table;
38
  jfloat loadFactor;
39
public:
40
  static ::java::lang::Class class$;
41
};
42
 
43
#endif // __java_util_concurrent_ConcurrentHashMap$Segment__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.