class ContinuousResource implements Resource {

    @Override
    public boolean isSubTypeOf(Class<?> ancestor) {
        checkNotNull(ancestor);

        return id.isSubTypeOf(ancestor);
    }

      ContinuousResource(ContinuousResourceId id, double value);
      ContinuousResource();

}