You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2008/04/03 22:23:31 UTC

svn commit: r644470 [1/7] - in /commons/sandbox/functor/trunk/src: main/java/org/apache/commons/functor/ main/java/org/apache/commons/functor/adapter/ main/java/org/apache/commons/functor/core/ main/java/org/apache/commons/functor/core/collection/ main...

Author: mbenson
Date: Thu Apr  3 13:23:16 2008
New Revision: 644470

URL: http://svn.apache.org/viewvc?rev=644470&view=rev
Log:
ws

Modified:
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Algorithms.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Function.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Predicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Procedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateBinaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureBinaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionUnaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/IgnoreLeftFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/IgnoreLeftPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/IgnoreLeftProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/IgnoreRightFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/IgnoreRightPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/IgnoreRightProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/LeftBoundFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/LeftBoundPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/LeftBoundProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/PredicateFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/PredicateUnaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/ProcedureFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/ProcedureUnaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/RightBoundFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/RightBoundPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/RightBoundProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryFunctionUnaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryPredicateUnaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/UnaryProcedureUnaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Constant.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Identity.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsEqual.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsInstanceOf.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotEqual.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNotNull.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/IsNull.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/LeftIdentity.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Limit.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/NoOp.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/Offset.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/RightIdentity.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/FilteredIterator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsElementOf.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/IsEmpty.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/Size.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/collection/TransformedIterator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparableComparator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/ComparatorFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsEquivalent.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThan.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Max.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/Min.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/AbstractLoopProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/And.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseBinaryPredicateList.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BasePredicateList.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BaseUnaryPredicateList.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BinaryAnd.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BinaryCompositeBinaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BinaryNot.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BinaryOr.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/BinarySequence.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Composite.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/CompositeUnaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Conditional.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalBinaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/ConditionalUnaryProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/DoWhileProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Not.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Or.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/Sequence.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransposedFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransposedPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/TransposedProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryAnd.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryFunction.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryCompositeBinaryPredicate.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryNot.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnaryOr.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/UnarySequence.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/composite/WhileDoProcedure.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/BaseGenerator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/Generator.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/IteratorToGeneratorAdapter.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/CollectionTransformer.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/EachElement.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/IntegerRange.java
    commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/generator/util/LongRange.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/BaseFunctorTest.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/TestAlgorithms.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestBinaryFunctionBinaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestBinaryFunctionBinaryProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestBinaryPredicateBinaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestBinaryProcedureBinaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestBoundFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestBoundPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestBoundProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestFunctionPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestFunctionProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestFunctionUnaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestIgnoreLeftFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestIgnoreLeftPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestIgnoreLeftProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestIgnoreRightFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestIgnoreRightPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestIgnoreRightProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestLeftBoundFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestLeftBoundPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestLeftBoundProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestPredicateFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestPredicateUnaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestProcedureFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestProcedureUnaryProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestRightBoundFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestRightBoundPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestRightBoundProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestUnaryFunctionUnaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestUnaryFunctionUnaryProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestUnaryPredicateUnaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/adapter/TestUnaryProcedureUnaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestConstant.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIdentity.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsEqual.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsInstanceOf.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsNotEqual.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsNotNull.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestIsNull.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestLeftIdentity.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestLimit.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestNoOp.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestOffset.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/TestRightIdentity.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/collection/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/collection/TestFilteredIterator.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/collection/TestIsEmpty.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/collection/TestSize.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/collection/TestTransformedIterator.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/BaseComparisonPredicateTest.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestComparableComparator.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestComparatorFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestIsEquivalent.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestIsGreaterThan.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestIsGreaterThanOrEqual.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestIsLessThan.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestIsLessThanOrEqual.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestIsNotEquivalent.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestMax.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/comparator/TestMin.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestAbstractLoopProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestAnd.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestBinaryAnd.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestBinaryCompositeBinaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestBinaryNot.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestBinaryOr.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestBinarySequence.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestComposite.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestCompositeUnaryProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditional.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalBinaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalBinaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalBinaryProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalUnaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalUnaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestConditionalUnaryProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestNot.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestOr.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestSequence.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestTransposedFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestTransposedPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestTransposedProcedure.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestUnaryAnd.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestUnaryCompositeBinaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestUnaryCompositeBinaryPredicate.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestUnaryNot.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestUnaryOr.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/core/composite/TestUnarySequence.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/FlexiMapExample.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/QuicksortExample.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/Abs.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/DataMunger.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/IsInteger.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/NthColumn.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/TestSoccer.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/TestWeather.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/four/ToInteger.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/Add.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/BinaryFunctionUnaryFunction.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/Divide.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/Mod.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/Money.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/Multiply.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/Subtract.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/SupermarketPricingExample.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/one/ToMoney.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BaseBinaryChop.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/BinaryChop.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/EiffelStyleLoop.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/kata/two/TestBinaryChop.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/lines/Contains.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/lines/Count.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/lines/StartsWith.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/lines/Sum.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/lines/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/lines/TestLines.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/lines/WordCount.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/FixedSizeMap.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/FunctoredMap.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/LazyMap.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/PredicatedMap.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/TestAll.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/TestFixedSizeMap.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/TestLazyMap.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/example/map/TestPredicatedMap.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestBaseGenerator.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/generator/TestIteratorToGeneratorAdapter.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/generator/util/TestIntegerRange.java
    commons/sandbox/functor/trunk/src/test/java/org/apache/commons/functor/generator/util/TestLongRange.java

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Algorithms.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Algorithms.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Algorithms.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Algorithms.java Thu Apr  3 13:23:16 2008
@@ -36,9 +36,9 @@
 /**
  * Utility methods and algorithms for applying functors to {@link Generator}s
  * and {@link Iterator}s.
- * {@link Generator}s also many of these utility methods as instance methods. 
- * The {@link #select select} and {@link #reject reject} methods 
- * return new Generators. This becomes useful for constructing nested expressions. 
+ * {@link Generator}s also many of these utility methods as instance methods.
+ * The {@link #select select} and {@link #reject reject} methods
+ * return new Generators. This becomes useful for constructing nested expressions.
  * For example:
  *
  * <pre>
@@ -57,24 +57,24 @@
 public final class Algorithms {
 
     /** Public constructor for bean-ish APIs */
