@Test public void testToDouble() throws Exception { Assert.assertEquals((Double)1D, InputStreamTransforms.TRANSFORMER.toDouble(newInputStream("1"))); }
@Transformer public Double toDouble(InputStream inStream) { return Double.parseDouble(toString(inStream)); }
InputStreamTransforms { @Transformer public Double toDouble(InputStream inStream) { return Double.parseDouble(toString(inStream)); } }
InputStreamTransforms { @Transformer public Double toDouble(InputStream inStream) { return Double.parseDouble(toString(inStream)); }  }
InputStreamTransforms { @Transformer public Double toDouble(InputStream inStream) { return Double.parseDouble(toString(inStream)); }  @Transformer String toString(InputStream inStream); @Transformer Reader toReader(InputStream inStream); @Transformer InputSource toInputSource(InputStream inStream); @Transformer Integer toInteger(InputStream inStream); @Transformer Long toLong(InputStream inStream); @Transformer Short toShort(InputStream inStream); @Transformer char[] toChars(InputStream inStream); @Transformer Character toCharacter(InputStream inStream); @Transformer byte[] toBytes(InputStream inStream); @Transformer Double toDouble(InputStream inStream); @Transformer Float toFloat(InputStream inStream); }
InputStreamTransforms { @Transformer public Double toDouble(InputStream inStream) { return Double.parseDouble(toString(inStream)); }  @Transformer String toString(InputStream inStream); @Transformer Reader toReader(InputStream inStream); @Transformer InputSource toInputSource(InputStream inStream); @Transformer Integer toInteger(InputStream inStream); @Transformer Long toLong(InputStream inStream); @Transformer Short toShort(InputStream inStream); @Transformer char[] toChars(InputStream inStream); @Transformer Character toCharacter(InputStream inStream); @Transformer byte[] toBytes(InputStream inStream); @Transformer Double toDouble(InputStream inStream); @Transformer Float toFloat(InputStream inStream); static final InputStreamTransforms TRANSFORMER; }