PageRenderTime 45ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/src/xmlvm2csharp/lib/wrapper/Compatlib/System/Collections/Generics/List.cs

https://github.com/tisoft/xmlvm
C# | 35 lines | 17 code | 7 blank | 11 comment | 0 complexity | 47156257d5f6862755b3d8a4fadc36f1 MD5 | raw file
Possible License(s): LGPL-2.1
  1. // Automatically generated by xmlvm2csharp (do not edit).
  2. using org.xmlvm;
  3. namespace Compatlib.System.Collections.Generics {
  4. public class List: global::Compatlib.System.Object,global::Compatlib.System.Collections.Generics.IList,global::Compatlib.System.Collections.Generics.ICollection,global::Compatlib.System.Collections.Generics.IEnumerable {
  5. public void @this(){
  6. //XMLVM_BEGIN_WRAPPER[Compatlib.System.Collections.Generics.List: void <init>()]
  7. //XMLVM_END_WRAPPER[Compatlib.System.Collections.Generics.List: void <init>()]
  8. }
  9. public virtual global::System.Object _1_1access(int n1){
  10. //XMLVM_BEGIN_WRAPPER[Compatlib.System.Collections.Generics.List: java.lang.Object __access(int)]
  11. return list[n1];
  12. //XMLVM_END_WRAPPER[Compatlib.System.Collections.Generics.List: java.lang.Object __access(int)]
  13. }
  14. public virtual int getCount(){
  15. //XMLVM_BEGIN_WRAPPER[Compatlib.System.Collections.Generics.List: int getCount()]
  16. return list.Count;
  17. //XMLVM_END_WRAPPER[Compatlib.System.Collections.Generics.List: int getCount()]
  18. }
  19. public virtual void Add(global::java.lang.Object n1){
  20. //XMLVM_BEGIN_WRAPPER[Compatlib.System.Collections.Generics.List: void Add(java.lang.Object)]
  21. list.Add(n1);
  22. //XMLVM_END_WRAPPER[Compatlib.System.Collections.Generics.List: void Add(java.lang.Object)]
  23. }
  24. //XMLVM_BEGIN_WRAPPER[Compatlib.System.Collections.Generics.List]
  25. private global::System.Collections.Generic.List<java.lang.Object> list = new global::System.Collections.Generic.List<java.lang.Object>();
  26. //XMLVM_END_WRAPPER[Compatlib.System.Collections.Generics.List]
  27. } // end of class: List
  28. } // end of namespace: Compatlib.System.Collections.Generics