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_awt/Sources/DataBufferFloat.swift at master · SwiftJava/java_awt

Expand file tree

/

DataBufferFloat.swift

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
339 lines (235 loc) · 13.4 KB
/

DataBufferFloat.swift

Copy path

File metadata and controls

339 lines (235 loc) · 13.4 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
import java_swift
/// generated by: genswift.java 'java/lang|java/util|java/sql|java/awt|javax/swing' ///
/// class java.awt.image.DataBufferFloat ///
open class DataBufferFloat: DataBuffer {
public convenience init?( casting object: java_swift.JavaObject, _ file: StaticString = #file, _ line: Int = #line ) {
self.init( javaObject: nil )
object.withJavaObject {
self.javaObject = $0
}
}
private static var DataBufferFloatJNIClass: jclass?
/// float[][] java.awt.image.DataBufferFloat.bankdata
// Skipping field: true false false false false false
/// float[] java.awt.image.DataBufferFloat.data
// Skipping field: true false false false false false
/// public static final int java.awt.image.DataBuffer.TYPE_BYTE
// Skipping field: false true false false false false
/// public static final int java.awt.image.DataBuffer.TYPE_DOUBLE
// Skipping field: false true false false false false
/// public static final int java.awt.image.DataBuffer.TYPE_FLOAT
// Skipping field: false true false false false false
/// public static final int java.awt.image.DataBuffer.TYPE_INT
// Skipping field: false true false false false false
/// public static final int java.awt.image.DataBuffer.TYPE_SHORT
// Skipping field: false true false false false false
/// public static final int java.awt.image.DataBuffer.TYPE_UNDEFINED
// Skipping field: false true false false false false
/// public static final int java.awt.image.DataBuffer.TYPE_USHORT
// Skipping field: false true false false false false
/// private static final int[] java.awt.image.DataBuffer.dataTypeSize
/// protected int java.awt.image.DataBuffer.banks
private static var banks_FieldID: jfieldID?
override open var banks: Int {
get {
let __value = JNIField.GetIntField( fieldName: "banks", fieldType: "I", fieldCache: &DataBufferFloat.banks_FieldID, object: javaObject )
return Int(__value)
}
set(newValue) {
var __locals = [jobject]()
let __value = jvalue( i: jint(newValue) )
JNIField.SetIntField( fieldName: "banks", fieldType: "I", fieldCache: &DataBufferFloat.banks_FieldID, object: javaObject, value: __value.i, locals: &__locals )
}
}
/// protected int java.awt.image.DataBuffer.dataType
private static var dataType_FieldID: jfieldID?
override open var dataType: Int {
get {
let __value = JNIField.GetIntField( fieldName: "dataType", fieldType: "I", fieldCache: &DataBufferFloat.dataType_FieldID, object: javaObject )
return Int(__value)
}
set(newValue) {
var __locals = [jobject]()
let __value = jvalue( i: jint(newValue) )
JNIField.SetIntField( fieldName: "dataType", fieldType: "I", fieldCache: &DataBufferFloat.dataType_FieldID, object: javaObject, value: __value.i, locals: &__locals )
}
}
/// protected int java.awt.image.DataBuffer.offset
private static var offset_FieldID: jfieldID?
override open var offset: Int {
get {
let __value = JNIField.GetIntField( fieldName: "offset", fieldType: "I", fieldCache: &DataBufferFloat.offset_FieldID, object: javaObject )
return Int(__value)
}
set(newValue) {
var __locals = [jobject]()
let __value = jvalue( i: jint(newValue) )
JNIField.SetIntField( fieldName: "offset", fieldType: "I", fieldCache: &DataBufferFloat.offset_FieldID, object: javaObject, value: __value.i, locals: &__locals )
}
}
/// protected int[] java.awt.image.DataBuffer.offsets
private static var offsets_FieldID: jfieldID?
override open var offsets: [Int32]! {
get {
let __value = JNIField.GetObjectField( fieldName: "offsets", fieldType: "[I", fieldCache: &DataBufferFloat.offsets_FieldID, object: javaObject )
return JNIType.toSwift( type: [Int32].self, from: __value )
}
set(newValue) {
var __locals = [jobject]()
let __value = JNIType.toJava( value: newValue, locals: &__locals )
JNIField.SetObjectField( fieldName: "offsets", fieldType: "[I", fieldCache: &DataBufferFloat.offsets_FieldID, object: javaObject, value: __value.l, locals: &__locals )
}
}
/// protected int java.awt.image.DataBuffer.size
private static var size_FieldID: jfieldID?
override open var size: Int {
get {
let __value = JNIField.GetIntField( fieldName: "size", fieldType: "I", fieldCache: &DataBufferFloat.size_FieldID, object: javaObject )
return Int(__value)
}
set(newValue) {
var __locals = [jobject]()
let __value = jvalue( i: jint(newValue) )
JNIField.SetIntField( fieldName: "size", fieldType: "I", fieldCache: &DataBufferFloat.size_FieldID, object: javaObject, value: __value.i, locals: &__locals )
}
}
/// sun.java2d.StateTrackableDelegate java.awt.image.DataBuffer.theTrackable
// Skipping field: true false false false false false
/// public java.awt.image.DataBufferFloat(int)
private static var new_MethodID_1: jmethodID?
public convenience init( size: Int ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(size) )
let __object = JNIMethod.NewObject( className: "java/awt/image/DataBufferFloat", classCache: &DataBufferFloat.DataBufferFloatJNIClass, methodSig: "(I)V", methodCache: &DataBufferFloat.new_MethodID_1, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _size: Int ) {
self.init( size: _size )
}
/// public java.awt.image.DataBufferFloat(int,int)
private static var new_MethodID_2: jmethodID?
public convenience init( size: Int, numBanks: Int ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = jvalue( i: jint(size) )
__args[1] = jvalue( i: jint(numBanks) )
let __object = JNIMethod.NewObject( className: "java/awt/image/DataBufferFloat", classCache: &DataBufferFloat.DataBufferFloatJNIClass, methodSig: "(II)V", methodCache: &DataBufferFloat.new_MethodID_2, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _size: Int, _ _numBanks: Int ) {
self.init( size: _size, numBanks: _numBanks )
}
/// public java.awt.image.DataBufferFloat(float[],int)
private static var new_MethodID_3: jmethodID?
public convenience init( dataArray: [Float]?, size: Int ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: dataArray, locals: &__locals )
__args[1] = jvalue( i: jint(size) )
let __object = JNIMethod.NewObject( className: "java/awt/image/DataBufferFloat", classCache: &DataBufferFloat.DataBufferFloatJNIClass, methodSig: "([FI)V", methodCache: &DataBufferFloat.new_MethodID_3, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _dataArray: [Float]?, _ _size: Int ) {
self.init( dataArray: _dataArray, size: _size )
}
/// public java.awt.image.DataBufferFloat(float[],int,int)
private static var new_MethodID_4: jmethodID?
public convenience init( dataArray: [Float]?, size: Int, offset: Int ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 3 )
__args[0] = JNIType.toJava( value: dataArray, locals: &__locals )
__args[1] = jvalue( i: jint(size) )
__args[2] = jvalue( i: jint(offset) )
let __object = JNIMethod.NewObject( className: "java/awt/image/DataBufferFloat", classCache: &DataBufferFloat.DataBufferFloatJNIClass, methodSig: "([FII)V", methodCache: &DataBufferFloat.new_MethodID_4, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _dataArray: [Float]?, _ _size: Int, _ _offset: Int ) {
self.init( dataArray: _dataArray, size: _size, offset: _offset )
}
/// public java.awt.image.DataBufferFloat(float[][],int)
private static var new_MethodID_5: jmethodID?
public convenience init( dataArray: [[Float]]?, size: Int ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 2 )
__args[0] = JNIType.toJava( value: dataArray, locals: &__locals )
__args[1] = jvalue( i: jint(size) )
let __object = JNIMethod.NewObject( className: "java/awt/image/DataBufferFloat", classCache: &DataBufferFloat.DataBufferFloatJNIClass, methodSig: "([[FI)V", methodCache: &DataBufferFloat.new_MethodID_5, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _dataArray: [[Float]]?, _ _size: Int ) {
self.init( dataArray: _dataArray, size: _size )
}
/// public java.awt.image.DataBufferFloat(float[][],int,int[])
private static var new_MethodID_6: jmethodID?
public convenience init( dataArray: [[Float]]?, size: Int, offsets: [Int32]? ) {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 3 )
__args[0] = JNIType.toJava( value: dataArray, locals: &__locals )
__args[1] = jvalue( i: jint(size) )
__args[2] = JNIType.toJava( value: offsets, locals: &__locals )
let __object = JNIMethod.NewObject( className: "java/awt/image/DataBufferFloat", classCache: &DataBufferFloat.DataBufferFloatJNIClass, methodSig: "([[FI[I)V", methodCache: &DataBufferFloat.new_MethodID_6, args: &__args, locals: &__locals )
self.init( javaObject: __object )
JNI.DeleteLocalRef( __object )
}
public convenience init( _ _dataArray: [[Float]]?, _ _size: Int, _ _offsets: [Int32]? ) {
self.init( dataArray: _dataArray, size: _size, offsets: _offsets )
}
/// public float[][] java.awt.image.DataBufferFloat.getBankData()
private static var getBankData_MethodID_7: jmethodID?
open func getBankData() -> [[Float]]! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getBankData", methodSig: "()[[F", methodCache: &DataBufferFloat.getBankData_MethodID_7, args: &__args, locals: &__locals )
return JNIType.toSwift( type: [[Float]].self, from: __return )
}
/// public float[] java.awt.image.DataBufferFloat.getData(int)
private static var getData_MethodID_8: jmethodID?
open func getData( bank: Int ) -> [Float]! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
__args[0] = jvalue( i: jint(bank) )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getData", methodSig: "(I)[F", methodCache: &DataBufferFloat.getData_MethodID_8, args: &__args, locals: &__locals )
return JNIType.toSwift( type: [Float].self, from: __return )
}
open func getData( _ _bank: Int ) -> [Float]! {
return getData( bank: _bank )
}
/// public float[] java.awt.image.DataBufferFloat.getData()
private static var getData_MethodID_9: jmethodID?
open func getData() -> [Float]! {
var __locals = [jobject]()
var __args = [jvalue]( repeating: jvalue(), count: 1 )
let __return = JNIMethod.CallObjectMethod( object: javaObject, methodName: "getData", methodSig: "()[F", methodCache: &DataBufferFloat.getData_MethodID_9, args: &__args, locals: &__locals )
return JNIType.toSwift( type: [Float].self, from: __return )
}
/// public int java.awt.image.DataBufferFloat.getElem(int)
// Skipping method: false true false false false
/// public int java.awt.image.DataBufferFloat.getElem(int,int)
// Skipping method: false true false false false
/// public double java.awt.image.DataBufferFloat.getElemDouble(int)
// Skipping method: false true false false false
/// public double java.awt.image.DataBufferFloat.getElemDouble(int,int)
// Skipping method: false true false false false
/// public float java.awt.image.DataBufferFloat.getElemFloat(int)
// Skipping method: false true false false false
/// public float java.awt.image.DataBufferFloat.getElemFloat(int,int)
// Skipping method: false true false false false
/// public void java.awt.image.DataBufferFloat.setElem(int,int)
// Skipping method: false true false false false
/// public void java.awt.image.DataBufferFloat.setElem(int,int,int)
// Skipping method: false true false false false
/// public void java.awt.image.DataBufferFloat.setElemDouble(int,double)
// Skipping method: false true false false false
/// public void java.awt.image.DataBufferFloat.setElemDouble(int,int,double)
// Skipping method: false true false false false
/// public void java.awt.image.DataBufferFloat.setElemFloat(int,float)
// Skipping method: false true false false false
/// public void java.awt.image.DataBufferFloat.setElemFloat(int,int,float)
// Skipping method: false true false false false
}
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.