-    public Algorithms() {        
+    public Algorithms() {
     }
 
     public static Collection collect(Iterator iter) {
         return collect(iter,new ArrayList());
     }
-    
+
     public static Collection collect(Iterator iter, Collection col) {
         while(iter.hasNext()) {
             col.add(iter.next());
         }
         return col;
     }
-    
+
     /**
      * {@link ListIterator#set Set} each element of the
      * given {@link ListIterator ListIterator} to
-     * the result of applying the 
+     * the result of applying the
      * given {@link UnaryFunction UnaryFunction} to
      * its original value.
      */
@@ -86,10 +86,10 @@
 
     /**
      * {@link Iterator#remove Remove} from the
-     * given {@link Iterator Iterator} all elements 
+     * given {@link Iterator Iterator} all elements
      * that fail to match the
      * given {@link UnaryPredicate UnaryPredicate}.
-     * 
+     *
      * @see #remove(Iterator,UnaryPredicate)
      */
     public static void retain(Iterator iter, UnaryPredicate pred) {
@@ -102,10 +102,10 @@
 
     /**
      * {@link Iterator#remove Renmove} from the
-     * given {@link Iterator Iterator} all elements 
+     * given {@link Iterator Iterator} all elements
      * that match the
      * given {@link UnaryPredicate UnaryPredicate}.
-     * 
+     *
      * @see #retain(Iterator,UnaryPredicate)
      */
     public static void remove(Iterator iter, UnaryPredicate pred) {
@@ -113,9 +113,9 @@
             if(pred.test(iter.next())) {
                 iter.remove();
             }
-        }        
+        }
     }
-    
+
     /**
      * Returns an {@link Iterator} that will apply the given {@link UnaryFunction} to each
      * element when accessed.
@@ -140,9 +140,9 @@
             }
         };
     }
-    
+
     /**
-     * Equivalent to 
+     * Equivalent to
      * <code>{@link #contains(Generator,UnaryPredicate) contains}(new {@link org.apache.commons.functor.generator.IteratorToGeneratorAdapter IteratorToGeneratorAdapter}(iter),pred)</code>.
      */
     public static final boolean contains(Iterator iter, UnaryPredicate pred) {
@@ -325,7 +325,7 @@
     }
 
     /**
-     * Equivalent to 
+     * Equivalent to
      * <code>{@link #reject(Iterator,UnaryPredicate) reject}(iter,pred)</code>.
      */
     public static final Iterator until(final Iterator iter, final UnaryPredicate pred) {
@@ -333,7 +333,7 @@
     }
 
     /**
-     * Equivalent to 
+     * Equivalent to
      * <code>{@link #reject(Generator,UnaryPredicate) reject}(gen,pred)</code>.
      */
     public static final Generator until(final Generator gen, final UnaryPredicate pred) {
@@ -364,10 +364,10 @@
 
         return result;
     }
