Results 111 to 120 of about 4,530 (127)
Some of the next articles are maybe not open access.
ACM SIGPLAN Notices, 2006
This paper introduces interruptible iterators, a language feature that makes expressive iteration abstractions much easier to implement. Iteration abstractions are valuable for software design, as shown by their frequent use in well-designed data structure libraries such as the Java Collections Framework.
Andrew C. Myers, Aaron Kimball, Jed Liu
openaire +2 more sources
This paper introduces interruptible iterators, a language feature that makes expressive iteration abstractions much easier to implement. Iteration abstractions are valuable for software design, as shown by their frequent use in well-designed data structure libraries such as the Java Collections Framework.
Andrew C. Myers, Aaron Kimball, Jed Liu
openaire +2 more sources
1997
This chapter introduces control and iteration in Java. In Java, as in many other languages, the mainstay of the control and iteration processes are the if and switch statements and the for and while loops.
openaire +2 more sources
This chapter introduces control and iteration in Java. In Java, as in many other languages, the mainstay of the control and iteration processes are the if and switch statements and the for and while loops.
openaire +2 more sources
Iterables, Iterators, Generators and Coroutines
2019There are two protocols that you are very likely to use, or will possibly need to implement at some point or other; these are the Iterable protocol and the Iterator protocols. These two closely related protocols are very widely used and supported by a large number of types.
openaire +2 more sources
Iterable Sequences with Generators and Iterators
2019Storing and manipulating data in collections in JavaScript is not only easy, but also elegant. However, iterating is another matter. Consider arrays. In order to iterate and fetch the elements of an array, we use contrived syntax like the for (let i = 0; i < array.length; i++) loop, or even worse, the for-in loop. But that’s not the end of it! Every so
openaire +2 more sources
1978
In Algol 68 arrays are called ‘multiple values’. The most straightforward way of creating a multiple value is to use a ‘row display’. An example of a row display is which is a collateral clause all of whose components are of mode int. Collateral clauses have various uses, but when treated as a row display the mode of the above clause is ‘row of
openaire +2 more sources
In Algol 68 arrays are called ‘multiple values’. The most straightforward way of creating a multiple value is to use a ‘row display’. An example of a row display is which is a collateral clause all of whose components are of mode int. Collateral clauses have various uses, but when treated as a row display the mode of the above clause is ‘row of
openaire +2 more sources