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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [util/] [concurrent/] [ArrayBlockingQueue.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_concurrent_ArrayBlockingQueue__
5
#define __java_util_concurrent_ArrayBlockingQueue__
6
 
7
#pragma interface
8
 
9
#include <java/util/AbstractQueue.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::concurrent::ArrayBlockingQueue : public ::java::util::AbstractQueue
14
{
15
 
16
public: // actually package-private
17
  virtual jint inc(jint);
18
private:
19
  void insert(::java::lang::Object *);
20
  ::java::lang::Object * extract();
21
public: // actually package-private
22
  virtual void removeAt(jint);
23
public:
24
  ArrayBlockingQueue(jint);
25
  ArrayBlockingQueue(jint, jboolean);
26
  ArrayBlockingQueue(jint, jboolean, ::java::util::Collection *);
27
  virtual jboolean add(::java::lang::Object *);
28
  virtual jboolean offer(::java::lang::Object *);
29
  virtual void put(::java::lang::Object *);
30
  virtual jboolean offer(::java::lang::Object *, jlong, ::java::util::concurrent::TimeUnit *);
31
  virtual ::java::lang::Object * poll();
32
  virtual ::java::lang::Object * take();
33
  virtual ::java::lang::Object * poll(jlong, ::java::util::concurrent::TimeUnit *);
34
  virtual ::java::lang::Object * peek();
35
  virtual jint size();
36
  virtual jint remainingCapacity();
37
  virtual jboolean remove(::java::lang::Object *);
38
  virtual jboolean contains(::java::lang::Object *);
39
  virtual JArray< ::java::lang::Object * > * toArray();
40
  virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
41
  virtual ::java::lang::String * toString();
42
  virtual void clear();
43
  virtual jint drainTo(::java::util::Collection *);
44
  virtual jint drainTo(::java::util::Collection *, jint);
45
  virtual ::java::util::Iterator * iterator();
46
public: // actually package-private
47
  static jint access$0(::java::util::concurrent::ArrayBlockingQueue *);
48
  static jint access$1(::java::util::concurrent::ArrayBlockingQueue *);
49
  static JArray< ::java::lang::Object * > * access$2(::java::util::concurrent::ArrayBlockingQueue *);
50
  static jint access$3(::java::util::concurrent::ArrayBlockingQueue *);
51
  static ::java::util::concurrent::locks::ReentrantLock * access$4(::java::util::concurrent::ArrayBlockingQueue *);
52
private:
53
  static const jlong serialVersionUID = -817911632652898426LL;
54
  JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::util::AbstractQueue)))) items;
55
  jint takeIndex;
56
  jint putIndex;
57
  jint count;
58
  ::java::util::concurrent::locks::ReentrantLock * lock;
59
  ::java::util::concurrent::locks::Condition * notEmpty;
60
  ::java::util::concurrent::locks::Condition * notFull;
61
public:
62
  static ::java::lang::Class class$;
63
};
64
 
65
#endif // __java_util_concurrent_ArrayBlockingQueue__

powered by: WebSVN 2.1.0

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