About 693,000 results
Open links in new tab
  1. java - Difference between DTO, VO, POJO, JavaBeans? - Stack Overflow

    Oct 23, 2009 · Value Object: Use when need to measure the objects' equality based on the objects' value. Data Transfer Object : Pass data with multiple attributes in one shot from client to server across layer, to avoid multiple calls to remote server.

  2. Value Object Pattern in Java: Enhancing ... - Java Design Patterns

    Explore the Value Object pattern in Java with our in-depth guide. Learn how immutable objects enhance performance and memory efficiency in software design. Ideal for developers looking to optimize Java applications.

  3. java - return object value - Stack Overflow

    Dec 25, 2010 · You are getting a List object back. You can use the Person object to get the data that you need. To get to the Person objects, iterate over the list. List<Person> people = findAll(); for Person p : people { String phoneNumber = p.phoneNumber(); String name = p.Name(); }

  4. JEP 401: Value Classes and Objects (Preview) - OpenJDK

    Aug 13, 2020 · Enhance the Java Platform with value objects, class instances that have only final fields and lack object identity. This is a preview language and VM feature.

  5. Object (Java Platform SE 8 ) - Oracle

    Returns a hash code value for the object. This method is supported for the benefit of hash tables such as those provided by HashMap.

  6. JEP draft: Value Objects (Preview) - OpenJDK

    Nov 16, 2021 · Enhance the Java object model with value objects, class instances that have only final instance fields and lack object identity. This is a preview language and VM feature.

  7. Value Object - Martin Fowler

    Nov 14, 2016 · Vaughn Vernon's description is probably the best in-depth discussion of value objects from a DDD perspective. He covers how to decide between values and entities, implementation tips, and the techniques for persisting value objects. The term started gaining traction in the early noughties.

  8. Value object - Wikipedia

    In computer science, a value object is a small object that represents a simple entity whose equality is not based on identity: i.e. two value objects are equal when they have the same value, not necessarily being the same object. [1][2] Examples of value objects are objects representing an amount of money or a date range.

  9. Java reflection: how to get field value from an object, not …

    Apr 23, 2013 · Assuming a simple case, where your field is public: Class<?> clazz = x.getClass(); Field field = clazz.getField("fieldName"); //Note, this can throw an exception if the field doesn't exist. Object fieldValue = field.get(x);

  10. Value-Based Classes in Java - Baeldung

    Jun 11, 2024 · Value-based classes are one of the features introduced by Project Valhalla to introduce primitive, immutable values to the Java language without the added overhead that traditional object-oriented classes bring. 2.2. Primitives and Value-Types.

  11. Some results have been removed
Refresh