forked from ReactiveX/RxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ReactiveX#281 from michaeldejong/operation-buffer
Operation: buffer
- Loading branch information
Showing
6 changed files
with
1,614 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
1,166 changes: 1,166 additions & 0 deletions
1,166
rxjava-core/src/main/java/rx/operators/OperationBuffer.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | ||
} | ||
} |