-    
+
     // inner classes
     //---------------------------------------------------------------
-    
+
     private static class FindWithinGenerator implements UnaryProcedure {
         FindWithinGenerator(Generator gen, UnaryPredicate pred) {
             this.generator = gen;
@@ -383,15 +383,15 @@
                 generator.stop();
             }
         }
-        
+
         boolean wasFound() {
             return found;
         }
-        
+
         Object getFoundObject() {
             return foundObject;
         }
-        
+
         private UnaryPredicate predicate = null;
         private boolean found = false;
         private Object foundObject = null;
@@ -403,17 +403,17 @@
             this.seed = seed;
             this.function = function;
         }
-        
+
         public void run(Object obj) {
             seed = function.evaluate(seed,obj);
         }
-        
+
         Object getResult() {
             return seed;
         }
-        
+
         private Object seed = null;
         private BinaryFunction function = null;
     }
-    
+
 }

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryFunction.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryFunction.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryFunction.java Thu Apr  3 13:23:16 2008
@@ -19,7 +19,7 @@
 /**
  * A functor that takes two arguments and returns an <code>Object</code> value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
  * @since 1.0
@@ -27,21 +27,21 @@
  * @author Rodney Waldhoff
  */
 public interface BinaryFunction {
-    /** 
-     * Evaluate this function. 
-     * 
+    /**
+     * Evaluate this function.
+     *
      * @param left the first element of the ordered pair of arguments
      * @param right the second element of the ordered pair of arguments
      * @return the result of this function for the given arguments
      */
     Object evaluate(Object left, Object right);
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -52,14 +52,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -67,7 +67,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -76,7 +76,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryPredicate.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryPredicate.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryPredicate.java Thu Apr  3 13:23:16 2008
@@ -19,30 +19,30 @@
 /**
  * A functor that takes two arguments and returns a <code>boolean</code> value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
 public interface BinaryPredicate {
-    /** 
-     * Evaluate this predicate. 
-     * 
+    /**
+     * Evaluate this predicate.
+     *
      * @param left the first element of the ordered pair of arguments
      * @param right the second element of the ordered pair of arguments
      * @return the result of this test for the given arguments
      */
     boolean test(Object left, Object right);
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -53,14 +53,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -68,7 +68,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -77,7 +77,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryProcedure.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryProcedure.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/BinaryProcedure.java Thu Apr  3 13:23:16 2008
@@ -19,29 +19,29 @@
 /**
  * A functor that takes two arguments and has no return value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
 public interface BinaryProcedure {
-    /** 
-     * Execute this procedure. 
-     * 
+    /**
+     * Execute this procedure.
+     *
      * @param left the first element of the ordered pair of arguments
      * @param right the second element of the ordered pair of arguments
      */
     void run(Object left, Object right);
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -52,14 +52,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -67,7 +67,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -76,7 +76,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Function.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Function.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Function.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Function.java Thu Apr  3 13:23:16 2008
@@ -19,27 +19,27 @@
 /**
  * A functor that takes no arguments and returns an <code>Object</code> value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
 public interface Function {
-    /** 
-     * Evaluate this function. 
+    /**
+     * Evaluate this function.
      * @return the result of this evaluation
      */
     Object evaluate();
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -50,14 +50,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -65,7 +65,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -74,7 +74,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Predicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Predicate.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Predicate.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Predicate.java Thu Apr  3 13:23:16 2008
@@ -19,27 +19,27 @@
 /**
  * A functor that takes no arguments and returns a <code>boolean</code> value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
 public interface Predicate {
-    /** 
-     * Evaluate this predicate. 
+    /**
+     * Evaluate this predicate.
      * @return the result of this test
      */
     boolean test();
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -50,14 +50,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -65,7 +65,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -74,7 +74,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Procedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Procedure.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Procedure.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/Procedure.java Thu Apr  3 13:23:16 2008
@@ -19,16 +19,16 @@
 /**
  * A functor that takes no arguments and returns no value.
  * <p>
- * Note that this functor implements the 
+ * Note that this functor implements the
  * {@link Runnable Runnable}
  * interface, making all <code>Procedure</code>s
  * immediately usable in a number of contexts (Swing, Jelly, etc.).
  * </p>
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
@@ -36,13 +36,13 @@
 public interface Procedure extends Runnable {
     /** Execute this procedure. */
     void run();
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -53,14 +53,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -68,7 +68,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -77,7 +77,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryFunction.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryFunction.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryFunction.java Thu Apr  3 13:23:16 2008
@@ -19,29 +19,29 @@
 /**
  * A functor that takes one argument and returns an <code>Object</code> value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
 public interface UnaryFunction {
-    /** 
+    /**
      * Evaluate this function.
-     * 
+     *
      * @param obj the object to evaluate
      * @return the result of this evaluation
      */
     Object evaluate(Object obj);
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -52,14 +52,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -67,7 +67,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -76,7 +76,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryPredicate.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryPredicate.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryPredicate.java Thu Apr  3 13:23:16 2008
@@ -19,29 +19,29 @@
 /**
  * A functor that takes one argument and returns a <code>boolean</code> value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
 public interface UnaryPredicate {
-    /** 
-     * Evaluate this predicate. 
-     * 
+    /**
+     * Evaluate this predicate.
+     *
      * @param obj the object to test
      * @return the result of this test
      */
     boolean test(Object obj);
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -52,14 +52,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -67,7 +67,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -76,7 +76,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryProcedure.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryProcedure.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/UnaryProcedure.java Thu Apr  3 13:23:16 2008
@@ -19,10 +19,10 @@
 /**
  * A functor that takes one argument and returns no value.
  * <p>
- * Implementors are encouraged but not required to make their functors 
+ * Implementors are encouraged but not required to make their functors
  * {@link java.io.Serializable Serializable}.
  * </p>
- * 
+ *
  * @since 1.0
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
@@ -33,13 +33,13 @@
      * @param obj a parameter to this execution
      */
     void run(Object obj);
-    
+
     /**
      * Returns a human readable description of this functor.
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @return a human readable description of this functor
      */
     String toString();
@@ -50,14 +50,14 @@
      * Implementators are strongly encouraged but not
      * strictly required to override the default {@link Object}
      * implementation of this method.
-     * 
+     *
      * @see #equals
      * @return a hash code for this functor
      */
     int hashCode();
 
     /**
-     * Indicates whether some other object is &quot;equal to&quot; 
+     * Indicates whether some other object is &quot;equal to&quot;
      * this functor.  This method must adhere to
      * general {@link Object#equals Object.equals} contract.
      * Additionally, this method can return
@@ -65,7 +65,7 @@
      * the same functor interface and is known to produce the same
      * results and/or side-effects for the same arguments (if any).
      * <p>
-     * While implementators are strongly encouraged to override 
+     * While implementators are strongly encouraged to override
      * the default Object implementation of this method,
      * note that the default Object implementation
      * does in fact adhere to the functor <code>equals</code> contract.
@@ -74,7 +74,7 @@
      * @see #hashCode
      * @return <code>true</code> iff the given object implements
      *         this functor interface, and is known to produce the same
-     *         results and/or side-effects for the same arguments 
+     *         results and/or side-effects for the same arguments
      *         (if any).
      */
     boolean equals(Object that);

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryPredicate.java Thu Apr  3 13:23:16 2008
@@ -27,11 +27,11 @@
  * to the {@link BinaryPredicate BinaryPredicate}
  * interface.
  * <p>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying functor is.  Attempts to serialize
- * an instance whose delegate is not 
+ * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
  * </p>
  * @version $Revision$ $Date$
@@ -46,18 +46,18 @@
     public BinaryFunctionBinaryPredicate(BinaryFunction function) {
         this.function = function;
     }
- 
+
     /**
      * Returns the <code>boolean</code> value of the non-<code>null</code>
      * <code>Boolean</code> returned by the {@link BinaryFunction#evaluate evaluate}
      * method of my underlying function.
-     * 
+     *
      * @throws NullPointerException if my underlying function returns <code>null</code>
      * @throws ClassCastException if my underlying function returns a non-<code>Boolean</code>
      */
     public boolean test(Object left, Object right) {
         return ((Boolean)(function.evaluate(left,right))).booleanValue();
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof BinaryFunctionBinaryPredicate) {
@@ -66,11 +66,11 @@
             return false;
         }
     }
