test_class.declarator: PAGE_SIZE = 10
test_class.modifier: private static final
test_class.original_string: private static final int PAGE_SIZE = 10;
test_class.type: int
test_class.var_name: PAGE_SIZE
test_class.declarator: EVEN = new int[]{0, 2, 4, 6, 8}
test_class.modifier: private static final
test_class.original_string: private static final int[] EVEN = new int[]{0, 2, 4, 6, 8};
test_class.type: int[]
test_class.var_name: EVEN
test_class.declarator: BY_THREE = new int[]{0, 3, 6, 9}
test_class.modifier: private static final
test_class.original_string: private static final int[] BY_THREE = new int[]{0, 3, 6, 9};
test_class.type: int[]
test_class.var_name: BY_THREE
test_class.declarator: COMBINED = new int[]{0, 6}
test_class.modifier: private static final
test_class.original_string: private static final int[] COMBINED = new int[]{0, 6};
test_class.type: int[]
test_class.var_name: COMBINED
test_class.declarator: IDENTIFIER = String::valueOf
test_class.modifier: private static final
test_class.original_string: private static final Function<Integer, String> IDENTIFIER = String::valueOf;
test_class.type: Function<Integer, String>
test_class.var_name: IDENTIFIER
test_class.declarator: DIVISIBLE = (number, filter) -> number % parseInt(filter) == 0
test_class.modifier: private static final
test_class.original_string: private static final Filter<Integer> DIVISIBLE = (number, filter) -> number % parseInt(filter) == 0;
test_class.type: Filter<Integer>
test_class.var_name: DIVISIBLE
test_class.declarator: single
test_class.modifier: private
test_class.original_string: private DataProvider<Integer> single;
test_class.type: DataProvider<Integer>
test_class.var_name: single
test_class.declarator: multi
test_class.modifier: private
test_class.original_string: private DataProvider<Integer> multi;
test_class.type: DataProvider<Integer>
test_class.var_name: multi
test_class.declarator: display
test_class.modifier: private
test_class.original_string: private Display<Integer> display;
test_class.type: Display<Integer>
test_class.var_name: display
test_class.declarator: selectHandler
test_class.modifier: private
test_class.original_string: private SelectHandler<Integer> selectHandler;
test_class.type: SelectHandler<Integer>
test_class.var_name: selectHandler
test_class.file: ballroom/src/test/java/org/jboss/hal/ballroom/dataprovider/DataProviderTest.java
test_class.identifier: DataProviderTest
test_case.body: @Test
      public void getFilter() throws Exception {
          assertFalse(single.hasFilters());
          assertSame(FilterValue.EMPTY, single.getFilter("foo"));
      }
test_case.class_method_signature: DataProviderTest.getFilter()
test_case.full_signature: @Test public void getFilter()
test_case.identifier: getFilter
test_case.invocations: assertFalse hasFilters assertSame getFilter
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getFilter()
focal_class.declarator: identifier
focal_class.modifier: private final
focal_class.original_string: private final Function<T, String> identifier;
focal_class.type: Function<T, String>
focal_class.var_name: identifier
focal_class.declarator: pageInfo
focal_class.modifier: private final
focal_class.original_string: private final PageInfo pageInfo;
focal_class.type: PageInfo
focal_class.var_name: pageInfo
focal_class.declarator: selectionInfo
focal_class.modifier: private final
focal_class.original_string: private final SelectionInfo<T> selectionInfo;
focal_class.type: SelectionInfo<T>
focal_class.var_name: selectionInfo
focal_class.declarator: allItems
focal_class.modifier: private final
focal_class.original_string: private final Map<String, T> allItems;
focal_class.type: Map<String, T>
focal_class.var_name: allItems
focal_class.declarator: filterValues
focal_class.modifier: private final
focal_class.original_string: private final Map<String, FilterValue<T>> filterValues;
focal_class.type: Map<String, FilterValue<T>>
focal_class.var_name: filterValues
focal_class.declarator: displays
focal_class.modifier: private final
focal_class.original_string: private final List<Display<T>> displays;
focal_class.type: List<Display<T>>
focal_class.var_name: displays
focal_class.declarator: selectHandler
focal_class.modifier: private
focal_class.original_string: private List<SelectHandler<T>> selectHandler;
focal_class.type: List<SelectHandler<T>>
focal_class.var_name: selectHandler
focal_class.declarator: filteredItems
focal_class.modifier: private
focal_class.original_string: private Map<String, T> filteredItems;
focal_class.type: Map<String, T>
focal_class.var_name: filteredItems
focal_class.declarator: visibleItems
focal_class.modifier: private
focal_class.original_string: private Map<String, T> visibleItems;
focal_class.type: Map<String, T>
focal_class.var_name: visibleItems
focal_class.declarator: comparator
focal_class.modifier: private
focal_class.original_string: private Comparator<T> comparator;
focal_class.type: Comparator<T>
focal_class.var_name: comparator
focal_class.file: ballroom/src/main/java/org/jboss/hal/ballroom/dataprovider/DataProvider.java
focal_class.identifier: DataProvider
focal_class.class_method_signature: DataProvider.DataProvider(Function<T, String> identifier, boolean multiSelect)
focal_class.full_signature: public  DataProvider(Function<T, String> identifier, boolean multiSelect)
focal_class.identifier: DataProvider
focal_class.modifiers: public
focal_class.parameters: (Function<T, String> identifier, boolean multiSelect)
focal_class.signature:  DataProvider(Function<T, String> identifier, boolean multiSelect)
focal_class.class_method_signature: DataProvider.DataProvider(Function<T, String> identifier, boolean multiSelect, int pageSize)
focal_class.full_signature:   DataProvider(Function<T, String> identifier, boolean multiSelect, int pageSize)
focal_class.identifier: DataProvider
focal_class.parameters: (Function<T, String> identifier, boolean multiSelect, int pageSize)
focal_class.signature:  DataProvider(Function<T, String> identifier, boolean multiSelect, int pageSize)
focal_class.class_method_signature: DataProvider.update(Iterable<T> items)
focal_class.full_signature: public void update(Iterable<T> items)
focal_class.identifier: update
focal_class.modifiers: public
focal_class.parameters: (Iterable<T> items)
focal_class.return: void
focal_class.signature: void update(Iterable<T> items)
focal_class.class_method_signature: DataProvider.contains(T item)
focal_class.full_signature: public boolean contains(T item)
focal_class.identifier: contains
focal_class.modifiers: public
focal_class.parameters: (T item)
focal_class.return: boolean
focal_class.signature: boolean contains(T item)
focal_class.class_method_signature: DataProvider.isVisible(T item)
focal_class.full_signature: public boolean isVisible(T item)
focal_class.identifier: isVisible
focal_class.modifiers: public
focal_class.parameters: (T item)
focal_class.return: boolean
focal_class.signature: boolean isVisible(T item)
focal_class.class_method_signature: DataProvider.getId(T item)
focal_class.full_signature: public String getId(T item)
focal_class.identifier: getId
focal_class.modifiers: public
focal_class.parameters: (T item)
focal_class.return: String
focal_class.signature: String getId(T item)
focal_class.class_method_signature: DataProvider.getAllItems()
focal_class.full_signature: public Iterable<T> getAllItems()
focal_class.identifier: getAllItems
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterable<T>
focal_class.signature: Iterable<T> getAllItems()
focal_class.class_method_signature: DataProvider.getFilteredItems()
focal_class.full_signature: public Iterable<T> getFilteredItems()
focal_class.identifier: getFilteredItems
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterable<T>
focal_class.signature: Iterable<T> getFilteredItems()
focal_class.class_method_signature: DataProvider.getVisibleItems()
focal_class.full_signature: public Iterable<T> getVisibleItems()
focal_class.identifier: getVisibleItems
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Iterable<T>
focal_class.signature: Iterable<T> getVisibleItems()
focal_class.class_method_signature: DataProvider.reset()
focal_class.full_signature: private void reset()
focal_class.identifier: reset
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void reset()
focal_class.class_method_signature: DataProvider.applyFilterSortAndPaging()
focal_class.full_signature: private void applyFilterSortAndPaging()
focal_class.identifier: applyFilterSortAndPaging
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void applyFilterSortAndPaging()
focal_class.class_method_signature: DataProvider.toLinkedMap(Function<? super T, ? extends String> keyMapper,
              Function<? super T, ? extends T> valueMapper)
focal_class.full_signature: private Collector<T, ?, Map<String, T>> toLinkedMap(Function<? super T, ? extends String> keyMapper,
              Function<? super T, ? extends T> valueMapper)
focal_class.identifier: toLinkedMap
focal_class.modifiers: private
focal_class.parameters: (Function<? super T, ? extends String> keyMapper,
              Function<? super T, ? extends T> valueMapper)
focal_class.return: Collector<T, ?, Map<String, T>>
focal_class.signature: Collector<T, ?, Map<String, T>> toLinkedMap(Function<? super T, ? extends String> keyMapper,
              Function<? super T, ? extends T> valueMapper)
focal_class.class_method_signature: DataProvider.onSelect(SelectHandler<T> selectHandler)
focal_class.full_signature: public void onSelect(SelectHandler<T> selectHandler)
focal_class.identifier: onSelect
focal_class.modifiers: public
focal_class.parameters: (SelectHandler<T> selectHandler)
focal_class.return: void
focal_class.signature: void onSelect(SelectHandler<T> selectHandler)
focal_class.class_method_signature: DataProvider.selectAll()
focal_class.full_signature: public void selectAll()
focal_class.identifier: selectAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void selectAll()
focal_class.class_method_signature: DataProvider.selectVisible()
focal_class.full_signature: public void selectVisible()
focal_class.identifier: selectVisible
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void selectVisible()
focal_class.class_method_signature: DataProvider.clearAllSelection()
focal_class.full_signature: public void clearAllSelection()
focal_class.identifier: clearAllSelection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearAllSelection()
focal_class.class_method_signature: DataProvider.clearVisibleSelection()
focal_class.full_signature: public void clearVisibleSelection()
focal_class.identifier: clearVisibleSelection
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearVisibleSelection()
focal_class.class_method_signature: DataProvider.select(T item, boolean select)
focal_class.full_signature: public void select(T item, boolean select)
focal_class.identifier: select
focal_class.modifiers: public
focal_class.parameters: (T item, boolean select)
focal_class.return: void
focal_class.signature: void select(T item, boolean select)
focal_class.class_method_signature: DataProvider.getSelectionInfo()
focal_class.full_signature: public SelectionInfo<T> getSelectionInfo()
focal_class.identifier: getSelectionInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SelectionInfo<T>
focal_class.signature: SelectionInfo<T> getSelectionInfo()
focal_class.class_method_signature: DataProvider.selectInternal(String id, T item, boolean select)
focal_class.full_signature: private void selectInternal(String id, T item, boolean select)
focal_class.identifier: selectInternal
focal_class.modifiers: private
focal_class.parameters: (String id, T item, boolean select)
focal_class.return: void
focal_class.signature: void selectInternal(String id, T item, boolean select)
focal_class.class_method_signature: DataProvider.fireSelection(T item)
focal_class.full_signature: private void fireSelection(T item)
focal_class.identifier: fireSelection
focal_class.modifiers: private
focal_class.parameters: (T item)
focal_class.return: void
focal_class.signature: void fireSelection(T item)
focal_class.class_method_signature: DataProvider.addFilter(String name, FilterValue<T> filter)
focal_class.full_signature: public void addFilter(String name, FilterValue<T> filter)
focal_class.identifier: addFilter
focal_class.modifiers: public
focal_class.parameters: (String name, FilterValue<T> filter)
focal_class.return: void
focal_class.signature: void addFilter(String name, FilterValue<T> filter)
focal_class.class_method_signature: DataProvider.removeFilter(String name)
focal_class.full_signature: public void removeFilter(String name)
focal_class.identifier: removeFilter
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: void
focal_class.signature: void removeFilter(String name)
focal_class.class_method_signature: DataProvider.clearFilters()
focal_class.full_signature: public void clearFilters()
focal_class.identifier: clearFilters
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearFilters()
focal_class.class_method_signature: DataProvider.getFilter(String name)
focal_class.full_signature: @SuppressWarnings("unchecked") public FilterValue<T> getFilter(String name)
focal_class.identifier: getFilter
focal_class.modifiers: @SuppressWarnings("unchecked") public
focal_class.parameters: (String name)
focal_class.return: FilterValue<T>
focal_class.signature: FilterValue<T> getFilter(String name)
focal_class.class_method_signature: DataProvider.hasFilters()
focal_class.full_signature: public boolean hasFilters()
focal_class.identifier: hasFilters
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasFilters()
focal_class.class_method_signature: DataProvider.setComparator(Comparator<T> comparator)
focal_class.full_signature: public void setComparator(Comparator<T> comparator)
focal_class.identifier: setComparator
focal_class.modifiers: public
focal_class.parameters: (Comparator<T> comparator)
focal_class.return: void
focal_class.signature: void setComparator(Comparator<T> comparator)
focal_class.class_method_signature: DataProvider.getComparator()
focal_class.full_signature: public Comparator<T> getComparator()
focal_class.identifier: getComparator
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Comparator<T>
focal_class.signature: Comparator<T> getComparator()
focal_class.class_method_signature: DataProvider.setPageSize(int pageSize)
focal_class.full_signature: public void setPageSize(int pageSize)
focal_class.identifier: setPageSize
focal_class.modifiers: public
focal_class.parameters: (int pageSize)
focal_class.return: void
focal_class.signature: void setPageSize(int pageSize)
focal_class.class_method_signature: DataProvider.gotoFirstPage()
focal_class.full_signature: public void gotoFirstPage()
focal_class.identifier: gotoFirstPage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void gotoFirstPage()
focal_class.class_method_signature: DataProvider.gotoPreviousPage()
focal_class.full_signature: public void gotoPreviousPage()
focal_class.identifier: gotoPreviousPage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void gotoPreviousPage()
focal_class.class_method_signature: DataProvider.gotoNextPage()
focal_class.full_signature: public void gotoNextPage()
focal_class.identifier: gotoNextPage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void gotoNextPage()
focal_class.class_method_signature: DataProvider.gotoLastPage()
focal_class.full_signature: public void gotoLastPage()
focal_class.identifier: gotoLastPage
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void gotoLastPage()
focal_class.class_method_signature: DataProvider.gotoPage(int page)
focal_class.full_signature: public void gotoPage(int page)
focal_class.identifier: gotoPage
focal_class.modifiers: public
focal_class.parameters: (int page)
focal_class.return: void
focal_class.signature: void gotoPage(int page)
focal_class.class_method_signature: DataProvider.getPageInfo()
focal_class.full_signature: public PageInfo getPageInfo()
focal_class.identifier: getPageInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: PageInfo
focal_class.signature: PageInfo getPageInfo()
focal_class.class_method_signature: DataProvider.paged(List<T> values)
focal_class.full_signature: private List<T> paged(List<T> values)
focal_class.identifier: paged
focal_class.modifiers: private
focal_class.parameters: (List<T> values)
focal_class.return: List<T>
focal_class.signature: List<T> paged(List<T> values)
focal_class.class_method_signature: DataProvider.addDisplay(Display<T> display)
focal_class.full_signature: public void addDisplay(Display<T> display)
focal_class.identifier: addDisplay
focal_class.modifiers: public
focal_class.parameters: (Display<T> display)
focal_class.return: void
focal_class.signature: void addDisplay(Display<T> display)
focal_class.class_method_signature: DataProvider.showItems()
focal_class.full_signature: private void showItems()
focal_class.identifier: showItems
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void showItems()
focal_class.class_method_signature: DataProvider.updateSelection()
focal_class.full_signature: private void updateSelection()
focal_class.identifier: updateSelection
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updateSelection()
focal_method.body: @SuppressWarnings("unchecked")
      public FilterValue<T> getFilter(String name) {
          return filterValues.getOrDefault(name, FilterValue.EMPTY);
      }
focal_method.class_method_signature: DataProvider.getFilter(String name)
focal_method.full_signature: @SuppressWarnings("unchecked") public FilterValue<T> getFilter(String name)
focal_method.identifier: getFilter
focal_method.invocations: getOrDefault
focal_method.modifiers: @SuppressWarnings("unchecked") public
focal_method.parameters: (String name)
focal_method.return: FilterValue<T>
focal_method.signature: FilterValue<T> getFilter(String name)