TraversableViewLike.slice takes package private class (SliceInterval)
1 reply
Wed, 2011-04-06, 00:56
Jesse Eichar 2
Joined: 2011-04-06,
Since TraversableViewLike.slice takes a SliceInterval as a parameter
(which is package private) I cannot override that method, which for
performance reasons I need/want to. Is there any reason for this
restriction? If not I will file a change request ticket.
Re: TraversableViewLike.slice takes package private class (Slic
On 4/5/11 4:56 PM, Jesse Eichar wrote:
> Since TraversableViewLike.slice takes a SliceInterval as a parameter
That's not possible since slice is in the public API.
Maybe you mean newSliced.
> (which is package private) I cannot override that method, which for
> performance reasons I need/want to. Is there any reason for this
> restriction? If not I will file a change request ticket.
Those newFoo methods are not intended for public consumption. But
nobody can stop you from overriding slice.
On 4/5/11 4:56 PM, Jesse Eichar wrote:
> Since TraversableViewLike.slice takes a SliceInterval as a parameter
That's not possible since slice is in the public API.
Maybe you mean newSliced.
> (which is package private) I cannot override that method, which for
> performance reasons I need/want to. Is there any reason for this
> restriction? If not I will file a change request ticket.
Those newFoo methods are not intended for public consumption. But
nobody can stop you from overriding slice.