Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4617306
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:06:21+00:00 2026-05-22T02:06:21+00:00

i often have in java projects a lot of small helper(storage) classes like 2-Tuple,

  • 0

i often have in java projects a lot of small helper(“storage”) classes like
2-Tuple, 3-Tuple, Point, .. (think you know what i mean)
Classes that mostly only have class variables, a constructor and getters/setters.

And in my current project, i wanted to store those small classes, that are often used in a lot of other classes in the project in a seperate package. But i do not really know how to name it (my motherlanguage is not english, but code should be for english readers.)

Hope you can give me an answer on this little questions.

Greetings
🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T02:06:22+00:00Added an answer on May 22, 2026 at 2:06 am

    Different people would name these differently as the names are a matter of personal choice.

    A few options:

    1. If the storage classes conform to the Javabeans conventions, you could add the suffix “Bean” eg PointBean

    2. I have also seen a suffix of “DO” or “VO” being used to denote a “data object” or “value object”. eg PointDO

    3. You could leave the class name as is eg Point. However if you feel that it does not convey the fact it is a storage class, try to make the package name convey that fact eg
      com.xyz.valueobjects.Point
      or
      com.xyz.dataobjects.Point
      or
      com.xyz.storage.Point

    Personally I like to use style #3.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lately I often have to read Java code like this: LinkedHashMap<String, Integer> totals =
In a software-project written in java you often have resources, that are part of
I often have customer requesting changing properties, like the version history setting on all
I think most of you will know, programmers often reuse code from other software.
I work on an open-source Java project, and we have a lot of resource
Recently I have heard statements like you should never use wildcard imports too often.
I have written a relatively simple Java App Engine application which I would like
I often have to sort a dictionary (consisting of keys & values) by value.
I often have data in Excel or text that I need to get into
I often have nothing more than an FTP access to a server on which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.