summaryrefslogtreecommitdiff
path: root/libjava/java/util/AbstractCollection.h
blob: 15d129d1cde81caa18e3f4bf1f47cf388faaab91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_AbstractCollection__
#define __java_util_AbstractCollection__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>


class java::util::AbstractCollection : public ::java::lang::Object
{

public: // actually protected
  AbstractCollection();
public:
  virtual ::java::util::Iterator * iterator() = 0;
  virtual jint size() = 0;
  virtual jboolean add(::java::lang::Object *);
  virtual jboolean addAll(::java::util::Collection *);
  virtual void clear();
  virtual jboolean contains(::java::lang::Object *);
  virtual jboolean containsAll(::java::util::Collection *);
  virtual jboolean isEmpty();
  virtual jboolean remove(::java::lang::Object *);
  virtual jboolean removeAll(::java::util::Collection *);
public: // actually package-private
  virtual jboolean removeAllInternal(::java::util::Collection *);
public:
  virtual jboolean retainAll(::java::util::Collection *);
public: // actually package-private
  virtual jboolean retainAllInternal(::java::util::Collection *);
public:
  virtual JArray< ::java::lang::Object * > * toArray();
  virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
  virtual ::java::lang::String * toString();
public: // actually package-private
  static jboolean equals(::java::lang::Object *, ::java::lang::Object *);
  static jint hashCode(::java::lang::Object *);
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_AbstractCollection__