Skip to content

Instantly share code, notes, and snippets.

View RuedigerMoeller's full-sized avatar
💭
I may be slow to respond.

moru0011 RuedigerMoeller

💭
I may be slow to respond.
View GitHub Profile
abstract class ByteStream { .. }
class SomeClass {
void someMethod() {
this.getStream().writeByte(13); // call on interface or abstract class
}
ByteStream getStream() { .. }
}
// later in code