sub to_stream {
my ($self) = @_;
+ return DX::ArrayStream->from_array($self->all);
+}
+
+sub all {
+ my ($self) = @_;
my $values = $self->values;
- return DX::ArrayStream->from_array(@{$values}{sort keys %$values});
+ my @ret = @{$values}{sort keys %$values};
+ return @ret;
}
sub with_value {