src/main/java/io/reactivex/processors/AsyncProcessor.java
@Deprecated
    public Object[] getValues() {
        T v = getValue();
        return v != null ? new Object[] { v } : new Object[0];
    }
@Deprecated
    public Object[] getValues() {
        T v = getValue();
        return v != null ? new Object[] { v } : new Object[0];
    }
Returns an Object array containing snapshot all values of this processor.
<p>The method is thread-safe.
@return the array containing the snapshot of all values of this processor
@deprecated in 2.1.14; put the result of {@link #getValue()} into an array manually, will be removed in 3.x