FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
java_util/Sources/Delayed.swift at 1.0.10 · SwiftJava/java_util · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
SwiftJava
/
java_util
Public
Notifications
You must be signed in to change notification settings
Fork
5
Star
7
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
java_util
/
Sources
/
Delayed.swift
Copy path
More file actions
More file actions
Latest commit
History
History
History
59 lines (38 loc) · 2.17 KB
Breadcrumbs
java_util
/
Sources
/
Delayed.swift
Copy path
File metadata and controls
59 lines (38 loc) · 2.17 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import
java_swift
import
java_lang
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// JAVA_HOME: /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home ///
/// Tue Dec 20 11:29:48 GMT 2016 ///
/// interface java.util.concurrent.Delayed ///
public
protocol
Delayed
:
java_lang
.
JavaComparable
{
/// public abstract long java.util.concurrent.Delayed.getDelay(java.util.concurrent.TimeUnit)
func
getDelay
(
arg0
:
TimeUnit
?
)
->
Int64
func
getDelay
(
_ _arg0
:
TimeUnit
?
)
->
Int64
}
open
class
DelayedForward
:
java_lang
.
JavaComparableForward
,
Delayed
{
private
static
var
DelayedJNIClass
:
jclass
?
/// public abstract long java.util.concurrent.Delayed.getDelay(java.util.concurrent.TimeUnit)
private
static
var
getDelay_MethodID_2
:
jmethodID
?
open
func
getDelay
(
arg0
:
TimeUnit
?
)
->
Int64
{
var
__args
=
[
jvalue
]
(
repeating
:
jvalue
(
)
,
count
:
1
)
var
__locals
=
[
jobject
]
(
)
__args
[
0
]
=
JNIType
.
encode
(
value
:
arg0
,
locals
:
&
__locals
)
let
__return
=
JNIMethod
.
CallLongMethod
(
object
:
javaObject
,
methodName
:
"
getDelay
"
,
methodSig
:
"
(Ljava/util/concurrent/TimeUnit;)J
"
,
methodCache
:
&
DelayedForward
.
getDelay_MethodID_2
,
args
:
&
__args
,
locals
:
&
__locals
)
return
JNIType
.
decode
(
type
:
Int64
(
)
,
from
:
__return
)
}
open
func
getDelay
(
_ _arg0
:
TimeUnit
?
)
->
Int64
{
return
getDelay
(
arg0
:
_arg0
)
}
/// public abstract int java.lang.Comparable.compareTo(java.lang.Object)
private
static
var
compareTo_MethodID_3
:
jmethodID
?
override
open
func
compareTo
(
arg0
:
java_lang
.
JavaObject
?
)
->
Int
{
var
__args
=
[
jvalue
]
(
repeating
:
jvalue
(
)
,
count
:
1
)
var
__locals
=
[
jobject
]
(
)
__args
[
0
]
=
JNIType
.
encode
(
value
:
arg0
,
locals
:
&
__locals
)
let
__return
=
JNIMethod
.
CallIntMethod
(
object
:
javaObject
,
methodName
:
"
compareTo
"
,
methodSig
:
"
(Ljava/lang/Object;)I
"
,
methodCache
:
&
DelayedForward
.
compareTo_MethodID_3
,
args
:
&
__args
,
locals
:
&
__locals
)
return
JNIType
.
decode
(
type
:
Int
(
)
,
from
:
__return
)
}
override
open
func
compareTo
(
_ _arg0
:
java_lang
.
JavaObject
?
)
->
Int
{
return
compareTo
(
arg0
:
_arg0
)
}
}
Back
|
FazBrowse Home
|
New Git URL