code: @Override
    public boolean validateSegmentBoundary(Object o) throws IOException {
      if (o instanceof Long) {
        return validateWithSegmentBoundary((Long) o);
      } else {
        throw new IOException("incorrect type ");
      }
    }
docs: /*
  (non-Javadoc)
  
  @see
  mtas.codec.util.collector.MtasDataCollector#validateSegmentBoundary(java.
  lang.Object)