Created
December 3, 2012 19:07
-
-
Save roberto-filho/4197168 to your computer and use it in GitHub Desktop.
Um manager de filtros dinâmicos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FilterStore extends Observable { | |
Map<String, String> campos; | |
Map<String, String> valores = Maps.newHashMap(); | |
public FilterStore(Map<String, String> campos) { | |
this.campos = campos; | |
} | |
public void atualizar(String campo, String valor) { | |
// Aqui o camarada atualiza os valores de cada campo | |
// contidos no map "valores" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment