@Test public void testGetBoolean_Offset_OutOfBounds() { BooleanArraySeries s = new BooleanArraySeries(new boolean[]{true, false, true, false}, 1, 2); assertThrows(ArrayIndexOutOfBoundsException.class, () -> s.getBoolean(2)); }
@Override public boolean getBoolean(int index) { if (index >= size) { throw new ArrayIndexOutOfBoundsException(index); } return data[offset + index]; }
BooleanArraySeries extends BooleanBaseSeries { @Override public boolean getBoolean(int index) { if (index >= size) { throw new ArrayIndexOutOfBoundsException(index); } return data[offset + index]; } }
BooleanArraySeries extends BooleanBaseSeries { @Override public boolean getBoolean(int index) { if (index >= size) { throw new ArrayIndexOutOfBoundsException(index); } return data[offset + index]; } BooleanArraySeries(boolean... data);  BooleanArraySeries(boolean[] data, int offset, int size); }
BooleanArraySeries extends BooleanBaseSeries { @Override public boolean getBoolean(int index) { if (index >= size) { throw new ArrayIndexOutOfBoundsException(index); } return data[offset + index]; } BooleanArraySeries(boolean... data);  BooleanArraySeries(boolean[] data, int offset, int size); @Override int size(); @Override boolean getBoolean(int index); @Override void copyToBoolean(boolean[] to, int fromOffset, int toOffset, int len); @Override BooleanSeries headBoolean(int len); @Override BooleanSeries tailBoolean(int len); @Override BooleanSeries rangeOpenClosedBoolean(int fromInclusive, int toExclusive); @Override BooleanSeries materializeBoolean(); @Override int countTrue(); @Override int countFalse(); }
BooleanArraySeries extends BooleanBaseSeries { @Override public boolean getBoolean(int index) { if (index >= size) { throw new ArrayIndexOutOfBoundsException(index); } return data[offset + index]; } BooleanArraySeries(boolean... data);  BooleanArraySeries(boolean[] data, int offset, int size); @Override int size(); @Override boolean getBoolean(int index); @Override void copyToBoolean(boolean[] to, int fromOffset, int toOffset, int len); @Override BooleanSeries headBoolean(int len); @Override BooleanSeries tailBoolean(int len); @Override BooleanSeries rangeOpenClosedBoolean(int fromInclusive, int toExclusive); @Override BooleanSeries materializeBoolean(); @Override int countTrue(); @Override int countFalse();  }