return binArray;
}
private static Bin[] getBins(Map<String, Object> bins) throws AerospikeException {
if (bins == null) {
throw new AerospikeException(ResultCode.PARAMETER_ERROR, "Null bins");
}
Bin[] binArray = new Bin[bins.size()];
int count = 0;
for (Entry<String,Object> entry : bins.entrySet()) {