-    
+
     public boolean equals(BinaryFunctionBinaryPredicate that) {
         return that == this || (null != that && (null == function ? null == that.function : function.equals(that.function)));
     }
-    
+
     public int hashCode() {
         int hash = "BinaryFunctionBinaryPredicate".hashCode();
         if(null != function) {
@@ -78,19 +78,19 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "BinaryFunctionBinaryPredicate<" + function + ">";
     }
-    
+
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link BinaryFunction BinaryFunction} to the
      * {@link BinaryPredicate BinaryPredicate} interface.
      * When the given <code>BinaryFunction</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param function the possibly-<code>null</code> 
+     *
+     * @param function the possibly-<code>null</code>
      *        {@link BinaryFunction BinaryFunction} to adapt
      * @return a <code>BinaryFunctionBinaryPredicate</code> wrapping the given
      *         {@link BinaryFunction BinaryFunction}, or <code>null</code>

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryProcedure.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryProcedure.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryFunctionBinaryProcedure.java Thu Apr  3 13:23:16 2008
@@ -27,13 +27,13 @@
  * interface by ignoring the value returned
  * by the function.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying function is.  Attempts to serialize
- * an instance whose delegate is not 
+ * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -46,14 +46,14 @@
     public BinaryFunctionBinaryProcedure(BinaryFunction function) {
         this.function = function;
     }
