Object Oriented Software Engineering View all facts Glossary Help |
subject > component > module > Java module > Java class > stream class > filter |
filter comparison table |
Subject | is a kind of | have example | is an instance of | wrap around | contain | allow |
---|---|---|---|---|---|---|
DataInputStream | filter | Java primitive types such as int and double | programmer to exchange more sophisticated types of data than simple bytes without having to worry about how to translate them into a byte stream | |||
DataOutputStream | filter | Java primitive types such as int and double | a programmer to exchange more sophisticated types of data than simple bytes without having to worry about how to translate them into a byte stream | |||
object stream class | filter | //creation output = new ObjectOutputStream(clientSocket.getOutputStream()); //sending an object output.writeObject(msg); //receiving an object (in a loop) msg = input.readObject(); | a binary stream | data associated with each object |
Next stream class: InputStream Up: stream class Previous stream class: OutputStream