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

Subversion Repositories openrisc

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

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_LinkedList__
5
#define __java_util_LinkedList__
6
 
7
#pragma interface
8
 
9
#include <java/util/AbstractSequentialList.h>
10
#include <gcj/array.h>
11
 
12
 
13
class java::util::LinkedList : public ::java::util::AbstractSequentialList
14
{
15
 
16
public: // actually package-private
17
  virtual ::java::util::LinkedList$Entry * getEntry(jint);
18
  virtual void removeEntry(::java::util::LinkedList$Entry *);
19
private:
20
  void checkBoundsInclusive(jint);
21
  void checkBoundsExclusive(jint);
22
public:
23
  LinkedList();
24
  LinkedList(::java::util::Collection *);
25
  virtual ::java::lang::Object * getFirst();
26
  virtual ::java::lang::Object * getLast();
27
  virtual ::java::lang::Object * removeFirst();
28
  virtual ::java::lang::Object * removeLast();
29
  virtual void addFirst(::java::lang::Object *);
30
  virtual void addLast(::java::lang::Object *);
31
private:
32
  void addLastEntry(::java::util::LinkedList$Entry *);
33
public:
34
  virtual jboolean contains(::java::lang::Object *);
35
  virtual jint size();
36
  virtual jboolean add(::java::lang::Object *);
37
  virtual jboolean remove(::java::lang::Object *);
38
  virtual jboolean addAll(::java::util::Collection *);
39
  virtual jboolean addAll(jint, ::java::util::Collection *);
40
  virtual void clear();
41
  virtual ::java::lang::Object * get(jint);
42
  virtual ::java::lang::Object * set(jint, ::java::lang::Object *);
43
  virtual void add(jint, ::java::lang::Object *);
44
  virtual ::java::lang::Object * remove(jint);
45
  virtual jint indexOf(::java::lang::Object *);
46
  virtual jint lastIndexOf(::java::lang::Object *);
47
  virtual ::java::util::ListIterator * listIterator(jint);
48
  virtual ::java::lang::Object * clone();
49
  virtual JArray< ::java::lang::Object * > * toArray();
50
  virtual JArray< ::java::lang::Object * > * toArray(JArray< ::java::lang::Object * > *);
51
  virtual jboolean offer(::java::lang::Object *);
52
  virtual ::java::lang::Object * element();
53
  virtual ::java::lang::Object * peek();
54
  virtual ::java::lang::Object * poll();
55
  virtual ::java::lang::Object * remove();
56
private:
57
  void writeObject(::java::io::ObjectOutputStream *);
58
  void readObject(::java::io::ObjectInputStream *);
59
public:
60
  virtual ::java::util::Iterator * descendingIterator();
61
  virtual jboolean offerFirst(::java::lang::Object *);
62
  virtual jboolean offerLast(::java::lang::Object *);
63
  virtual ::java::lang::Object * peekFirst();
64
  virtual ::java::lang::Object * peekLast();
65
  virtual ::java::lang::Object * pollFirst();
66
  virtual ::java::lang::Object * pollLast();
67
  virtual ::java::lang::Object * pop();
68
  virtual void push(::java::lang::Object *);
69
  virtual jboolean removeFirstOccurrence(::java::lang::Object *);
70
  virtual jboolean removeLastOccurrence(::java::lang::Object *);
71
private:
72
  static const jlong serialVersionUID = 876323262645176354LL;
73
public: // actually package-private
74
  ::java::util::LinkedList$Entry * __attribute__((aligned(__alignof__( ::java::util::AbstractSequentialList)))) first;
75
  ::java::util::LinkedList$Entry * last;
76
  jint size__;
77
public:
78
  static ::java::lang::Class class$;
79
};
80
 
81
#endif // __java_util_LinkedList__

powered by: WebSVN 2.1.0

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