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

Subversion Repositories openrisc

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

Go to most recent revision | 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_HashMap__
5
#define __java_util_HashMap__
6
 
7
#pragma interface
8
 
9
#include <java/util/AbstractMap.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::HashMap : public ::java::util::AbstractMap
14
{
15
 
16
public:
17
  HashMap();
18
  HashMap(::java::util::Map *);
19
  HashMap(jint);
20
  HashMap(jint, jfloat);
21
  virtual jint size();
22
  virtual jboolean isEmpty();
23
  virtual ::java::lang::Object * get(::java::lang::Object *);
24
  virtual jboolean containsKey(::java::lang::Object *);
25
  virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
26
  virtual void putAll(::java::util::Map *);
27
  virtual ::java::lang::Object * remove(::java::lang::Object *);
28
  virtual void clear();
29
  virtual jboolean containsValue(::java::lang::Object *);
30
  virtual ::java::lang::Object * clone();
31
  virtual ::java::util::Set * keySet();
32
  virtual ::java::util::Collection * values();
33
  virtual ::java::util::Set * entrySet();
34
public: // actually package-private
35
  virtual void addEntry(::java::lang::Object *, ::java::lang::Object *, jint, jboolean);
36
  virtual ::java::util::HashMap$HashEntry * getEntry(::java::lang::Object *);
37
  virtual jint hash(::java::lang::Object *);
38
  virtual ::java::util::Iterator * iterator(jint);
39
  virtual void putAllInternal(::java::util::Map *);
40
private:
41
  void rehash();
42
  void writeObject(::java::io::ObjectOutputStream *);
43
  void readObject(::java::io::ObjectInputStream *);
44
public: // actually package-private
45
  static const jint DEFAULT_CAPACITY = 11;
46
  static jfloat DEFAULT_LOAD_FACTOR;
47
private:
48
  static const jlong serialVersionUID = 362498820763181265LL;
49
  jint __attribute__((aligned(__alignof__( ::java::util::AbstractMap)))) threshold;
50
public: // actually package-private
51
  jfloat loadFactor;
52
  JArray< ::java::util::HashMap$HashEntry * > * buckets;
53
  jint modCount;
54
  jint size__;
55
private:
56
  ::java::util::Set * entries;
57
public:
58
  static ::java::lang::Class class$;
59
};
60
 
61
#endif // __java_util_HashMap__

powered by: WebSVN 2.1.0

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