I have a TreeSet that will store several objects of a "Products" class, this class has 3 attributes:
int codProduct;
String descProduct;
float precoProduct;
After storing some "Product" objects in this TreeSet, I ne...
Well, I know the concepts of each one. I just do not know how to differentiate them. For example, a parameterized class is a class that is used to define other classes, and a collection can be represented by a parameterized class. However, what...
I need help with this SQL of Laravel :
$process = $db->table('processo')->where('nrprocesso',$id)
->leftJoin('viatransporte', function($viatransporte){
$viatransporte->on('processo.idviatransporte', '=', 'viatra...
I would like to shuffle an ArrayList, and I'm trying to do this with Collections.sort (), but I do not think it's happening
The code I'm using is this:
Thread t = new Thread(new Runnable() {
@Override
public void run()...
What is the best implementation of the Collection interface for implementing an inventory class?
For example, a stock of grocery products.
My scenario is as follows:
A stock management system from a supermarket, this collection would make t...
Good morning, people.
The circumstance is as follows. I created a Type and it has its attributes.
I would like to know how do I insert data into a collection (in Vb6).
For example: I created the Type Person that has a first and last name attri...