There are only two things missing in my app; one is saving and loading the data from internal storage and the other one is the connection to the backend which won't take long either :)
Please don't use chat as fastlane for your questions. Instead, wait a few days before asking here to give the people on the main site some time. If we want to answer questions there, we will look for them on our own.
Mexicans drink more Coke than any other country in the world. Mexicans drink about 745 Coke beverages per year. Americans drink about 401 Coke products a year. (source)
This is a list of states (and some territories) by the annual prevalence of cocaine use as percentage of the population aged 15–64 (unless otherwise indicated). published by the United Nations Office on Drugs and Crime (UNODC). The indicator is the "annual prevalence" rate which is the percentage of the youth and adult population who have consumed the drug at least once in the past year.
According to a recent study, 5 Swiss cities (St Gallen, Bern, Zurich, Basel and Geneva) were listed among top 10 European cities for cocaine use.
== See also ==
List of countries by prevalence of opiates use
List...
@Wietlol The problem I have is that these are getters for Spring serialization to JSON or XML, so if I want to sort right before presentation, these are the last stage I can do so.
Here's the thing: I'm exporting an object graph, and I want to ensure that in the resulting XML/JSON the elements are sorted by their ID. I have already made it so that every class that I export implements Comparable with compare logic this.getid().compareTo(other.getId())
There won't be duplicate ids on the export either
but when the data gets imported again, the data might be malformed and HAVE duplicate ids
@Wietlol So it is easier for human readers to update a specific entry in the object graph. It can already be hundreds of elements nested up to 7 layers or so deep
@Wietlol That is the intent, yes. The export and import are meant so projects can be duplicated with deeper edits, or moved from one system to another
The problem some of our clients have is that they have a very large project in their test environment and they want to copy it to their production environment
but in order to ensure that things match up, there might need to be done some minor edits like changing certain references that aren't exactly the same.
And the way that it's modeled is that there's 2 layers of tree: an inner tree containing just the data, which includes the sorting, and an outer tree that's just a wrapper around the inner tree where each outer element has a 1 to 1 matching to an inner tree object, with the Java annotations needed for JSON and JAXB processing
I'm working on a new project and I wanted to make sense of it before start coding. See how everything works together before start coding, etc - we all been there. Can you guys recommend me any tool or methodology for doing this?
@LucasBustamante So we're clear: you're talking about setting up a new project from scratch where you don't have any code yet and you want to first figure out the rough schematic of the project?
I want to start a complex software project with conscious design and architecture based on the translation of the client needs into software-level requirements - I want to build this conscious design and architecture, at least some of it, before start coding the project
For that I wonder if there are some tools or methodologies that I could use