Questions tagged as 'filter'

1
answer

How can I filter objects in a Array with Typescript?

Example: function isBigEnough(element, index, array) { return (element >= 10); } var passed = [12, 5, 8, 130, 44].filter(isBigEnough); console.log("Test Value : " + passed );     
asked by 13.05.2018 / 08:10
1
answer

Filter in Java and working with Servlets

Good afternoon guys, I'm going through a really annoying problem, it must be a little detail to solve the problem and I'm lost in how to get this information that I lack. Well, enough of crying and following the problem report: I'm creatin...
asked by 18.05.2018 / 22:32
0
answers

Recover login when registering

I'm trying to register a user of type bettor and soon after the registration, it is redirected to the index page, but when I make the registration it generates the error:    Serious: java.lang.ClassCastException: bean.LoginBean can not cast c...
asked by 30.04.2018 / 21:08
1
answer

filter a list just by the beginning of the word Angularjs

I have an input (multiple selection), I'm using the ui-select lib, I get a list of city and I need to filter them, the problem is that the filter of angularjs filters the whole word, I need to filter the beginning of the word. Search exampl...
asked by 16.04.2018 / 16:37
1
answer

Filtering models in Django view

Talk Galera I have the following app running in Django 1.6. when clicking on dog or cat the idea would be to present a page doing the filtering of the object The animal is modeled thus to filter: TIPO_CHOICES = ( (1, 'Cacho...
asked by 12.04.2018 / 21:03
0
answers

High-pass Filter in Python

I want to filter a signal with noises. I have a .txt file with two columns (time [in days], stream) and would like to filter them using High-pass filter in Python code. I would love to use two distinct cutoff intervals (40 days and 80 days)....
asked by 16.03.2018 / 17:14
2
answers

Identify the input URL of a Filter

How do I identify by which URL is being accessed a filter? My situation is as follows: I have the class below: @WebFilter(filterName = "FiltroLogado", urlPatterns = {"/alterar.jsp", "/deletar.jsp", "/cadastrado.jsp", "/logado.jsp"...
asked by 07.02.2018 / 19:42
0
answers

Firebase - Filterable - Search View

I'm developing an app, I use Firebase as a database to store my registered customers. So I have a ListView that shows these clients, shows their name and their CPF. What I need to do is a search, which puts the name or cpf and finds the person e...
asked by 24.08.2017 / 19:17
1
answer

FDMemTable losing data when using Filter

I created an FDMemTable, at runtime, with the following structure: Cds_NaMenu := TFDMemTable.Create(nil); Cds_NaMenu.FieldDefs.Add('ID', ftInteger); Cds_NaMenu.FieldDefs.Add('MN_TELA_CODIGO', ftInteger); Cds_NaMenu.FieldDefs.Add('MN_MENU_PESQU...
asked by 01.08.2017 / 22:28
1
answer

how to make a filter on an array in Swift similar to like?

let cast = ["Vivien", "Marlon", "Kim", "Karl"] would like to return like ('% ar%') "expected result [" Marlon "," Karl "]"     
asked by 25.07.2017 / 04:52