public class PrimitiveSinkOutput extends Object implements DataOutput
Constructor and Description |
---|
PrimitiveSinkOutput(com.google.common.hash.PrimitiveSink sink) |
Modifier and Type | Method and Description |
---|---|
void |
write(byte[] bytes) |
void |
write(byte[] bytes,
int i,
int i2) |
void |
write(int i) |
void |
writeBoolean(boolean b) |
void |
writeByte(int i) |
void |
writeBytes(String s) |
void |
writeChar(int i) |
void |
writeChars(String s) |
void |
writeDouble(double v) |
void |
writeFloat(float v) |
void |
writeInt(int i) |
void |
writeLong(long l) |
void |
writeShort(int i) |
void |
writeUTF(String s) |
public PrimitiveSinkOutput(com.google.common.hash.PrimitiveSink sink)
public void write(int i) throws IOException
write
in interface DataOutput
IOException
public void write(byte[] bytes) throws IOException
write
in interface DataOutput
IOException
public void write(byte[] bytes, int i, int i2) throws IOException
write
in interface DataOutput
IOException
public void writeBoolean(boolean b) throws IOException
writeBoolean
in interface DataOutput
IOException
public void writeByte(int i) throws IOException
writeByte
in interface DataOutput
IOException
public void writeShort(int i) throws IOException
writeShort
in interface DataOutput
IOException
public void writeChar(int i) throws IOException
writeChar
in interface DataOutput
IOException
public void writeInt(int i) throws IOException
writeInt
in interface DataOutput
IOException
public void writeLong(long l) throws IOException
writeLong
in interface DataOutput
IOException
public void writeFloat(float v) throws IOException
writeFloat
in interface DataOutput
IOException
public void writeDouble(double v) throws IOException
writeDouble
in interface DataOutput
IOException
public void writeBytes(String s) throws IOException
writeBytes
in interface DataOutput
IOException
public void writeChars(String s) throws IOException
writeChars
in interface DataOutput
IOException
public void writeUTF(String s) throws IOException
writeUTF
in interface DataOutput
IOException
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.