mirror of
https://github.com/meteoinfo/MeteoInfo.git
synced 2025-12-08 20:36:05 +00:00
support DataType.Object array factory method
This commit is contained in:
parent
cb48f4dd85
commit
b59ee6f724
@ -188,6 +188,8 @@ public abstract class Array {
|
||||
return ArrayObject.factory(dtype, StructureDataIterator.class, false, index, (Object[]) storage);
|
||||
case OPAQUE:
|
||||
return ArrayObject.factory(dtype, ByteBuffer.class, false, index, (Object[]) storage);
|
||||
case OBJECT:
|
||||
return ArrayObject.factory(dtype, Object.class, false, index, (Object[]) storage);
|
||||
}
|
||||
|
||||
throw new RuntimeException("Cant use this method for datatype " + dtype);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user