Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Posts about Groovy

Groovy is optional

May 14, 2021 20:00 0 Comment Groovy

Groovy is optional, Groovy is an "optional" type of language, and this distinction is an important language when understanding the fundamentals of language. J, ava is a "

Groovy features

May 14, 2021 21:00 0 Comment Groovy

Implement the interface, Implement the interface, Property, The composition of the behavior, Extended features, Features are the structural construction of the language, allowing -, The composition of the behavior., The runtime implementation of the interface.,

Groovy JMX

May 14, 2021 21:00 0 Comment Groovy

Monitor the JVM, Monitor the JVM, Monitor Tomcat, JMX is the defacto standard that monitors all applications that have anything to do with the Java virtual environment., va., Monitor the JVM, JVM moni

Groovy XML

May 14, 2021 21:00 0 Comment Groovy

What is XML?, What is XML?, XML support in Groovy, XML tag generator, XML parsing, XML is a portable, open source language that allows programmers to develop applications that can be read by other applications, regardless of operatin

Groovy comment

May 14, 2021 21:00 0 Comment Groovy

A one-line comment, A one-line comment, Multiple lines of comments, The type of string, The enumerity type, Class type, Comment member values, Close the comment parameters, Meta-comments, Comments are forms of metadata that provides data about programs that are not part of the program itself., Comments have no direct effect on the opera

Groovy closure

May 14, 2021 21:00 0 Comment Groovy

The formal parameters in the closure, The formal parameters in the closure, Closures and variables, Use closures in methods, Closures in collections and strings, The method used by the closure, A closure is a short block of anonymous code. I, t usually spans several lines of code. O, ne method can even use blocks of code as arguments., They a

Groovy generics

May 14, 2021 21:00 0 Comment Groovy

The universality of the collection, The universality of the collection, Generic class, Generic enable types (classes and interfaces) are used as parameters when defining classes, interfaces, and methods., b20>, pe., The universality of t

Groovy is object-oriented

May 14, 2021 21:00 0 Comment Groovy

Getter and setter methods, Getter and setter methods, The instance method, Create multiple objects, Inherited, Extended, The internal class, Abstract class, Interface, In Groovy, as in any other object-oriented language, there are concepts of classes and objects to represent the object-oriented nature of the programm

Groovy exception handling

May 14, 2021 21:00 0 Comment Groovy

Catch an exception, Catch an exception, Multiple capture blocks, finally block, Any programming language requires exception handling to handle run-time errors so that the application's normal flow can be maintained., Exceptions of

Groovy regular expression

May 14, 2021 21:00 0 Comment Groovy

Groovy regular expression, Regular expressions are patterns used to find substrings in text., Groovy, 〜“regex”, The text contained in the quotation marks represents the expressi

Groovy date and time

May 14, 2021 21:00 0 Comment Groovy

Groovy date and time, Date(), Date (long milliseconds). ), Class Date represents a specific moment with millisecond accuracy., The Date class has two constructors, as shown below., Date(), Syntactic, public Da

Groovy JSON

May 14, 2021 22:00 0 Comment Groovy

JSON function, JSON function, Use Jason Slurper to parse the data, JsonOutput, This chapter describes how to use the Groovy language to parse and generate JSON objects., JSON function, Function, Library, JsonSlurper, Json Slurper

Groovy DSLS

May 14, 2021 22:00 0 Comment Groovy

Groovy DSLS, Groovy allows parentheses to be omitted around the parameters of the method call of the top-level statement., ls., his extension works by allowing a p

Groovy database

May 14, 2021 22:00 0 Comment Groovy

The database connection, The database connection, Create a database table, The insertion operation, Read the operation, The update operation, Delete the action, The transaction is executed, Submit the action, Roll back the operation, Disconnect the database, Groovy's groovy-sql module provides more advanced abstractions than the current Java JDBC technology., The Groovy sql API supports a wide variety of d

Groovy Builder

May 14, 2021 22:00 0 Comment Groovy

Groovy Builder, Swing Builder, The event handler, DOM generator, JsonBuilder, NodeBuilder, FileTreeBuilder, During software development, developers sometimes spend a lot of time creating data structures, domain classes, XML, GUI layouts, output streams, and