Class GroupedObservable<K,​T>

    • Field Detail

      • key

        final K key
    • Constructor Detail

      • GroupedObservable

        protected GroupedObservable​(@Nullable
                                    K key)
        Constructs a GroupedObservable with the given key.
        Parameters:
        key - the key
    • Method Detail

      • getKey

        @Nullable
        public K getKey()
        Returns the key that identifies the group of items emitted by this GroupedObservable.
        Returns:
        the key that the items emitted by this GroupedObservable were grouped by