Statements (25)
Predicate | Object |
---|---|
gptkbp:instance_of |
gptkb:Java_programming_language
|
gptkbp:are_part_of |
gptkb:Java_SE_16
|
gptkbp:automatically_generates |
equals() method
hash Code() method to String() method |
gptkbp:can |
static methods
instance methods custom constructors |
gptkbp:can_be_used_with |
pattern matching
|
gptkbp:cannot_extend |
other classes
|
gptkbp:field |
final by default
|
gptkbp:formulation |
uses the 'record' keyword
|
https://www.w3.org/2000/01/rdf-schema#label |
Java records
|
gptkbp:improves |
code readability
|
gptkbp:introduced_in |
gptkb:Java_14
|
gptkbp:is_designed_to |
data transfer objects (DTOs)
|
gptkbp:is_implemented_in |
interfaces
|
gptkbp:nesting |
within other classes
|
gptkbp:purpose |
to provide a compact syntax for data carriers
|
gptkbp:reduces |
boilerplate code
|
gptkbp:serialization |
using standard serialization
|
gptkbp:support |
immutable data
|
gptkbp:type_of |
reference type
|
gptkbp:bfsParent |
gptkb:javac
|
gptkbp:bfsLayer |
5
|