confusion about GTFilter hierarchy and GTFilterSubstring

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

confusion about GTFilter hierarchy and GTFilterSubstring

Peter Uhnak
Hi,

what exactly is GTFilterSubstring for?
The observed behavior is identical whether I use it in my spotter method or not. (As I don't know what exactly it does it's hard to observe it in the first place...)
Also as none of the concrete classes in the GTFilter hierarchy have comments it's hard to guess what is their respective difference/value.

Thanks,
Peter
Reply | Threaded
Open this post in threaded view
|

Re: confusion about GTFilter hierarchy and GTFilterSubstring

Tudor Girba-2
Hi,

I am not sure I understand the confusion.

The filter is a strategy used to select objects. GTFilterSubstring filters based on finding the input string as a substring in the string representation of the objects. You do not see a difference because by default, the logic is a substring matching one.

Cheers,
Doru

> On Mar 16, 2018, at 7:29 AM, Peter Uhnák <[hidden email]> wrote:
>
> Hi,
>
> what exactly is GTFilterSubstring for?
> The observed behavior is identical whether I use it in my spotter method or not. (As I don't know what exactly it does it's hard to observe it in the first place...)
> Also as none of the concrete classes in the GTFilter hierarchy have comments it's hard to guess what is their respective difference/value.
>
> Thanks,
> Peter

--
www.tudorgirba.com
www.feenk.com

"Next time you see your life passing by, say 'hi' and get to know her."