[Java] UInt4Vector/UInt8Vector can't represent their full range
- Linguagem predominante
- Java
- Estrelas
- 94
- Forks
- 152
- Merge médio
- 3d 16h
- PRs com merge (30d)
- 11
Descrição
### Describe the bug, including details regarding any error messages, version, and platform.
The `Uint4Vector` set methods only accept an `int` type. I have some `uint32` values which I currently hold as `long` values in Java, as Java does not support unsigned integer types; long ensures no overflow. When writing to Arrow though, I would like to write it as its true `uint32` representation. Similar issue with `Uint8Vector`, where it only accepts `long` and no `BigInteger`. I did notice that `Uint2Vector` _does_ allow input as either `int` or `char`; so just seems the other UInt structures were neglected.
### Component(s)
Java
Guia de contribuição
Direção de pesquisa
Comece pelos métodos set de Uint4Vector e Uint8Vector descritos na issue e, em seguida, compare as entradas aceitas por eles com as sobrecargas int e char existentes de Uint2Vector. O trabalho estará concluído quando Uint4Vector puder representar os valores uint32 relevantes e Uint8Vector aceitar os valores BigInteger necessários sem overflow.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java
- Domínio
- data
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100