commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FUNCTOR-24) Change default arity of Function, Procedure and Predicate
Date Tue, 30 Jul 2013 23:01:50 GMT

    [ https://issues.apache.org/jira/browse/FUNCTOR-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13724569#comment-13724569
] 

Bruno P. Kinoshita commented on FUNCTOR-24:
-------------------------------------------

URL: http://svn.apache.org/r1508677
Log:
[FUNCTOR-24] Change default arity of Function, Procedure and Predicate

Added:
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/NullaryFunction.java
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/NullaryPredicate.java
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/NullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BinaryPredicatePredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BoundNullaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BoundNullaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BoundNullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FullyBoundNullaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FullyBoundNullaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FullyBoundNullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/NullaryFunctionFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/NullaryFunctionNullaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/NullaryFunctionNullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/NullaryPredicateNullaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/NullaryPredicatePredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/NullaryProcedureNullaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/NullaryProcedureProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopNullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/BaseNullaryPredicateList.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositeBinaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositeBinaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositeFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositePredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositeProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalNullaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalNullaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalNullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/DoWhileNullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/NullaryAnd.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/NullaryNot.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/NullaryOr.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/NullarySequence.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/TransformedNullaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/TransformedNullaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/WhileDoNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBinaryFunctionFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBinaryPredicatePredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBinaryProcedureProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBoundNullaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBoundNullaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBoundNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFullyBoundNullaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFullyBoundNullaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFullyBoundNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestNullaryFunctionFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestNullaryFunctionNullaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestNullaryFunctionNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestNullaryPredicateNullaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestNullaryPredicatePredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestNullaryProcedureNullaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestProcedureProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestAbstractLoopNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositeBinaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositeBinaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositeFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositePredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositeProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalNullaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalNullaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestDoWhileNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestNullaryAnd.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestNullaryNot.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestNullaryOr.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestNullarySequence.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestTransformedNullaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestTransformedNullaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestWhileDoNullaryProcedure.java
Removed:
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/UnaryFunction.java
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/UnaryPredicate.java
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/UnaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionUnaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateUnaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureUnaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BoundFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BoundPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/BoundProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FullyBoundFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FullyBoundPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FullyBoundProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FunctionUnaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/PredicateUnaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/ProcedureUnaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/UnaryPredicateUnaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/UnaryProcedureUnaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/BaseUnaryPredicateList.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/DoWhileProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/TransformedFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/TransformedProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/UnaryAnd.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/UnaryNot.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/UnaryOr.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/UnarySequence.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/WhileDoProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBinaryFunctionUnaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBinaryPredicateUnaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBinaryProcedureUnaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBoundFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBoundPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestBoundProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFullyBoundFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFullyBoundPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFullyBoundProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFunctionUnaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestPredicateUnaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestProcedureUnaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestUnaryFunctionUnaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestUnaryFunctionUnaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestUnaryPredicateUnaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestUnaryProcedureUnaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestAbstractLoopProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalUnaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalUnaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalUnaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestDoWhileProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestTransformedFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestTransformedProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestUnaryAnd.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestUnaryCompositeBinaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestUnaryCompositeBinaryPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestUnaryNot.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestUnaryOr.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestUnarySequence.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestWhileDoProcedure.java
Modified:
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/Function.java
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/Predicate.java
    commons/proper/functor/trunk/api/src/main/java/org/apache/commons/functor/Procedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/FunctionProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/IgnoreLeftFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/IgnoreLeftPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/IgnoreLeftProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/IgnoreRightFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/IgnoreRightPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/IgnoreRightProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/LeftBoundFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/LeftBoundPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/LeftBoundProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/PredicateFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/ProcedureFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/RightBoundFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/RightBoundPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/adapter/RightBoundProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/AbstractListBackedAggregator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/Aggregator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/ArrayListBackedAggregator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/DoubleMaxAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/DoubleMeanValueAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/DoubleMedianValueAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/DoublePercentileAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/DoubleSumAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/IntegerMaxAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/IntegerMeanValueAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/IntegerMedianValueAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/IntegerPercentileAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/IntegerSumAggregatorFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/aggregator/functions/package-info.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/Constant.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/Identity.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/IsEqual.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/IsInstance.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/IsNotEqual.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/IsNotNull.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/IsNotSame.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/IsNull.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/IsSame.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/Limit.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/NoOp.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/Offset.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/DoUntil.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/DoWhile.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/FindWithinGenerator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/FoldLeft.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/FoldRight.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/GeneratorContains.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/InPlaceTransform.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/IndexOfInGenerator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/PredicatedLoop.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/RecursiveEvaluation.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/RemoveMatching.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/RetainMatching.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/UntilDo.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/algorithm/WhileDo.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/collection/FilteredIterable.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/collection/FilteredIterator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/collection/IsEmpty.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/collection/Size.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/collection/TransformedIterator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/IsEquivalent.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/IsLessThan.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/IsWithinRange.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/Max.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/comparator/Min.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/And.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/BasePredicateList.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/Composite.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/Conditional.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/ConditionalProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/Not.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/Or.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/Sequence.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryFunction.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/core/composite/TransformedBinaryProcedure.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/BaseGenerator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/FilteredGenerator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/GenerateUntil.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/GenerateWhile.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/Generator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/IteratorToGeneratorAdapter.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/TransformedGenerator.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/UntilGenerate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/WhileGenerate.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/CollectionTransformer.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/IntegerRange.java
    commons/proper/functor/trunk/core/src/main/java/org/apache/commons/functor/generator/util/LongRange.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/TestAlgorithms.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFunctionPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestFunctionProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestIgnoreLeftPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestIgnoreLeftProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestIgnoreRightPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestIgnoreRightProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestLeftBoundFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestLeftBoundPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestLeftBoundProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestPredicateFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestProcedureFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestRightBoundFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestRightBoundPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/adapter/TestRightBoundProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/aggregator/AbstractListBackedAggregatorTest.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/aggregator/ArrayListBackedAggregatorTest.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIdentity.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIsEqual.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIsInstance.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIsNotEqual.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIsNotNull.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIsNotSame.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIsNull.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestIsSame.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestLimit.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestNoOp.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/TestOffset.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestDoUntil.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestDoWhile.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestFindWithinGenerator.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestGeneratorContains.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestInPlaceTransform.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestIndexOfInGenerator.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestRecursiveEvaluation.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestRemoveMatching.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestRetainMatching.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestUntilDo.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/algorithm/TestWhileDo.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/collection/TestFilteredIterable.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/collection/TestFilteredIterator.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/collection/TestIsElementOf.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/collection/TestIsEmpty.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/collection/TestSize.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/collection/TestTransformedIterator.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/comparator/TestMax.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/comparator/TestMin.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestAnd.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditional.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalPredicate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestConditionalProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestNot.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestOr.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestSequence.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestTransformedBinaryFunction.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/core/composite/TestTransformedBinaryProcedure.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/FlexiMapExample.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/QuicksortExample.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/aggregator/list/OwnFunctionImplementationSample.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/aggregator/list/OwnListImplementationSample.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/four/Abs.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/four/DataMunger.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/four/IsInteger.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/four/NthColumn.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/four/ToInteger.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/Add.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/Divide.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/Mod.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/Multiply.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/Product.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/Subtract.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/SupermarketPricingExample.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/one/ToMoney.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/two/EiffelStyleLoop.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/kata/two/TestBinaryChop.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/lines/Contains.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/lines/Count.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/lines/Lines.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/lines/StartsWith.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/lines/TestLines.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/lines/WordCount.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/map/FixedSizeMap.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/map/FunctoredMap.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/map/LazyMap.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/example/map/PredicatedMap.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/generator/TestBaseGenerator.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/generator/TestFilteredGenerator.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/generator/TestGenerateUntil.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/generator/TestGenerateWhile.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/generator/TestTransformedGenerator.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/generator/TestUntilGenerate.java
    commons/proper/functor/trunk/core/src/test/java/org/apache/commons/functor/generator/TestWhileGenerate.java
    commons/proper/functor/trunk/src/changes/changes.xml
    commons/proper/functor/trunk/src/site/xdoc/aggregator.xml
    commons/proper/functor/trunk/src/site/xdoc/examples.xml
                
> Change default arity of Function, Procedure and Predicate
> ---------------------------------------------------------
>
>                 Key: FUNCTOR-24
>                 URL: https://issues.apache.org/jira/browse/FUNCTOR-24
>             Project: Commons Functor
>          Issue Type: Improvement
>            Reporter: Bruno P. Kinoshita
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>
> From http://markmail.org/message/ion6fk6hroh5zmzn
> Java 8 (project lambda) [1] and Google Guava [2] have a default arity of 1 for these
interfaces (i.e. Function is a unary function). But in [functor] the default arity is 0 (i.e.
nullary).
> It would be a good idea for [functor] to have a similar behaviour to the other API's,
so users and developers can use the interfaces with less hassle. 
> Other functional programming languages let the user specify the arity when declaring
the function (like in Haskell), but in [functor] we have special interfaces per arity.
> [1] http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/Function.html#apply(F)
> [2] http://docs.guava-libraries.googlecode.com/git/javadoc/com/google/common/base/Function.html#apply(F)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message