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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [Hashtable.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_Hashtable__
5
#define __java_util_Hashtable__
6
 
7
#pragma interface
8
 
9
#include <java/util/Dictionary.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::Hashtable : public ::java::util::Dictionary
14
{
15
 
16
public:
17
  Hashtable();
18
  Hashtable(::java::util::Map *);
19
  Hashtable(jint);
20
  Hashtable(jint, jfloat);
21
  virtual jint size();
22
  virtual jboolean isEmpty();
23
  virtual ::java::util::Enumeration * keys();
24
  virtual ::java::util::Enumeration * elements();
25
  virtual jboolean contains(::java::lang::Object *);
26
  virtual jboolean containsValue(::java::lang::Object *);
27
  virtual jboolean containsKey(::java::lang::Object *);
28
  virtual ::java::lang::Object * get(::java::lang::Object *);
29
  virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
30
  virtual ::java::lang::Object * remove(::java::lang::Object *);
31
  virtual void putAll(::java::util::Map *);
32
  virtual void clear();
33
  virtual ::java::lang::Object * clone();
34
  virtual ::java::lang::String * toString();
35
  virtual ::java::util::Set * keySet();
36
  virtual ::java::util::Collection * values();
37
  virtual ::java::util::Set * entrySet();
38
  virtual jboolean equals(::java::lang::Object *);
39
  virtual jint hashCode();
40
private:
41
  jint hash(::java::lang::Object *);
42
public: // actually package-private
43
  virtual ::java::util::Hashtable$HashEntry * getEntry(::java::lang::Object *);
44
  virtual void putAllInternal(::java::util::Map *);
45
public: // actually protected
46
  virtual void rehash();
47
private:
48
  void writeObject(::java::io::ObjectOutputStream *);
49
  void readObject(::java::io::ObjectInputStream *);
50
  static const jint DEFAULT_CAPACITY = 11;
51
  static jfloat DEFAULT_LOAD_FACTOR;
52
  static const jlong serialVersionUID = 1421746759512286392LL;
53
  jint __attribute__((aligned(__alignof__( ::java::util::Dictionary)))) threshold;
54
  jfloat loadFactor;
55
public: // actually package-private
56
  JArray< ::java::util::Hashtable$HashEntry * > * buckets;
57
  jint modCount;
58
  jint size__;
59
private:
60
  ::java::util::Set * keys__;
61
  ::java::util::Collection * values__;
62
  ::java::util::Set * entries;
63
public:
64
  static ::java::lang::Class class$;
65
};
66
 
67
#endif // __java_util_Hashtable__

powered by: WebSVN 2.1.0

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