I have a project that runs in vb and I have to move to Java, in a certain part I have the structure declarations. My question is: What is the best way to do this in Java without loss of performance?
The files I have to read are large and will be saved in SQL, I can not send them directly because I have to process the data, but I think creating an object for each structure is very cumbersome.
Example:
Public Type defItemVendidoComp
data As Date
Hora As String * 8
NumeroPDV As Integer
TipoTransacao As Byte
Sequencial As Long
NumeroCupom As Long
Operador As String * 6
CodigoAutomacao As Double
DigitoAutomacao As Byte
CodigoInterno As Double
DigitoInterno As Byte
Peso As Single
PesoMin As Single
PesoMax As Single
Tolerancia As Single
End Type