Package

org.dsa.iot.rx

core

Permalink

package core

Visibility
  1. Public
  2. All

Type Members

  1. class AMB[T] extends RxMergerN[T, T]

    Permalink

    Mirrors the one Observable in an Iterable of several Observables that first emits an item.

    Mirrors the one Observable in an Iterable of several Observables that first emits an item.

  2. class Cache[T] extends RxTransformer[T, T]

    Permalink

    Caches the items emitted by the source, so that future subscriptions can "replay" them from the beginning.

    Caches the items emitted by the source, so that future subscriptions can "replay" them from the beginning.

  3. class Collect[T, R] extends RxTransformer[T, R]

    Permalink

    Applies a partial function to all elements emitted by the source.

  4. class CombineLatest[T] extends RxMergerN[T, Seq[T]]

    Permalink

    Combines multiple Observables into a single Observable of lists, emitting a new list each time any of the sources emits a new item.

    Combines multiple Observables into a single Observable of lists, emitting a new list each time any of the sources emits a new item.

    See also

    ReactiveX operators documentation: CombineLatest

  5. class CombineLatest2[T1, T2] extends RxMerger2[T1, T2, (T1, T2)]

    Permalink

    Combines two Observables into a single Observable of Tuple2, emitting a new tuple each time either of the sources emits a new item.

    Combines two Observables into a single Observable of Tuple2, emitting a new tuple each time either of the sources emits a new item.

    See also

    ReactiveX operators documentation: CombineLatest

  6. class CombineLatest3[T1, T2, T3] extends RxMerger3[T1, T2, T3, (T1, T2, T3)]

    Permalink

    Combines three Observables into a single Observable of Tuple3, emitting a new tuple each time any of the sources emits a new item.

    Combines three Observables into a single Observable of Tuple3, emitting a new tuple each time any of the sources emits a new item.

    See also

    ReactiveX operators documentation: CombineLatest

  7. class Concat[T] extends RxMerger2[T, T, T]

    Permalink

    First emits the items emitted by the first source, and then the items emitted by the second.

    First emits the items emitted by the first source, and then the items emitted by the second.

  8. class Contains[T] extends RxTransformer[T, Boolean]

    Permalink

    Emits a Boolean that indicates whether the source emitted a specified item.

    Emits a Boolean that indicates whether the source emitted a specified item.

  9. class Count[T] extends RxTransformer[T, Int]

    Permalink

    Counts the total number of elements in the source sequence.

    Counts the total number of elements in the source sequence. It can either produce a rolling count on each item, or just one final result when source is complete.

  10. class Debounce[T] extends RxTransformer[T, T]

    Permalink

    Drops all values from the source that are followed by newer values before the timeout value expires.

    Drops all values from the source that are followed by newer values before the timeout value expires.

  11. class Delay[T] extends RxTransformer[T, T]

    Permalink

    Emits the items emitted by the source shifted forward in time by a specified delay.

    Emits the items emitted by the source shifted forward in time by a specified delay.

  12. class Distinct[T] extends RxTransformer[T, T]

    Permalink

    Applies the selector function to the source sequence and then drops the repeated items.

    Applies the selector function to the source sequence and then drops the repeated items. If global parameter is false it deletes sequential repeated elements; if it is true, then it deletes all repeated elements.

  13. class DropByCount[T] extends RxTransformer[T, T]

    Permalink

    Drops a specified number of items from the beginning or end of source sequence.

    Drops a specified number of items from the beginning or end of source sequence.

  14. class DropByTime[T] extends RxTransformer[T, T]

    Permalink

    Drops items from either a beginning or end of the source sequence, for the duration of the specified time window.

    Drops items from either a beginning or end of the source sequence, for the duration of the specified time window.

  15. class DropWhile[T] extends RxTransformer[T, T]

    Permalink

    Drops items from the source as long as the predicate condition is true.

    Drops items from the source as long as the predicate condition is true.

  16. class ElementAt[T] extends RxTransformer[T, T]

    Permalink

    Emits the item found at a specified index in a sequence of emissions from a source, or a default item if that index is out of range.

    Emits the item found at a specified index in a sequence of emissions from a source, or a default item if that index is out of range.

  17. class Empty extends AbstractRxBlock[Nothing]

    Permalink

    Emits no data and completes immediately.

    Emits no data and completes immediately.

  18. class Exists[T] extends RxTransformer[T, Boolean]

    Permalink

    Tests whether a predicate holds for some of the elements of the source.

  19. class Filter[T] extends RxTransformer[T, T]

    Permalink

    Only emits those items from the source sequence for which a given predicate holds.

    Only emits those items from the source sequence for which a given predicate holds.

  20. class First[T] extends RxTransformer[T, T]

    Permalink

    Emits the very first item emitted by the source, or a default if the source is empty.

    Emits the very first item emitted by the source, or a default if the source is empty.

  21. class Fold[T, R] extends RxTransformer[T, R]

    Permalink

    Repeatedly applies a function, where the first argument is the result obtained in the previous application (first time - the initial value), and the second argument is each element of the source sequence.

    Repeatedly applies a function, where the first argument is the result obtained in the previous application (first time - the initial value), and the second argument is each element of the source sequence. Unlike scan it only emits the final result when the source sequence is complete.

  22. class FromList[A] extends AbstractRxBlock[A]

    Permalink

    Combines items passed into its ports into a single Observable.

    Combines items passed into its ports into a single Observable.

  23. class Insert[T] extends RxTransformer[T, T]

    Permalink

    Emits a specified item either before or after it emits items from the source.

    Emits a specified item either before or after it emits items from the source.

  24. class Interval extends AbstractRxBlock[Long]

    Permalink

    Emits values 0, 1, 2 and so on at equal time intervals.

    Emits values 0, 1, 2 and so on at equal time intervals.

  25. class IsEmpty extends RxTransformer[Any, Boolean]

    Permalink

    Tests whether the source emits no elements.

  26. class Last[T] extends RxTransformer[T, T]

    Permalink

    Emits the very last item emitted by the source, or a default if the source is empty.

    Emits the very last item emitted by the source, or a default if the source is empty.

  27. class Length extends Count[Any]

    Permalink

    A shortcut for Count with a trivial predicate that always returns true, i.e.

    A shortcut for Count with a trivial predicate that always returns true, i.e. it counts all the items in the source sequence.

  28. class Merge[T] extends RxMerger2[T, T, T]

    Permalink

    Flattens two Observables into one Observable, without any transformation.

    Flattens two Observables into one Observable, without any transformation.

  29. class RandomInterval extends AbstractRxBlock[Long]

    Permalink

    Emits 0, 1, 2, ... with a delay, randomly chosen for each item.

  30. class Reduce[T] extends RxTransformer[T, T]

    Permalink

    Repeatedly applies a function, where the first argument is the result obtained in the previous application and the second argument is each element of the source sequence.

    Repeatedly applies a function, where the first argument is the result obtained in the previous application and the second argument is each element of the source sequence.

  31. class Repeat[T] extends RxTransformer[T, T]

    Permalink

    Repeats the sequence of items emitted by the source either indefinitely or at most count times.

    Repeats the sequence of items emitted by the source either indefinitely or at most count times.

  32. class Retry[T] extends RxTransformer[T, T]

    Permalink

    Retries the sequence emitted by the source in case of an error, either indefinitely or at most count times.

    Retries the sequence emitted by the source in case of an error, either indefinitely or at most count times.

  33. class Sample[T] extends RxTransformer[T, T]

    Permalink

    Emits the results of sampling the items emitted by the source at a specified time interval.

    Emits the results of sampling the items emitted by the source at a specified time interval.

  34. class Scan[T, R] extends RxTransformer[T, R]

    Permalink

    Continuouly applies a function, where the first argument is the result obtained in the previous application (first time - the initial value), and the second argument is each element of the source sequence.

    Continuouly applies a function, where the first argument is the result obtained in the previous application (first time - the initial value), and the second argument is each element of the source sequence. Unlike fold it emits each intermediate result.

  35. class Sequence[A] extends AbstractRxBlock[A]

    Permalink

    Emits items from the supplied collection.

    Emits items from the supplied collection.

  36. class TakeByCount[T] extends RxTransformer[T, T]

    Permalink

    Emits only first count items emitted by the source.

    Emits only first count items emitted by the source.

  37. class TakeByTime[T] extends RxTransformer[T, T]

    Permalink

    Emits items from the source before a specified time runs out.

    Emits items from the source before a specified time runs out.

  38. class TakeRight[T] extends RxTransformer[T, T]

    Permalink

    Emits items from the source that were emitted in a specified window of time before the source completed, or the last count items of the source.

    Emits items from the source that were emitted in a specified window of time before the source completed, or the last count items of the source.

  39. class TakeWhile[T] extends RxTransformer[T, T]

    Permalink

    Emits items from the source as long as the predicate condition is true.

    Emits items from the source as long as the predicate condition is true.

  40. class Timer extends AbstractRxBlock[Long]

    Permalink

    Emits 0L after the specified delay and completes.

    Emits 0L after the specified delay and completes.

  41. class Transform[T, R] extends RxTransformer[T, R]

    Permalink

    Transforms each item of the source sequence into a new one, using the functional operator.

    Transforms each item of the source sequence into a new one, using the functional operator.

  42. class ValueHolder[A] extends AbstractRxBlock[A]

    Permalink

    Forwards the values passed into its value port.

    Forwards the values passed into its value port.

  43. class WindowBySize[T] extends RxTransformer[T, Seq[T]]

    Permalink

    Creates an Observable which produces buffers of collected values.

    Creates an Observable which produces buffers of collected values.

    It produces a new buffer of at most count size every skip values. Therefore if count == skip, it produces non-overlapping buffers.

  44. class WindowByTime[T] extends RxTransformer[T, Seq[T]]

    Permalink

    Creates an Observable which produces buffers of collected values.

  45. class Zero[T] extends AbstractRxBlock[T]

    Permalink

    Emits a single "zero" item for the specified numeric type.

  46. class Zip[T] extends RxMergerN[T, Seq[T]]

    Permalink

    Combines multiple Observables into a single Observable of lists.

    Combines multiple Observables into a single Observable of lists. Unlike CombineLatest it emits a new value only when all sources have emitted the next item.

  47. class Zip2[T1, T2] extends RxMerger2[T1, T2, (T1, T2)]

    Permalink

    Combines two Observables into a single Observable of Tuple2, emitting a new tuple after both sources emitted the next item.

  48. class Zip3[T1, T2, T3] extends RxMerger3[T1, T2, T3, (T1, T2, T3)]

    Permalink

    Combines three Observables into a single Observable of Tuple3, emitting a new tuple after all sources emitted the next item.

  49. class Zip4[T1, T2, T3, T4] extends RxMerger4[T1, T2, T3, T4, (T1, T2, T3, T4)]

    Permalink

    Combines three Observables into a single Observable of Tuple4, emitting a new tuple after all sources emitted the next item.

  50. class ZipWithIndex[T] extends RxTransformer[T, (T, Int)]

    Permalink

    Combines the items from the source Observable with their indices.

