@@ -166,7 +166,7 @@ you can use the casting operators.
166
166
print (type (d)) # prints double[]
167
167
168
168
Great. Now you just need to figure out how to convert from a Java array into
169
- our something our visualization code can deal with. As nothing indicates that
169
+ something our visualization code can deal with. As nothing indicates that
170
170
you need to convert the array, you just copy out of the visualization tool
171
171
example and watch what happens.
172
172
@@ -189,7 +189,7 @@ Laboratory. (For the purpose of this exercise we will ignore the fact that
189
189
Hawkins was shut down in 1984 and Java was created in 1995). You have the test
190
190
subject strapped in and you just need to start the experiment. So you pull up
191
191
Jupyter notebook your boss gave you and run through the cells. You need to
192
- added some heart wave monitor to the list of graphed results.
192
+ add some heart wave monitor to the list of graphed results.
193
193
194
194
The relevant section of the API for the Experiment appears to be
195
195
@@ -268,7 +268,7 @@ in a window. Job well done, so you set the runtime back to one hour. Looks
268
268
like you still have time to make the intern woodlands hike and forest picnic.
269
269
Though you wonder if maybe next year you should sign up for another laboratory.
270
270
Maybe next year, you will try to sign up for those orbital lasers the President
271
- was talking about in the March. That sounds like real fun.
271
+ was talking about back in March. That sounds like real fun.
272
272
273
273
(This advanced demonstration utilized the concept of Proxies_ and
274
274
`Code completion` _)
@@ -330,7 +330,7 @@ in Python. However, the Java Virtual Machine (JVM) is used for many popular
330
330
languages such a Kotlin and Scala. As such JPype can be used for any language
331
331
which used the JVM .
332
332
333
- That said each language has its own special properties that tend to be
333
+ That said, each language has its own special properties that tend to be
334
334
represented in different ways. If you would like JPype fully to operate on your
335
335
particular language the following is required.
336
336
@@ -382,7 +382,7 @@ costs to share data structures between Java and Python and potentially much
382
382
higher level of integration. Noted downsides of Jython are that it has lagged
383
383
well behind the state of the art in Python; it has a limited selection of
384
384
modules that can be used; and the Python object thrashing is not particularly
385
- well fit in Java virtual machine leading to some known performance issues.
385
+ well suited for the Java virtual machine, leading to some known performance issues.
386
386
387
387
`Py4J < https:// py4j.org/ > ` _
388
388
-------------------------- -
0 commit comments