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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [gnu/] [java/] [util/] [WeakIdentityHashMap.h] - Blame information for rev 843

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 756 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __gnu_java_util_WeakIdentityHashMap__
5
#define __gnu_java_util_WeakIdentityHashMap__
6
 
7
#pragma interface
8
 
9
#include <java/util/AbstractMap.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace gnu
15
  {
16
    namespace java
17
    {
18
      namespace util
19
      {
20
          class WeakIdentityHashMap;
21
          class WeakIdentityHashMap$WeakBucket;
22
          class WeakIdentityHashMap$WeakBucket$WeakEntry;
23
          class WeakIdentityHashMap$WeakEntrySet;
24
      }
25
    }
26
  }
27
}
28
 
29
class gnu::java::util::WeakIdentityHashMap : public ::java::util::AbstractMap
30
{
31
 
32
public:
33
  WeakIdentityHashMap();
34
  WeakIdentityHashMap(jint);
35
  WeakIdentityHashMap(jint, jfloat);
36
  WeakIdentityHashMap(::java::util::Map *);
37
private:
38
  jint hash(::java::lang::Object *);
39
public: // actually package-private
40
  virtual void cleanQueue();
41
private:
42
  void rehash();
43
  ::gnu::java::util::WeakIdentityHashMap$WeakBucket$WeakEntry * internalGet(::java::lang::Object *);
44
  void internalAdd(::java::lang::Object *, ::java::lang::Object *);
45
public: // actually package-private
46
  virtual void internalRemove(::gnu::java::util::WeakIdentityHashMap$WeakBucket *);
47
public:
48
  virtual jint size();
49
  virtual jboolean isEmpty();
50
  virtual jboolean containsKey(::java::lang::Object *);
51
  virtual ::java::lang::Object * get(::java::lang::Object *);
52
  virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
53
  virtual ::java::lang::Object * remove(::java::lang::Object *);
54
  virtual ::java::util::Set * entrySet();
55
  virtual void clear();
56
  virtual jboolean containsValue(::java::lang::Object *);
57
  virtual ::java::util::Set * keySet();
58
  virtual void putAll(::java::util::Map *);
59
  virtual ::java::util::Collection * values();
60
private:
61
  static const jint DEFAULT_CAPACITY = 11;
62
  static jfloat DEFAULT_LOAD_FACTOR;
63
public: // actually package-private
64
  static ::java::lang::Object * NULL_KEY;
65
private:
66
  ::java::lang::ref::ReferenceQueue * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) queue;
67
public: // actually package-private
68
  jint size__;
69
private:
70
  jfloat loadFactor;
71
  jint threshold;
72
public: // actually package-private
73
  jint modCount;
74
private:
75
  ::gnu::java::util::WeakIdentityHashMap$WeakEntrySet * theEntrySet;
76
public: // actually package-private
77
  JArray< ::gnu::java::util::WeakIdentityHashMap$WeakBucket * > * buckets;
78
public:
79
  static ::java::lang::Class class$;
80
};
81
 
82
#endif // __gnu_java_util_WeakIdentityHashMap__

powered by: WebSVN 2.1.0

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