Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Operation: buffer #281

Merged
merged 8 commits into from
Jul 22, 2013
414 changes: 414 additions & 0 deletions rxjava-core/src/main/java/rx/Observable.java

Large diffs are not rendered by default.

1,166 changes: 1,166 additions & 0 deletions rxjava-core/src/main/java/rx/operators/OperationBuffer.java

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions rxjava-core/src/main/java/rx/util/BufferClosing.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package rx.util;

public interface BufferClosing {
// Tagging interface for objects which can close buffers.
}
12 changes: 12 additions & 0 deletions rxjava-core/src/main/java/rx/util/BufferClosings.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package rx.util;

public class BufferClosings {

public static BufferClosing create() {
return new BufferClosing() {};
}

private BufferClosings() {
// Prevent instantation.
}
}
5 changes: 5 additions & 0 deletions rxjava-core/src/main/java/rx/util/BufferOpening.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package rx.util;

public interface BufferOpening {
// Tagging interface for objects which can open buffers.
}
12 changes: 12 additions & 0 deletions rxjava-core/src/main/java/rx/util/BufferOpenings.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package rx.util;

public class BufferOpenings {

public static BufferOpening create() {
return new BufferOpening() {};
}

private BufferOpenings() {
// Prevent instantation.
}
}