-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIntStream.bal
More file actions
39 lines (31 loc) · 1.37 KB
/
Copy pathIntStream.bal
File metadata and controls
39 lines (31 loc) · 1.37 KB
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
// This is an empty Ballerina class autogenerated to represent the `java.util.stream.IntStream` Java interface.
//
// If you need the implementation of this class generated, please use the following command.
//
// $ bal bindgen [(-cp|--classpath) <classpath>...]
// [(-mvn|--maven) <groupId>:<artifactId>:<version>]
// [(-o|--output) <output-path>]
// [--public]
// (<class-name>...)
//
// E.g. $ bal bindgen java.util.stream.IntStream
import ballerina/jballerina.java;
# Ballerina class mapping for the Java `java.util.stream.IntStream` interface.
@java:Binding {'class: "java.util.stream.IntStream"}
public distinct class IntStream {
*java:JObject;
# The `handle` field that stores the reference to the `java.util.stream.IntStream` object.
public handle jObj;
# The init function of the Ballerina class mapping the `java.util.stream.IntStream` Java interface.
#
# + obj - The `handle` value containing the Java reference of the object.
public function init(handle obj) {
self.jObj = obj;
}
# The function to retrieve the string representation of the Ballerina class mapping the `java.util.stream.IntStream` Java interface.
#
# + return - The `string` form of the Java object instance.
public function toString() returns string {
return java:toString(self.jObj) ?: "";
}
}