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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [WeakHashMap.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_WeakHashMap__
5
#define __java_util_WeakHashMap__
6
 
7
#pragma interface
8
 
9
#include <java/util/AbstractMap.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::WeakHashMap : public ::java::util::AbstractMap
14
{
15
 
16
public:
17
  WeakHashMap();
18
  WeakHashMap(jint);
19
  WeakHashMap(jint, jfloat);
20
  WeakHashMap(::java::util::Map *);
21
private:
22
  jint hash(::java::lang::Object *);
23
public: // actually package-private
24
  virtual void cleanQueue();
25
private:
26
  void rehash();
27
  ::java::util::WeakHashMap$WeakBucket$WeakEntry * internalGet(::java::lang::Object *);
28
  void internalAdd(::java::lang::Object *, ::java::lang::Object *);
29
public: // actually package-private
30
  virtual void internalRemove(::java::util::WeakHashMap$WeakBucket *);
31
public:
32
  virtual jint size();
33
  virtual jboolean isEmpty();
34
  virtual jboolean containsKey(::java::lang::Object *);
35
  virtual ::java::lang::Object * get(::java::lang::Object *);
36
  virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
37
  virtual ::java::lang::Object * remove(::java::lang::Object *);
38
  virtual ::java::util::Set * entrySet();
39
  virtual void clear();
40
  virtual jboolean containsValue(::java::lang::Object *);
41
  virtual ::java::util::Set * keySet();
42
  virtual void putAll(::java::util::Map *);
43
  virtual ::java::util::Collection * values();
44
private:
45
  static const jint DEFAULT_CAPACITY = 11;
46
  static jfloat DEFAULT_LOAD_FACTOR;
47
public: // actually package-private
48
  static ::java::lang::Object * NULL_KEY;
49
private:
50
  ::java::lang::ref::ReferenceQueue * __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) queue;
51
public: // actually package-private
52
  jint size__;
53
private:
54
  jfloat loadFactor;
55
  jint threshold;
56
public: // actually package-private
57
  jint modCount;
58
private:
59
  ::java::util::WeakHashMap$WeakEntrySet * theEntrySet;
60
public: // actually package-private
61
  JArray< ::java::util::WeakHashMap$WeakBucket * > * buckets;
62
public:
63
  static ::java::lang::Class class$;
64
};
65
 
66
#endif // __java_util_WeakHashMap__

powered by: WebSVN 2.1.0

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