info.piwai.funkyjfunctional.guava
Class FunkyGuava

java.lang.Object
  extended by info.piwai.funkyjfunctional.guava.FunkyGuava

public final class FunkyGuava
extends Object

FunkyJFunctional enables Java functional programming using method local class declarations and init blocks. Please see the Funky javadoc to learn how to use FunkyJFunctional.

This module is dedicated to FunkyJFunctional integration with Guava (the former google collections).

Content

Code coverage of this module: 100%

Author:
Pierre-Yves Ricau (py.ricau at gmail.com)

Method Summary
static
<T,U extends Const<T>>
com.google.common.collect.Constraint<T>
withConst(Class<U> applyingClass, Object... constructorArguments)
           
static
<From,To,U extends Func<From,To>>
com.google.common.base.Function<From,To>
withFunc(Class<U> applyingClass, Object... constructorArguments)
           
static
<T,U extends Pred<T>>
com.google.common.base.Predicate<T>
withPred(Class<U> applyingClass, Object... constructorArguments)
           
static
<T,U extends Supp<T>>
com.google.common.base.Supplier<T>
withSupp(Class<U> applyingClass, Object... constructorArguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

withFunc

public static <From,To,U extends Func<From,To>> com.google.common.base.Function<From,To> withFunc(Class<U> applyingClass,
                                                                                                  Object... constructorArguments)
See Also:
FunkyGuava documentation

withPred

public static <T,U extends Pred<T>> com.google.common.base.Predicate<T> withPred(Class<U> applyingClass,
                                                                                 Object... constructorArguments)
See Also:
FunkyGuava documentation

withSupp

public static <T,U extends Supp<T>> com.google.common.base.Supplier<T> withSupp(Class<U> applyingClass,
                                                                                Object... constructorArguments)
See Also:
FunkyGuava documentation

withConst

public static <T,U extends Const<T>> com.google.common.collect.Constraint<T> withConst(Class<U> applyingClass,
                                                                                       Object... constructorArguments)
See Also:
FunkyGuava documentation


Copyright © 2011. All Rights Reserved.