ignore.java.golden 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. // Code generated by gobind. DO NOT EDIT.
  2. // Java class ignore.S is a proxy for talking to a Go program.
  3. //
  4. // autogenerated by gobind -lang=java ignore
  5. package ignore;
  6. import go.Seq;
  7. public final class S implements Seq.Proxy, I {
  8. static { Ignore.touch(); }
  9. private final int refnum;
  10. @Override public final int incRefnum() {
  11. Seq.incGoRef(refnum, this);
  12. return refnum;
  13. }
  14. S(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
  15. public S() { this.refnum = __New(); Seq.trackGoRef(refnum, this); }
  16. private static native int __New();
  17. // skipped field S.F with unsupported type: interface{}
  18. // skipped method S.Argument with unsupported parameter or return types
  19. // skipped method S.Result with unsupported parameter or return types
  20. @Override public boolean equals(Object o) {
  21. if (o == null || !(o instanceof S)) {
  22. return false;
  23. }
  24. S that = (S)o;
  25. // skipped field S.F with unsupported type: interface{}
  26. return true;
  27. }
  28. @Override public int hashCode() {
  29. return java.util.Arrays.hashCode(new Object[] {});
  30. }
  31. @Override public String toString() {
  32. StringBuilder b = new StringBuilder();
  33. b.append("S").append("{");
  34. return b.append("}").toString();
  35. }
  36. }
  37. // Code generated by gobind. DO NOT EDIT.
  38. // Java class ignore.I is a proxy for talking to a Go program.
  39. //
  40. // autogenerated by gobind -lang=java ignore
  41. package ignore;
  42. import go.Seq;
  43. public interface I {
  44. // skipped method I.Argument with unsupported parameter or return types
  45. // skipped method I.Result with unsupported parameter or return types
  46. }
  47. // Code generated by gobind. DO NOT EDIT.
  48. // Java class ignore.Ignore is a proxy for talking to a Go program.
  49. //
  50. // autogenerated by gobind -lang=java ignore
  51. package ignore;
  52. import go.Seq;
  53. public abstract class Ignore {
  54. static {
  55. Seq.touch(); // for loading the native library
  56. _init();
  57. }
  58. private Ignore() {} // uninstantiable
  59. // touch is called from other bound packages to initialize this package
  60. public static void touch() {}
  61. private static native void _init();
  62. private static final class proxyI implements Seq.Proxy, I {
  63. private final int refnum;
  64. @Override public final int incRefnum() {
  65. Seq.incGoRef(refnum, this);
  66. return refnum;
  67. }
  68. proxyI(int refnum) { this.refnum = refnum; Seq.trackGoRef(refnum, this); }
  69. // skipped method I.Argument with unsupported parameter or return types
  70. // skipped method I.Result with unsupported parameter or return types
  71. }
  72. // skipped const Cuint with unsupported type: uint
  73. // skipped const Cuint32 with unsupported type: uint32
  74. // skipped const Cuint64 with unsupported type: uint64
  75. // skipped const NamedConst with unsupported type: ignore.NamedString
  76. // skipped variable C128 with unsupported type: complex128
  77. // skipped variable C64 with unsupported type: complex64
  78. // skipped variable Uint with unsupported type: uint
  79. // skipped variable Uint32 with unsupported type: uint32
  80. // skipped variable Uint64 with unsupported type: uint64
  81. // skipped variable V with unsupported type: interface{}
  82. // skipped variable Var with unsupported type: interface{}
  83. // skipped function Argument with unsupported parameter or return types
  84. // skipped function Result with unsupported parameter or return types
  85. }