- 
+
     /**
-     * {@link BinaryFunction#evaluate Evaluate} my function, but 
+     * {@link BinaryFunction#evaluate Evaluate} my function, but
      * ignore its returned value.
      */
     public void run(Object left, Object right) {
         function.evaluate(left,right);
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof BinaryFunctionBinaryProcedure) {
@@ -62,11 +62,11 @@
             return false;
         }
     }
-    
+
     public boolean equals(BinaryFunctionBinaryProcedure that) {
         return that == this || (null != that && (null == function ? null == that.function : function.equals(that.function)));
     }
-    
+
     public int hashCode() {
         int hash = "BinaryFunctionBinaryProcedure".hashCode();
         if(null != function) {
@@ -74,19 +74,19 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "BinaryFunctionBinaryProcedure<" + function + ">";
     }
-    
+
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link BinaryFunction BinaryFunction} to the
      * {@link BinaryProcedure BinaryProcedure} interface.
      * When the given <code>BinaryFunction</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param function the possibly-<code>null</code> 
+     *
+     * @param function the possibly-<code>null</code>
      *        {@link BinaryFunction BinaryFunction} to adapt
      * @return a <code>BinaryFunctionBinaryProcedure</code> wrapping the given
      *         {@link BinaryFunction BinaryFunction}, or <code>null</code>

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateBinaryFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateBinaryFunction.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateBinaryFunction.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryPredicateBinaryFunction.java Thu Apr  3 13:23:16 2008
@@ -22,18 +22,18 @@
 import org.apache.commons.functor.BinaryPredicate;
 
 /**
- * Adapts a 
- * {@link BinaryPredicate BinaryPredicate} 
- * to the 
+ * Adapts a
+ * {@link BinaryPredicate BinaryPredicate}
+ * to the
  * {@link BinaryFunction BinaryFunction} interface.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying predicate is.  Attempts to serialize
- * an instance whose delegate is not 
+ * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -44,14 +44,14 @@
 
     /**
      * Returns <code>Boolean.TRUE</code> (<code>Boolean.FALSE</code>)
-     * when the {@link BinaryPredicate#test test} method of my underlying 
+     * when the {@link BinaryPredicate#test test} method of my underlying
      * predicate returns <code>true</code> (<code>false</code>).
-     * 
+     *
      * @return a non-<code>null</code> <code>Boolean</code> instance
      */
     public Object evaluate(Object left, Object right) {
         return predicate.test(left,right) ? Boolean.TRUE : Boolean.FALSE;
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof BinaryPredicateBinaryFunction) {
@@ -60,11 +60,11 @@
             return false;
         }
     }
-        
+
     public boolean equals(BinaryPredicateBinaryFunction that) {
         return that == this || (null != that && (null == predicate ? null == that.predicate : predicate.equals(that.predicate)));
     }
