/** * Get the element at the specified position. * * @param index position of the value * @return value of the element, if not null * @throws IllegalStateException if the value is null */ public char get(int index) { if (isNull(index)) { throw new IllegalStateException("Can't get a null value"); } return vAccessor.get(index); }
/** * Get the element at the specified position. * * @param index position of the value * @return value of the element, if not null * @throws IllegalStateException if the value is null */ public char get(int index) { if (isNull(index)) { throw new IllegalStateException("Can't get a null value"); } return vAccessor.get(index); }
public boolean isSet() { return !vector.getAccessor().isNull(idx()); }
@Override public Character getObject(int index) { if (isNull(index)) { return null; } else { return vAccessor.getObject(index); } }
public void copyFrom(int fromIndex, int thisIndex, NullableUInt2Vector from){ final Accessor fromAccessor = from.getAccessor(); if (!fromAccessor.isNull(fromIndex)) { mutator.set(thisIndex, fromAccessor.get(fromIndex)); } }
@Override public boolean isNull(int index) { return ac.isNull(index); }
@Override public Object getObject(int index) { if (ac.isNull(index)) { return null; } return ac.getObject(index); }
public boolean isSet() { return !vector.getAccessor().isNull(idx()); }
public void copyFrom(int fromIndex, int thisIndex, NullableUInt2Vector from){ final Accessor fromAccessor = from.getAccessor(); if (!fromAccessor.isNull(fromIndex)) { mutator.set(thisIndex, fromAccessor.get(fromIndex)); } }
@Override public Character getObject(int index) { if (isNull(index)) { return null; } else { return vAccessor.getObject(index); } }