[JAVA] I tried to summarize the methods used

When creating an app, I will add it each time so that I don't forget the method I used.

● order The order method is a method that can sort records. Writing like .order (id: "DESC") means sorting ids in DESC (descending order). The reverse of DESC (descending order) is ASC (ascending order). Do not use the order method The default is ASC.

When ordering memos in descending order. orderメソッド.png

You can now view your notes in descending order.

―――――――――――――――――――――――――――――――――――――― ● floor method Erase the decimal point and make it an integer ex. Math.floor

●ceil Round up

● include? Method The include? method is a method that determines whether the specified element is included in an array or string. include?メソッド.png

Recommended Posts

I tried to summarize the methods used
I tried to summarize the Stream API
I tried to summarize the methods of Java String and StringBuilder
[Ruby] I tried to summarize the methods that frequently appear in paiza
[Ruby] I tried to summarize the methods that frequently appear in paiza ②
I tried to organize the cases used in programming
I tried to summarize the state transition of docker
I tried to summarize various link_to used this time
I tried to summarize iOS 14 support
I tried to explain the method
I tried to summarize Java learning (1)
I tried to summarize Java 8 now
I tried to summarize the basics of kotlin and java
I tried to summarize the basic grammar of Ruby briefly
I tried to summarize Java lambda expressions
I tried to implement the Iterator pattern
What is Docker? I tried to summarize
I tried to summarize the words that I often see in docker-compose.yml
I tried to summarize what was asked at the site-java edition-
[Ruby] Tonight, I tried to summarize the loop processing [times, break ...]
Special Lecture on Multi-Scale Simulation: I tried to summarize the 5th
Special Lecture on Multi-Scale Simulation: I tried to summarize the 8th
Special Lecture on Multi-Scale Simulation: I tried to summarize the 7th
[Rails] I tried to raise the Rails version from 5.0 to 5.2
I tried to organize the session in Rails
[Must see !!!] I tried to summarize object orientation!
The code I used to connect Rails 3 to PostgreSQL 10
I tried to set tomcat to run the Servlet.
I tried to summarize the stumbling points when developing an Android application
I tried to summarize the key points of gRPC design and development
[Introduction to Java] I tried to summarize the knowledge that I think is essential
I tried to decorate the simple calendar a little
05. I tried to stub the source of Spring Boot
I tried to reduce the capacity of Spring Boot
I tried to summarize again the devise that was difficult at first sight
I tried the Docker tutorial!
I tried the VueJS tutorial!
[JavaScript] The strongest case when I tried to summarize the parts I do not understand
I tried the FizzBuzz problem
I tried to verify yum-cron
I tried to implement the Euclidean algorithm in Java
I tried to summarize the points to consider when acquiring location information with the iOS application ①
I tried to summarize the points to consider when acquiring location information with the iOS application ②
I tried to implement the like function by asynchronous communication
I tried to introduce Bootstrap 4 to the Rails 6 app [for beginners]
I tried to increase the processing speed with spiritual engineering
[JDBC] I tried to access the SQLite3 database from Java.
[Swift] I tried to implement the function of the vending machine
I tried to build the environment little by little using docker
I tried to summarize personally useful apps and development tools (development tools)
I tried to build the environment of WSL2 + Docker + VSCode
I tried to summarize personally useful apps and development tools (Apps)
I tried validation to unify the way hashtags are written
I tried to summarize object orientation in my own way.
I tried upgrading from CentOS 6.5 to CentOS 7 with the upgrade tool
I tried to chew C # (indexer)
I tried to interact with Java
I tried the Java framework "Quarkus"
[Rails] I tried deleting the application
The story I wanted to unzip
I tried to understand nil guard