@Test public void testReadInt() throws IOException { fastJsonObjectInput = new FastJsonObjectInput(new StringReader("1")); Integer result = fastJsonObjectInput.readInt(); assertThat(result, is(1)); }
@Override public int readInt() throws IOException { return read(int.class); }
FastJsonObjectInput implements ObjectInput { @Override public int readInt() throws IOException { return read(int.class); } }
FastJsonObjectInput implements ObjectInput { @Override public int readInt() throws IOException { return read(int.class); } FastJsonObjectInput(InputStream in);  FastJsonObjectInput(Reader reader); }
FastJsonObjectInput implements ObjectInput { @Override public int readInt() throws IOException { return read(int.class); } FastJsonObjectInput(InputStream in);  FastJsonObjectInput(Reader reader); @Override boolean readBool(); @Override byte readByte(); @Override short readShort(); @Override int readInt(); @Override long readLong(); @Override float readFloat(); @Override double readDouble(); @Override String readUTF(); @Override byte[] readBytes(); @Override Object readObject(); @Override T readObject(Class<T> cls); @Override @SuppressWarnings("unchecked") T readObject(Class<T> cls, Type type); }
FastJsonObjectInput implements ObjectInput { @Override public int readInt() throws IOException { return read(int.class); } FastJsonObjectInput(InputStream in);  FastJsonObjectInput(Reader reader); @Override boolean readBool(); @Override byte readByte(); @Override short readShort(); @Override int readInt(); @Override long readLong(); @Override float readFloat(); @Override double readDouble(); @Override String readUTF(); @Override byte[] readBytes(); @Override Object readObject(); @Override T readObject(Class<T> cls); @Override @SuppressWarnings("unchecked") T readObject(Class<T> cls, Type type);  }