National Repository of Grey Literature 2 records found  Search took 0.01 seconds. 
Functional Programming in Java
VYSOCKÝ, Milan
The aim of this bachelor thesis is to introduce functional (declarative) programming with all its main features in the theoretical and practical part, analyze its implementation and compare it with object oriented (imperative) programming. The theoretical part is focused on functional programming, where its basic principles will be clarified, implementation in Java and why this programming paradigm was developed. Using relatively new language features, i.e. lambda expressions, streams, default methods, functional interfaces, whose implementation among other things, will be analyzed, will be introduced the possibilities of functional programming in Java. By comparing functional programming and object-oriented programming, the advantages and disadvantages of each approach are considered. In the practical part of the bachelor thesis there are programmed several practical examples documenting the possibility of using all the language features mentioned above.
Possibilities of Declarative Programming in Java 8
Rytych, Maxim ; Pecinovský, Rudolf (advisor) ; Pavlíčková, Jarmila (referee)
This paper concerns itself with possibilities of declarative programming in the new version of Java 8 language, specifically using elements adopted from the domain of functional programming languages: function as a value and lazy streams of data. The goal of this paper is to demonstrate possibilities of declarative programming using these elements, analyze its implementation and design own extensions. The contribution lies particularly in showing possibilities of the new elements, implementation analysis and design of a new functionality. The output can be used by a Czech reader, who is at least slightly advanced in the field of information technologies. The paper is divided into a theoretical and practical parts. Theoretical part is covered by chapters 3-8. Theoretical part describes motivation for introduction of the new elements, describes functional programming and its basic principles, then it shows basic principles of the newly introducted elements and ends with the description of the java.util.stream package. Pactical part is covered by chapters 9 and 10. Practical part concerns with stream oper-ations and extension design of existing functionality.

Interested in being notified about new results for this query?
Subscribe to the RSS feed.