summaryrefslogtreecommitdiff
path: root/libjava/java/util/Collections$SingletonList.h
blob: 03340f1d9cbd17f3662e076b5ce96f0705333532 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_Collections$SingletonList__
#define __java_util_Collections$SingletonList__

#pragma interface

#include <java/util/AbstractList.h>
#include <gcj/array.h>


class java::util::Collections$SingletonList : public ::java::util::AbstractList
{

public: // actually package-private
  Collections$SingletonList(::java::lang::Object *);
public:
  jint size();
  ::java::lang::Object * get(jint);
  jboolean contains(::java::lang::Object *);
  jboolean containsAll(::java::util::Collection *);
  jint hashCode();
  jint indexOf(::java::lang::Object *);
  jint lastIndexOf(::java::lang::Object *);
  ::java::util::List * subList(jint, jint);
  JArray< ::java::lang::Object * > * toArray();
  ::java::lang::String * toString();
private:
  static const jlong serialVersionUID = 3093736618740652951LL;
  ::java::lang::Object * __attribute__((aligned(__alignof__( ::java::util::AbstractList)))) element;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_Collections$SingletonList__