Skip to content

albihasani94/play.with.records

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

Play with records

This repo demonstrates the evolution from heavyweight Java objects to the concept of records as data stores.

Useful Commands

--enable-preview must be added to the javac and java in order to enable the records preview

javac --enable-preview --release 14 --module-path mods -d classes --module-source-path src $(find src -name "*.java")
jar --create --file=mods/play.with.records.jar --main-class=play.with.records.Main -C classes/play.with.records .
java --enable-preview --module-path mods --module play.with.records

About

Test the new record construct coming as a preview on Java 14

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published