-    
+
     public int hashCode() {
         int hash = "BinaryPredicateBinaryFunction".hashCode();
         if(null != predicate) {
@@ -72,20 +72,20 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "BinaryPredicateBinaryFunction<" + predicate + ">";
     }
 
-    
+
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link BinaryPredicate BinaryPredicate} to the
      * {@link BinaryFunction BinaryFunction} interface.
      * When the given <code>BinaryPredicate</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param predicate the possibly-<code>null</code> 
+     *
+     * @param predicate the possibly-<code>null</code>
      *        {@link BinaryPredicate BinaryPredicate} to adapt
      * @return a <code>BinaryPredicateBinaryFunction</code> wrapping the given
      *         {@link BinaryPredicate BinaryPredicate}, or <code>null</code>

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureBinaryFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureBinaryFunction.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureBinaryFunction.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BinaryProcedureBinaryFunction.java Thu Apr  3 13:23:16 2008
@@ -23,18 +23,18 @@
 
 /**
  * Adapts a
- * {@link BinaryProcedure BinaryProcedure} 
- * to the 
+ * {@link BinaryProcedure BinaryProcedure}
+ * to the
  * {@link BinaryFunction BinaryFunction} interface
  * by always returning <code>null</code>.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying procedure is.  Attempts to serialize
- * an instance whose delegate is not 
+ * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -42,11 +42,11 @@
     public BinaryProcedureBinaryFunction(BinaryProcedure procedure) {
         this.procedure = procedure;
     }
- 
+
     public Object evaluate(Object left, Object right) {
         procedure.run(left,right);
         return null;
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof BinaryProcedureBinaryFunction) {
@@ -55,11 +55,11 @@
             return false;
         }
     }
-        
+
     public boolean equals(BinaryProcedureBinaryFunction that) {
         return that == this || (null != that && (null == procedure ? null == that.procedure : procedure.equals(that.procedure)));
     }
-    
+
     public int hashCode() {
         int hash = "BinaryProcedureBinaryFunction".hashCode();
         if(null != procedure) {
@@ -67,19 +67,19 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "BinaryProcedureBinaryFunction<" + procedure + ">";
     }
 
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link BinaryProcedure BinaryProcedure} to the
      * {@link BinaryFunction BinaryFunction} interface.
      * When the given <code>BinaryProcedure</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param procedure the possibly-<code>null</code> 
+     *
+     * @param procedure the possibly-<code>null</code>
      *        {@link BinaryFunction BinaryFunction} to adapt
      * @return a <code>BinaryProcedureBinaryFunction</code> wrapping the given
      *         {@link BinaryFunction BinaryFunction}, or <code>null</code>

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundFunction.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundFunction.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundFunction.java Thu Apr  3 13:23:16 2008
@@ -23,18 +23,18 @@
 
 /**
  * Adapts a
- * {@link UnaryFunction UnaryFunction} 
- * to the 
- * {@link Function Function} interface 
+ * {@link UnaryFunction UnaryFunction}
+ * to the
+ * {@link Function Function} interface
  * using a constant unary argument.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying objects are.  Attempts to serialize
- * an instance whose delegates are not 
+ * an instance whose delegates are not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -47,10 +47,10 @@
         this.function = function;
         this.param = arg;
     }
- 
+
     public Object evaluate() {
         return function.evaluate(param);
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof BoundFunction) {
@@ -59,15 +59,15 @@
             return false;
         }
     }
-        
+
     public boolean equals(BoundFunction that) {
-        return that == this || ( 
-                (null != that) && 
+        return that == this || (
+                (null != that) &&
                 (null == function ? null == that.function : function.equals(that.function)) &&
                 (null == param ? null == that.param : param.equals(that.param)) );
-                
+
     }
-    
+
     public int hashCode() {
         int hash = "BoundFunction".hashCode();
         if(null != function) {
@@ -80,21 +80,21 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "BoundFunction<" + function + "(" + param + ")>";
     }
 
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link UnaryFunction UnaryFunction} to the
      * {@link Function Function} interface by binding
      * the specified <code>Object</code> as a constant
      * argument.
      * When the given <code>UnaryFunction</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param function the possibly-<code>null</code> 
+     *
+     * @param function the possibly-<code>null</code>
      *        {@link UnaryFunction UnaryFunction} to adapt
      * @param arg the object to bind as a constant argument
      * @return a <code>BoundFunction</code> wrapping the given

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundPredicate.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundPredicate.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundPredicate.java Thu Apr  3 13:23:16 2008
@@ -23,18 +23,18 @@
 
 /**
  * Adapts a
- * {@link UnaryPredicate UnaryPredicate} 
- * to the 
- * {@link Predicate Predicate} interface 
+ * {@link UnaryPredicate UnaryPredicate}
+ * to the
+ * {@link Predicate Predicate} interface
  * using a constant unary argument.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying objects are.  Attempts to serialize
- * an instance whose delegates are not 
+ * an instance whose delegates are not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -47,10 +47,10 @@
         this.predicate = predicate;
         this.param = arg;
     }
- 
+
     public boolean test() {
         return predicate.test(param);
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof BoundPredicate) {
@@ -59,15 +59,15 @@
             return false;
         }
     }
-        
+
     public boolean equals(BoundPredicate that) {
-        return that == this || ( 
-                (null != that) && 
+        return that == this || (
+                (null != that) &&
                 (null == predicate ? null == that.predicate : predicate.equals(that.predicate)) &&
                 (null == param ? null == that.param : param.equals(that.param)) );
-                
+
     }
-    
+
     public int hashCode() {
         int hash = "BoundPredicate".hashCode();
         if(null != predicate) {
@@ -80,21 +80,21 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "BoundPredicate<" + predicate + "(" + param + ")>";
     }
 
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link UnaryPredicate UnaryPredicate} to the
      * {@link Predicate Predicate} interface by binding
      * the specified <code>Object</code> as a constant
      * argument.
      * When the given <code>UnaryPredicate</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param predicate the possibly-<code>null</code> 
+     *
+     * @param predicate the possibly-<code>null</code>
      *        {@link UnaryPredicate UnaryPredicate} to adapt
      * @param arg the object to bind as a constant argument
      * @return a <code>BoundPredicate</code> wrapping the given

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundProcedure.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundProcedure.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/BoundProcedure.java Thu Apr  3 13:23:16 2008
@@ -23,18 +23,18 @@
 
 /**
  * Adapts a
- * {@link UnaryProcedure UnaryProcedure} 
- * to the 
- * {@link Procedure Procedure} interface 
+ * {@link UnaryProcedure UnaryProcedure}
+ * to the
+ * {@link Procedure Procedure} interface
  * using a constant unary argument.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying objects are.  Attempts to serialize
- * an instance whose delegates are not 
+ * an instance whose delegates are not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -47,10 +47,10 @@
         this.procedure = procedure;
         this.param = arg;
     }
- 
+
     public void run() {
         procedure.run(param);
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof BoundProcedure) {
@@ -59,15 +59,15 @@
             return false;
         }
     }
-        
+
     public boolean equals(BoundProcedure that) {
-        return that == this || ( 
-                (null != that) && 
+        return that == this || (
+                (null != that) &&
                 (null == procedure ? null == that.procedure : procedure.equals(that.procedure)) &&
                 (null == param ? null == that.param : param.equals(that.param)) );
-                
+
     }
-    
+
     public int hashCode() {
         int hash = "BoundProcedure".hashCode();
         if(null != procedure) {
@@ -80,21 +80,21 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "BoundProcedure<" + procedure + "(" + param + ")>";
     }
 
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link UnaryProcedure UnaryProcedure} to the
      * {@link Procedure Procedure} interface by binding
      * the specified <code>Object</code> as a constant
      * argument.
      * When the given <code>UnaryProcedure</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param procedure the possibly-<code>null</code> 
+     *
+     * @param procedure the possibly-<code>null</code>
      *        {@link UnaryProcedure UnaryProcedure} to adapt
      * @param arg the object to bind as a constant argument
      * @return a <code>BoundProcedure</code> wrapping the given

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionPredicate.java Thu Apr  3 13:23:16 2008
@@ -23,16 +23,16 @@
 
 /**
  * Adapts a <code>Boolean</code>-valued
- * {@link Function Function} to the 
+ * {@link Function Function} to the
  * {@link Predicate Predicate} interface.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying functor is.  Attempts to serialize
- * an instance whose delegate is not 
+ * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -40,18 +40,18 @@
     public FunctionPredicate(Function function) {
         this.function = function;
     }
- 
+
     /**
      * Returns the <code>boolean</code> value of the non-<code>null</code>
      * <code>Boolean</code> returned by the {@link Function#evaluate evaluate}
      * method of my underlying function.
-     * 
+     *
      * @throws NullPointerException if my underlying function returns <code>null</code>
      * @throws ClassCastException if my underlying function returns a non-<code>Boolean</code>
      */
     public boolean test() {
         return ((Boolean)(function.evaluate())).booleanValue();
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof FunctionPredicate) {
@@ -60,11 +60,11 @@
             return false;
         }
     }
