test_class.file: app/src/test/java/apidez/com/doit/utils/TransformUtilsTest.java
test_class.identifier: TransformUtilsTest
test_case.body: @Test
      public void testMap() throws Exception {
          Collection<Integer> data = Arrays.asList(2, 4, 6);
          Collection<Integer> newData = TransformUtils.map(data, new TransformUtils.Map<Integer>() {
              @Override
              public Integer map(Integer item) {
                  return item / 2;
              }
          });
          assertEquals(3, newData.size());
          assertTrue(newData.contains(1));
          assertTrue(newData.contains(2));
          assertTrue(newData.contains(3));
      }
test_case.class_method_signature: TransformUtilsTest.testMap()
test_case.full_signature: @Test public void testMap()
test_case.identifier: testMap
test_case.invocations: asList map assertEquals size assertTrue contains assertTrue contains assertTrue contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMap()
focal_class.file: app/src/main/java/apidez/com/doit/utils/TransformUtils.java
focal_class.identifier: TransformUtils
focal_class.class_method_signature: TransformUtils.filter(Collection<T> items, Predicate<T> predicate)
focal_class.full_signature: public static Collection<T> filter(Collection<T> items, Predicate<T> predicate)
focal_class.identifier: filter
focal_class.modifiers: public static
focal_class.parameters: (Collection<T> items, Predicate<T> predicate)
focal_class.return: Collection<T>
focal_class.signature: Collection<T> filter(Collection<T> items, Predicate<T> predicate)
focal_class.class_method_signature: TransformUtils.map(Collection<T> items, Map<T> mapper)
focal_class.full_signature: public static Collection<E> map(Collection<T> items, Map<T> mapper)
focal_class.identifier: map
focal_class.modifiers: public static
focal_class.parameters: (Collection<T> items, Map<T> mapper)
focal_class.return: Collection<E>
focal_class.signature: Collection<E> map(Collection<T> items, Map<T> mapper)
focal_method.body: public static <T, E> Collection<E> map(Collection<T> items, Map<T> mapper) {
          Collection<E> result = new ArrayList<>();
          for (T item : items) {
              result.add(mapper.map(item));
          }
          return result;
      }
focal_method.class_method_signature: TransformUtils.map(Collection<T> items, Map<T> mapper)
focal_method.full_signature: public static Collection<E> map(Collection<T> items, Map<T> mapper)
focal_method.identifier: map
focal_method.invocations: add map
focal_method.modifiers: public static
focal_method.parameters: (Collection<T> items, Map<T> mapper)
focal_method.return: Collection<E>
focal_method.signature: Collection<E> map(Collection<T> items, Map<T> mapper)