@Test public void testRemove() { TimestampSet set = new TimestampSet(); double t = 1.0; set.add(t); Assert.assertTrue(set.remove(t)); Assert.assertTrue(set.isEmpty()); Assert.assertFalse(set.contains(t)); }
@Override public boolean remove(Double timestamp) { return removeInner(timestamp) >= 0; }
TimestampSet implements TimeSet<Double> { @Override public boolean remove(Double timestamp) { return removeInner(timestamp) >= 0; } }
TimestampSet implements TimeSet<Double> { @Override public boolean remove(Double timestamp) { return removeInner(timestamp) >= 0; } TimestampSet();  TimestampSet(int capacity);  TimestampSet(double[] arr); }
TimestampSet implements TimeSet<Double> { @Override public boolean remove(Double timestamp) { return removeInner(timestamp) >= 0; } TimestampSet();  TimestampSet(int capacity);  TimestampSet(double[] arr); @Override boolean add(Double timestamp); @Override boolean remove(Double timestamp); @Override int size(); @Override boolean isEmpty(); @Override boolean contains(Double timestamp); @Override Double[] toArray(); @Override double[] toPrimitiveArray(); @Override void clear(); @Override int hashCode(); @Override boolean equals(Object obj); String toString(TimeFormat timeFormat, DateTimeZone timeZone); String toString(TimeFormat timeFormat); @Override String toString(); }
TimestampSet implements TimeSet<Double> { @Override public boolean remove(Double timestamp) { return removeInner(timestamp) >= 0; } TimestampSet();  TimestampSet(int capacity);  TimestampSet(double[] arr); @Override boolean add(Double timestamp); @Override boolean remove(Double timestamp); @Override int size(); @Override boolean isEmpty(); @Override boolean contains(Double timestamp); @Override Double[] toArray(); @Override double[] toPrimitiveArray(); @Override void clear(); @Override int hashCode(); @Override boolean equals(Object obj); String toString(TimeFormat timeFormat, DateTimeZone timeZone); String toString(TimeFormat timeFormat); @Override String toString();  }