test_class.file: cyclops/src/test/java/cyclops/companion/ReducersTest.java
test_class.identifier: ReducersTest
test_case.body: @Test
      public void toBagX() throws Exception {
          assertThat(Reducers.toPersistentBag().foldMap(Stream.of(1,2,3)),equalTo(Bag.of(1,2,3)));
          assertThat(Bag.empty().plus(10),equalTo(Bag.of(10)));
          assertThat(Bag.empty().plusAll(Arrays.asList(10)),equalTo(Bag.of(10)));
          assertThat(Bag.empty().plus(5).plusAll(Arrays.asList(10,20)),equalTo(Bag.of(5,10,20)));
      }
test_case.class_method_signature: ReducersTest.toBagX()
test_case.full_signature: @Test public void toBagX()
test_case.identifier: toBagX
test_case.invocations: assertThat foldMap toPersistentBag of equalTo of assertThat plus empty equalTo of assertThat plusAll empty asList equalTo of assertThat plusAll plus empty asList equalTo of
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void toBagX()
focal_class.file: cyclops/src/main/java/cyclops/companion/Reducers.java
focal_class.identifier: Reducers
focal_class.class_method_signature: Reducers.toBankersQueue()
focal_class.full_signature: public static Reducer<BankersQueue<T>,T> toBankersQueue()
focal_class.identifier: toBankersQueue
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<BankersQueue<T>,T>
focal_class.signature: Reducer<BankersQueue<T>,T> toBankersQueue()
focal_class.class_method_signature: Reducers.toSeq()
focal_class.full_signature: public static Reducer<Seq<T>,T> toSeq()
focal_class.identifier: toSeq
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<Seq<T>,T>
focal_class.signature: Reducer<Seq<T>,T> toSeq()
focal_class.class_method_signature: Reducers.toLazySeq()
focal_class.full_signature: public static Reducer<LazySeq<T>,T> toLazySeq()
focal_class.identifier: toLazySeq
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<LazySeq<T>,T>
focal_class.signature: Reducer<LazySeq<T>,T> toLazySeq()
focal_class.class_method_signature: Reducers.toIntMap()
focal_class.full_signature: public static Reducer<IntMap<T>,T> toIntMap()
focal_class.identifier: toIntMap
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<IntMap<T>,T>
focal_class.signature: Reducer<IntMap<T>,T> toIntMap()
focal_class.class_method_signature: Reducers.toVector()
focal_class.full_signature: public static Reducer<Vector<T>,T> toVector()
focal_class.identifier: toVector
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<Vector<T>,T>
focal_class.signature: Reducer<Vector<T>,T> toVector()
focal_class.class_method_signature: Reducers.toTreeSet(Comparator<T> c)
focal_class.full_signature: public static Reducer<TreeSet<T>,T> toTreeSet(Comparator<T> c)
focal_class.identifier: toTreeSet
focal_class.modifiers: public static
focal_class.parameters: (Comparator<T> c)
focal_class.return: Reducer<TreeSet<T>,T>
focal_class.signature: Reducer<TreeSet<T>,T> toTreeSet(Comparator<T> c)
focal_class.class_method_signature: Reducers.toBag()
focal_class.full_signature: public static Reducer<Bag<T>,T> toBag()
focal_class.identifier: toBag
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<Bag<T>,T>
focal_class.signature: Reducer<Bag<T>,T> toBag()
focal_class.class_method_signature: Reducers.toTreeSet()
focal_class.full_signature: public static Reducer<TreeSet<T>,T> toTreeSet()
focal_class.identifier: toTreeSet
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<TreeSet<T>,T>
focal_class.signature: Reducer<TreeSet<T>,T> toTreeSet()
focal_class.class_method_signature: Reducers.toHashSet()
focal_class.full_signature: public static Reducer<HashSet<T>,T> toHashSet()
focal_class.identifier: toHashSet
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<HashSet<T>,T>
focal_class.signature: Reducer<HashSet<T>,T> toHashSet()
focal_class.class_method_signature: Reducers.toTrieSet()
focal_class.full_signature: public static Reducer<TrieSet<T>,T> toTrieSet()
focal_class.identifier: toTrieSet
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<TrieSet<T>,T>
focal_class.signature: Reducer<TrieSet<T>,T> toTrieSet()
focal_class.class_method_signature: Reducers.toPersistentQueue()
focal_class.full_signature: public static Reducer<PersistentQueue<T>,T> toPersistentQueue()
focal_class.identifier: toPersistentQueue
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentQueue<T>,T>
focal_class.signature: Reducer<PersistentQueue<T>,T> toPersistentQueue()
focal_class.class_method_signature: Reducers.toPersistentSortedSet()
focal_class.full_signature: public static Reducer<PersistentSortedSet<T>,T> toPersistentSortedSet()
focal_class.identifier: toPersistentSortedSet
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentSortedSet<T>,T>
focal_class.signature: Reducer<PersistentSortedSet<T>,T> toPersistentSortedSet()
focal_class.class_method_signature: Reducers.toPersistentSortedSet(Comparator<T> comp)
focal_class.full_signature: public static Reducer<PersistentSortedSet<T>,T> toPersistentSortedSet(Comparator<T> comp)
focal_class.identifier: toPersistentSortedSet
focal_class.modifiers: public static
focal_class.parameters: (Comparator<T> comp)
focal_class.return: Reducer<PersistentSortedSet<T>,T>
focal_class.signature: Reducer<PersistentSortedSet<T>,T> toPersistentSortedSet(Comparator<T> comp)
focal_class.class_method_signature: Reducers.toPersistentBag()
focal_class.full_signature: public static Reducer<PersistentBag<T>,T> toPersistentBag()
focal_class.identifier: toPersistentBag
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentBag<T>,T>
focal_class.signature: Reducer<PersistentBag<T>,T> toPersistentBag()
focal_class.class_method_signature: Reducers.toPersistentSet()
focal_class.full_signature: public static Reducer<PersistentSet<T>,T> toPersistentSet()
focal_class.identifier: toPersistentSet
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentSet<T>,T>
focal_class.signature: Reducer<PersistentSet<T>,T> toPersistentSet()
focal_class.class_method_signature: Reducers.toPersistentVector()
focal_class.full_signature: public static Reducer<PersistentList<T>,T> toPersistentVector()
focal_class.identifier: toPersistentVector
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentList<T>,T>
focal_class.signature: Reducer<PersistentList<T>,T> toPersistentVector()
focal_class.class_method_signature: Reducers.toPersistentList()
focal_class.full_signature: public static Reducer<PersistentList<T>,T> toPersistentList()
focal_class.identifier: toPersistentList
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentList<T>,T>
focal_class.signature: Reducer<PersistentList<T>,T> toPersistentList()
focal_class.class_method_signature: Reducers.toPersistentListReversed()
focal_class.full_signature: public static Reducer<PersistentList<T>,T> toPersistentListReversed()
focal_class.identifier: toPersistentListReversed
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentList<T>,T>
focal_class.signature: Reducer<PersistentList<T>,T> toPersistentListReversed()
focal_class.class_method_signature: Reducers.toPersistentMap()
focal_class.full_signature: public static Reducer<PersistentMap<K, V>,Tuple2<K,V>> toPersistentMap()
focal_class.identifier: toPersistentMap
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<PersistentMap<K, V>,Tuple2<K,V>>
focal_class.signature: Reducer<PersistentMap<K, V>,Tuple2<K,V>> toPersistentMap()
focal_class.class_method_signature: Reducers.toString(final String joiner)
focal_class.full_signature: public static Monoid<String> toString(final String joiner)
focal_class.identifier: toString
focal_class.modifiers: public static
focal_class.parameters: (final String joiner)
focal_class.return: Monoid<String>
focal_class.signature: Monoid<String> toString(final String joiner)
focal_class.class_method_signature: Reducers.toTotalInt()
focal_class.full_signature: public static Monoid<Integer> toTotalInt()
focal_class.identifier: toTotalInt
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Monoid<Integer>
focal_class.signature: Monoid<Integer> toTotalInt()
focal_class.class_method_signature: Reducers.toCountInt()
focal_class.full_signature: public static Reducer<Integer,T> toCountInt()
focal_class.identifier: toCountInt
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<Integer,T>
focal_class.signature: Reducer<Integer,T> toCountInt()
focal_class.class_method_signature: Reducers.toTotalDouble()
focal_class.full_signature: public static Monoid<Double> toTotalDouble()
focal_class.identifier: toTotalDouble
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Monoid<Double>
focal_class.signature: Monoid<Double> toTotalDouble()
focal_class.class_method_signature: Reducers.toCountDouble()
focal_class.full_signature: public static Reducer<Double,T> toCountDouble()
focal_class.identifier: toCountDouble
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Reducer<Double,T>
focal_class.signature: Reducer<Double,T> toCountDouble()
focal_method.body: public static <T> Reducer<PersistentBag<T>,T> toPersistentBag() {
          return Reducer.fromMonoid(Monoids.concatPersistentCollection(Bag.empty()), a -> Bag.of(a));
      }
focal_method.class_method_signature: Reducers.toPersistentBag()
focal_method.full_signature: public static Reducer<PersistentBag<T>,T> toPersistentBag()
focal_method.identifier: toPersistentBag
focal_method.invocations: fromMonoid concatPersistentCollection empty of
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: Reducer<PersistentBag<T>,T>
focal_method.signature: Reducer<PersistentBag<T>,T> toPersistentBag()