-        
+
     public boolean equals(FunctionPredicate that) {
         return that == this || (null != that && (null == function ? null == that.function : function.equals(that.function)));
     }
-    
+
     public int hashCode() {
         int hash = "FunctionPredicate".hashCode();
         if(null != function) {
@@ -72,7 +72,7 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "FunctionPredicate<" + function + ">";
     }

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionProcedure.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionProcedure.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionProcedure.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionProcedure.java Thu Apr  3 13:23:16 2008
@@ -27,13 +27,13 @@
  * interface by ignoring the value returned
  * by the function.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying function is.  Attempts to serialize
- * an instance whose delegate is not 
+ * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -46,14 +46,14 @@
     public FunctionProcedure(Function function) {
         this.function = function;
     }
- 
+
     /**
-     * {@link Function#evaluate Evaluate} my function, 
+     * {@link Function#evaluate Evaluate} my function,
      * but ignore its returned value.
      */
     public void run() {
         function.evaluate();
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof FunctionProcedure) {
@@ -62,11 +62,11 @@
             return false;
         }
     }
-        
+
     public boolean equals(FunctionProcedure that) {
         return that == this || (null != that && (null == function ? null == that.function : function.equals(that.function)));
     }
-    
+
     public int hashCode() {
         int hash = "FunctionProcedure".hashCode();
         if(null != function) {
@@ -74,18 +74,18 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "FunctionProcedure<" + function + ">";
     }
     /**
-     * Adapt the given, possibly-<code>null</code>, 
+     * Adapt the given, possibly-<code>null</code>,
      * {@link Function Function} to the
      * {@link Procedure Procedure} interface.
      * When the given <code>Function</code> is <code>null</code>,
      * returns <code>null</code>.
-     * 
-     * @param function the possibly-<code>null</code> 
+     *
+     * @param function the possibly-<code>null</code>
      *        {@link Function Function} to adapt
      * @return a {@link Procedure Procedure} wrapping the given
      *         {@link Function Function}, or <code>null</code>

Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionUnaryFunction.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionUnaryFunction.java?rev=644470&r1=644469&r2=644470&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionUnaryFunction.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/adapter/FunctionUnaryFunction.java Thu Apr  3 13:23:16 2008
@@ -23,18 +23,18 @@
 
 /**
  * Adapts a
- * {@link Function Function} 
- * to the 
- * {@link UnaryFunction UnaryFunction} interface 
+ * {@link Function Function}
+ * to the
+ * {@link UnaryFunction UnaryFunction} interface
  * by ignoring the unary argument.
  * <p/>
- * Note that although this class implements 
+ * Note that although this class implements
  * {@link Serializable}, a given instance will
  * only be truly <code>Serializable</code> if the
  * underlying functor is.  Attempts to serialize
- * an instance whose delegate is not 
+ * an instance whose delegate is not
  * <code>Serializable</code> will result in an exception.
- * 
+ *
  * @version $Revision$ $Date$
  * @author Rodney Waldhoff
  */
@@ -42,10 +42,10 @@
     public FunctionUnaryFunction(Function function) {
         this.function = function;
     }
- 
+
     public Object evaluate(Object obj) {
         return function.evaluate();
-    }   
+    }
 
     public boolean equals(Object that) {
         if(that instanceof FunctionUnaryFunction) {
@@ -54,11 +54,11 @@
             return false;
         }
     }
-        
+
     public boolean equals(FunctionUnaryFunction that) {
         return that == this || (null != that && (null == function ? null == that.function : function.equals(that.function)));
     }
-    
+
     public int hashCode() {
         int hash = "FunctionUnaryFunction".hashCode();
         if(null != function) {
@@ -66,7 +66,7 @@
         }
         return hash;
     }
-    
+
     public String toString() {
         return "FunctionUnaryFunction<" + function + ">";
     }