Closures in Groovy and Java

Thesis title: Uzávěry v programovacích jazycích Groovy a Java
Author: Černý, Michael
Thesis type: Bakalářská práce
Supervisor: Pavlíček, Luboš
Opponents: Zilvar, Tomáš
Thesis language: Česky
Abstract:
Tato bakalářská práce se zabývá uzávěry v programovacím jazyce Groovy a jejich zavedením do programovacího jazyka Java. Práce dává dohromady všechny dostupné informace o uzávěrech v Groovy a porovnává důležité návrhy pro zavedení uzávěrů do Javy. V první části práce je vysvětlen pojem uzávěr, popsán vývoj toho pojmu a s ním související problematika. V druhé části autor rozebírá uzávěry v programovacím jazyce Groovy. Práce se blíže zabývá způsoby použití, syntaxí, způsobem volání, hodnotou, kterou uzávěr vrací, a rozsahem platnosti proměnných spojenými s uzávěry v Groovy. V třetí části jsou popsány návrhy, které se staly inspirací pro pracovní skupinu, která pracuje na finální podobě pro zavedení uzávěrů do Javy, a také první a poslední dostupný návrh této pracovní skupiny. Nakonec autor porovnává podobu uzávěrů v Groovy s posledním návrhem na zavedení uzávěrů do Javy.
Keywords: lambda; BGGA; uzávěr; FCM; CICE; Groovy; Java
Thesis title: Closures in Groovy and Java
Author: Černý, Michael
Thesis type: Bachelor thesis
Supervisor: Pavlíček, Luboš
Opponents: Zilvar, Tomáš
Thesis language: Česky
Abstract:
This bachelor thesis deals with the closures in Groovy programming language and their implementation to Java programming language. It compiles all the available information about the closures in Groovy and compares the important projects which aim to implement the closures in Java. The first part of the thesis explains the term of closure, describes the development of this term and related issues. In the second part the author analyses the closures in Groovy programming language. The theses deals closer with the usage methods, syntax, calling methods, the value that the closure returns and the scope of the variables concerning the closers in Groovy. The third part describes the projects which inspired the work group which works on the final form of closures to be implemented in Java and also the first and the last available project of this work group. Finally the author compares the form of Groovy closures to the last project about the Java closure implementation.
Keywords: Java; BGGA; lambda; FCM; CICE; closure; Groovy

Information about study

Study programme: Aplikovaná informatika/Informatika
Type of study programme: Bakalářský studijní program
Assigned degree: Bc.
Institutions assigning academic degree: Vysoká škola ekonomická v Praze
Faculty: Faculty of Informatics and Statistics
Department: Department of Information Technologies

Information on submission and defense

Date of assignment: 8. 11. 2010
Date of submission: 1. 5. 2011
Date of defense: 22. 6. 2011
Identifier in the InSIS system: https://insis.vse.cz/zp/28702/podrobnosti

Files for download

    Last update: