GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — java_lang/Sources/JavaComparable.swift at master · SwiftJava/java_lang

Expand file tree

/

JavaComparable.swift

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
38 lines (22 loc) · 1.18 KB
/

JavaComparable.swift

Copy path

File metadata and controls

38 lines (22 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
37
import java_swift
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// interface java.lang.Comparable ///
public protocol JavaComparable: JavaProtocol {
/// public abstract int java.lang.Comparable.compareTo(java.lang.Object)
func compareTo( arg0: java_swift.JavaObject? ) -> Int
}
open class JavaComparableForward: JNIObjectForward, JavaComparable {
private static var JavaComparableJNIClass: jclass?
/// public abstract int java.lang.Comparable.compareTo(java.lang.Object)
private static var compareTo_MethodID_2: jmethodID?
open func compareTo( arg0: java_swift.JavaObject? ) -> Int {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = JNIType.toJava( value: arg0, locals: &__locals )
let __return = JNIMethod.CallIntMethod( object: javaObject, methodName: "compareTo", methodSig: "(Ljava/lang/Object;)I", methodCache: &JavaComparableForward.compareTo_MethodID_2, args: &__args, locals: &__locals )
return Int(__return)
}
open func compareTo( _ _arg0: java_swift.JavaObject? ) -> Int {
return compareTo( arg0: _arg0 )
}
}
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.