Infinite streams in Java

dc.contributor.authorGruntz, Dominik
dc.contributor.editorGitzel, Ralf
dc.contributor.editorAleksy, Markus
dc.contributor.editorSchader, Martin
dc.contributor.editorKrintz, Chandra
dc.date.accessioned2025-07-24T09:10:34Z
dc.date.issued2006
dc.description.abstractProgramming languages which support lazy evaluation allow the definition of infinite streams as for example the stream of natural numbers or of prime numbers. Such streams are infinite in the sense that arbitrary many elements can be accessed as these elements are computed "on demand". This paper describes how infinite streams can be implemented in Java, a language which does not support lazy evaluation directly. Two possible implementations are described and compared. Furthermore it is shown how streams can be defined as fixed points of maps on infinite streams and how formal power series can be defined using infinite streams. As user interface to work with such streams Groovy is used.
dc.event4th international conference on principles and practices of programming in Java
dc.event.end2006-09-01
dc.event.start2006-08-30
dc.identifier.doihttps://doi.org/10.1145/1168054.1168080
dc.identifier.isbn978-3-939352-05-1
dc.identifier.urihttps://irf.fhnw.ch/handle/11654/52269
dc.language.isoen
dc.publisherACM
dc.relation.ispartofProceedings of the 4th international conference on principles and practices of programming in Java
dc.relation.ispartofseriesACM international conference proceedings series
dc.spatialMannheim
dc.subject.ddc005 - Computer Programmierung, Programme und Daten
dc.titleInfinite streams in Java
dc.type04B - Beitrag Konferenzschrift
dspace.entity.typePublication
fhnw.InventedHereYes
fhnw.ReviewTypeAnonymous ex ante peer review of a complete publication
fhnw.affiliation.hochschuleHochschule für Informatik FHNWde_CH
fhnw.affiliation.institutInstitut für Mobile und Verteilte Systemede_CH
fhnw.openAccessCategoryClosed
fhnw.pagination182-187
fhnw.publicationStatePublished
relation.isAuthorOfPublication755e3e7b-10ac-4e21-8501-b16ffd376741
relation.isAuthorOfPublication.latestForDiscovery755e3e7b-10ac-4e21-8501-b16ffd376741
Dateien

Lizenzbündel

Gerade angezeigt 1 - 1 von 1
Lade...
Vorschaubild
Name:
license.txt
Größe:
2.66 KB
Format:
Item-specific license agreed upon to submission
Beschreibung: