Hi everyone,
Since java always come out the new versions. For the moment I'm using java 7, but when I start using java 8 I feel confused that everything has changed, how can I solve this problem?
Type: Posts; User: glprobot
Hi everyone,
Since java always come out the new versions. For the moment I'm using java 7, but when I start using java 8 I feel confused that everything has changed, how can I solve this problem?
Thanks, I solved.
Thanks, I solved.
risolto:
public void fillVeicoloDataFineValidita() {
for (int rowIndex = 1; rowIndex < dataTypeSheet.getPhysicalNumberOfRows(); rowIndex++) {
currentRow =...
Grazie
public static void main(String[] args) throws IOException {
ArrayList<String> listCliente = new ArrayList<>();
ArrayList<String> listCliente1 = new ArrayList<>();
BufferedReader reader =...
yes the column is completely filled in, how can I solve the problem?
In practice, I like to write this code in column F.
But when he writes in column F, he deletes the data from the other columns, how come?
column
A B C D E F
0
1...
public void scriviNewId() throws IOException {
String FILE_NAME = "C:\\Users\\java\\Desktop\\x.xlsx";
InputStream inp = new FileInputStream(FILE_NAME);
Workbook wb =...
clienteIndex --> return 999
veicoloIndex--> 12
1-What statement gives that exception?
System.out.println("Indice Cliente: " + cliente.getVeicoloId().size()); --> Indice Cliente: 12
System.out.println("Indice Veicolo:" +...
I checked the indexes and return both 12 values. But I still don't understand why size () behaves this way.
I removed the size () and I put 12 in this way it works. But with the size () even if it...
As I understand the error gives me when I change the license plates in the Excel file.
When the plates have changed and they go into the else, they have to insert and here they go wrong because the...
ok, but in my case since I have problems with indexes, how can I do to solve, given that they have different sizes?
if I understand correctly, since they are two lists. Just 1 index is enough
as i could understand i have to use only 1 index, which makes me equality. In this way I don't want to go wrong, I have to try.
Quite right?
yes, as you can see in the code they use the index, I don't know how I can solve, they are days that pass
(cliente.getTarga().get(clienteIndex)
When I compare in the first sheet it appears that...
cliente.getTarga()
for (clienteIndex = 0; clienteIndex < cliente.getVeicoloId().size(); clienteIndex++) {
boolean match = false;
for (veicoloIndex = 0; veicoloIndex < veicolo.getVeicoloId().size();...
https://poi.apache.org/apidocs/dev/org/apache/poi/xssf/usermodel/XSSFSheet.html
XSSFSheet dataTypeSheet
The indices are driving me crazy
I used this bee, because I don't know how to do it. Are there other alternatives?
Since the size () method exists with Arrraylist, to know the size of the elements.
Instead using apache then how can I know the cell size in excel, to know how many records there are?
...
public void confrontaLaTernaDispositivoVeicolo() throws IOException {
String pathQueryDispositivoVeicolo = "C:\\Users\\java\\Desktop\\queryDispositivoVeicolo.txt";
File...
public void confrontaLaTernaDispositivoVeicolo() throws IOException {
String pathQueryDispositivoVeicolo = "C:\\Users\\java\\Desktop\\queryDispositivoVeicolo.txt";
File...