summaryrefslogtreecommitdiff
path: root/libjava/java/util/concurrent/ConcurrentSkipListSet.h
blob: 65ea1a9a9326e153776c4e5dab06ecb3c07b1244 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_concurrent_ConcurrentSkipListSet__
#define __java_util_concurrent_ConcurrentSkipListSet__

#pragma interface

#include <java/util/AbstractSet.h>
extern "Java"
{
  namespace sun
  {
    namespace misc
    {
        class Unsafe;
    }
  }
}

class java::util::concurrent::ConcurrentSkipListSet : public ::java::util::AbstractSet
{

public:
  ConcurrentSkipListSet();
  ConcurrentSkipListSet(::java::util::Comparator *);
  ConcurrentSkipListSet(::java::util::Collection *);
  ConcurrentSkipListSet(::java::util::SortedSet *);
public: // actually package-private
  ConcurrentSkipListSet(::java::util::concurrent::ConcurrentNavigableMap *);
public:
  virtual ::java::util::concurrent::ConcurrentSkipListSet * ConcurrentSkipListSet$clone();
  virtual jint size();
  virtual jboolean isEmpty();
  virtual jboolean contains(::java::lang::Object *);
  virtual jboolean add(::java::lang::Object *);
  virtual jboolean remove(::java::lang::Object *);
  virtual void clear();
  virtual ::java::util::Iterator * iterator();
  virtual ::java::util::Iterator * descendingIterator();
  virtual jboolean equals(::java::lang::Object *);
  virtual jboolean removeAll(::java::util::Collection *);
  virtual ::java::lang::Object * lower(::java::lang::Object *);
  virtual ::java::lang::Object * floor(::java::lang::Object *);
  virtual ::java::lang::Object * ceiling(::java::lang::Object *);
  virtual ::java::lang::Object * higher(::java::lang::Object *);
  virtual ::java::lang::Object * pollFirst();
  virtual ::java::lang::Object * pollLast();
  virtual ::java::util::Comparator * comparator();
  virtual ::java::lang::Object * first();
  virtual ::java::lang::Object * last();
  virtual ::java::util::NavigableSet * subSet(::java::lang::Object *, jboolean, ::java::lang::Object *, jboolean);
  virtual ::java::util::NavigableSet * headSet(::java::lang::Object *, jboolean);
  virtual ::java::util::NavigableSet * tailSet(::java::lang::Object *, jboolean);
  virtual ::java::util::NavigableSet * ConcurrentSkipListSet$subSet(::java::lang::Object *, ::java::lang::Object *);
  virtual ::java::util::NavigableSet * ConcurrentSkipListSet$headSet(::java::lang::Object *);
  virtual ::java::util::NavigableSet * ConcurrentSkipListSet$tailSet(::java::lang::Object *);
  virtual ::java::util::NavigableSet * descendingSet();
private:
  void setMap(::java::util::concurrent::ConcurrentNavigableMap *);
public:
  virtual ::java::lang::Object * clone();
  virtual ::java::util::SortedSet * subSet(::java::lang::Object *, ::java::lang::Object *);
  virtual ::java::util::SortedSet * tailSet(::java::lang::Object *);
  virtual ::java::util::SortedSet * headSet(::java::lang::Object *);
private:
  static const jlong serialVersionUID = -2479143111061671589LL;
  ::java::util::concurrent::ConcurrentNavigableMap * __attribute__((aligned(__alignof__( ::java::util::AbstractSet)))) m;
  static ::sun::misc::Unsafe * unsafe;
  static jlong mapOffset;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_concurrent_ConcurrentSkipListSet__