Value Members

  1. object AMB

    Permalink

    Factory for AMB instances.

  2. object Cache

    Permalink

    Factory for Cache instances.

  3. object Collect

    Permalink

    Factory for Collect instances.

  4. object CombineLatest

    Permalink

    Factory for CombineLatest instances.

  5. object CombineLatest2

    Permalink

    Factory for CombineLatest2 instances.

  6. object CombineLatest3

    Permalink

    Factory for CombineLatest3 instances.

  7. object Concat

    Permalink

    Factory for Concat instances.

  8. object Contains

    Permalink

    Factory for Contains instances.

  9. object Count

    Permalink

    Factory for Count instances.

  10. object Debounce

    Permalink

    Factory for Debounce instances.

  11. object Delay

    Permalink

    Factory for Delay instances.

  12. object Distinct

    Permalink

    Factory for Distinct instances.

  13. object DropByCount

    Permalink

    Factory for DropByCount instances.

  14. object DropByTime

    Permalink

    Factory for DropByTime instances.

  15. object DropWhile

    Permalink

    Factory for DropWhile instances.

  16. object ElementAt

    Permalink

    Factory for ElementAt instances.

  17. object Empty

    Permalink

    Factory for Empty instances.

  18. object Exists

    Permalink

    Factory for Exists instances.

  19. object Filter

    Permalink

    Factory for Filter instances.

  20. object First

    Permalink

    Factory for First instances.

  21. object Fold

    Permalink

    Factory for Fold instances.

  22. object FromList

    Permalink

    Factory for FromList instances.

  23. object Insert

    Permalink

    Factory for Insert instances.

  24. object Interval

    Permalink

    Factory for Interval instances.

  25. object IsEmpty

    Permalink

    Factory for IsEmpty instances.

  26. object Last

    Permalink

    Factory for Last instances.

  27. object Length

    Permalink

    Factory for Length instances.

  28. object Merge

    Permalink

    Factory for Merge instances.

  29. object RandomInterval

    Permalink

    Factory for RandomInterval instances.

  30. object Reduce

    Permalink

    Factory for Reduce instances.

  31. object Repeat

    Permalink

    Factory for Repeat instances.

  32. object Retry

    Permalink

    Factory for Retry instances.

  33. object Sample

    Permalink

    Factory for Sample instances.

  34. object Scan

    Permalink

    Factory for Scan instances.

  35. object Sequence

    Permalink

    Factory for Sequence instances.

  36. object TakeByCount

    Permalink

    Factory for TakeByCount instances.

  37. object TakeByTime

    Permalink

    Factory for TakeByTime instances.

  38. object TakeRight

    Permalink

    Factory for TakeRight instances.

  39. object TakeWhile

    Permalink

    Factory for TakeWhile instances.

  40. object Timer

    Permalink

    Factory for Timer instances.

  41. object Transform

    Permalink

    Factory for Transform instances.

  42. object ValueHolder

    Permalink

    Factory for ValueHolder instances.

  43. object WindowBySize

    Permalink

    Factory for WindowBySize instances.

  44. object WindowByTime

    Permalink

    Factory for WindowByTime instances.

  45. object Zero

    Permalink

    Factory for Zero instances.

  46. object Zip

    Permalink

    Factory for Zip instances.

  47. object Zip2

    Permalink

    Factory for Zip2 instances.

  48. object Zip3

    Permalink

    Factory for Zip3 instances.

  49. object Zip4

    Permalink

    Factory for Zip4 instances.

  50. object ZipWithIndex

    Permalink

    Factory for ZipWithIndex instances.

Ungrouped