commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwaldh...@apache.org
Subject cvs commit: jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example Quicksort.java
Date Tue, 04 Mar 2003 17:28:23 GMT
rwaldhoff    2003/03/04 09:28:22

  Modified:    functor/src/java/org/apache/commons/functor/core/comparator
                        IsEquivalent.java IsGreaterThan.java
                        IsGreaterThanOrEqual.java IsLessThan.java
                        IsLessThanOrEqual.java IsNotEquivalent.java
               functor/src/test/org/apache/commons/functor/core/comparator
                        TestIsEquivalent.java TestIsGreaterThan.java
                        TestIsGreaterThanOrEqual.java TestIsLessThan.java
                        TestIsLessThanOrEqual.java TestIsNotEquivalent.java
               functor/src/test/org/apache/commons/functor/example
                        Quicksort.java
  Log:
  rename methods
  
  Revision  Changes    Path
  1.3       +3 -3      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsEquivalent.java
  
  Index: IsEquivalent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsEquivalent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IsEquivalent.java	4 Mar 2003 16:51:46 -0000	1.2
  +++ IsEquivalent.java	4 Mar 2003 17:28:21 -0000	1.3
  @@ -140,7 +140,7 @@
           return "IsEquivalent<" + comparator + ">";
       }
   
  -    public static final IsEquivalent getEquivalent() {
  +    public static final IsEquivalent getIsEquivalent() {
           return COMPARABLE_INSTANCE;
       }
       
  
  
  
  1.3       +3 -3      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java
  
  Index: IsGreaterThan.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsGreaterThan.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IsGreaterThan.java	4 Mar 2003 16:51:46 -0000	1.2
  +++ IsGreaterThan.java	4 Mar 2003 17:28:21 -0000	1.3
  @@ -137,7 +137,7 @@
           return "IsGreaterThan<" + comparator + ">";
       }
   
  -    public static final IsGreaterThan getGreaterThan() {
  +    public static final IsGreaterThan getIsGreaterThan() {
           return COMPARABLE_INSTANCE;
       }
       
  
  
  
  1.3       +3 -3      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java
  
  Index: IsGreaterThanOrEqual.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsGreaterThanOrEqual.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IsGreaterThanOrEqual.java	4 Mar 2003 16:51:46 -0000	1.2
  +++ IsGreaterThanOrEqual.java	4 Mar 2003 17:28:21 -0000	1.3
  @@ -137,7 +137,7 @@
           return "IsGreaterThanOrEqual<" + comparator + ">";
       }
   
  -    public static final IsGreaterThanOrEqual getGreaterThanOrEqual() {
  +    public static final IsGreaterThanOrEqual getIsGreaterThanOrEqual() {
           return COMPARABLE_INSTANCE;
       }
       
  
  
  
  1.3       +3 -3      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsLessThan.java
  
  Index: IsLessThan.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsLessThan.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IsLessThan.java	4 Mar 2003 16:51:46 -0000	1.2
  +++ IsLessThan.java	4 Mar 2003 17:28:21 -0000	1.3
  @@ -137,7 +137,7 @@
           return "IsLessThan<" + comparator + ">";
       }
   
  -    public static final IsLessThan getLessThan() {
  +    public static final IsLessThan getIsLessThan() {
           return COMPARABLE_INSTANCE;
       }
       
  
  
  
  1.3       +3 -3      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java
  
  Index: IsLessThanOrEqual.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsLessThanOrEqual.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IsLessThanOrEqual.java	4 Mar 2003 16:51:46 -0000	1.2
  +++ IsLessThanOrEqual.java	4 Mar 2003 17:28:21 -0000	1.3
  @@ -137,7 +137,7 @@
           return "IsLessThanOrEqual<" + comparator + ">";
       }
   
  -    public static final IsLessThanOrEqual getLessThanOrEqual() {
  +    public static final IsLessThanOrEqual getIsLessThanOrEqual() {
           return COMPARABLE_INSTANCE;
       }
       
  
  
  
  1.3       +3 -3      jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java
  
  Index: IsNotEquivalent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/java/org/apache/commons/functor/core/comparator/IsNotEquivalent.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- IsNotEquivalent.java	4 Mar 2003 16:51:46 -0000	1.2
  +++ IsNotEquivalent.java	4 Mar 2003 17:28:21 -0000	1.3
  @@ -140,7 +140,7 @@
           return "IsNotEquivalent<" + comparator + ">";
       }
   
  -    public static final IsNotEquivalent getNotEquivalent() {
  +    public static final IsNotEquivalent getIsNotEquivalent() {
           return COMPARABLE_INSTANCE;
       }
       
  
  
  
  1.2       +4 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsEquivalent.java
  
  Index: TestIsEquivalent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsEquivalent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIsEquivalent.java	4 Mar 2003 16:51:46 -0000	1.1
  +++ TestIsEquivalent.java	4 Mar 2003 17:28:21 -0000	1.2
  @@ -116,8 +116,8 @@
           assertObjectsAreEqual(p,new IsEquivalent());
           assertObjectsAreEqual(p,new IsEquivalent(null));
           assertObjectsAreEqual(p,new IsEquivalent(new ComparableComparator()));
  -        assertObjectsAreEqual(p,IsEquivalent.getEquivalent());
  -        assertSame(IsEquivalent.getEquivalent(),IsEquivalent.getEquivalent());
  +        assertObjectsAreEqual(p,IsEquivalent.getIsEquivalent());
  +        assertSame(IsEquivalent.getIsEquivalent(),IsEquivalent.getIsEquivalent());
           assertObjectsAreNotEqual(p,new ConstantPredicate(false));
       }
       
  
  
  
  1.2       +4 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsGreaterThan.java
  
  Index: TestIsGreaterThan.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsGreaterThan.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIsGreaterThan.java	4 Mar 2003 16:51:46 -0000	1.1
  +++ TestIsGreaterThan.java	4 Mar 2003 17:28:21 -0000	1.2
  @@ -117,8 +117,8 @@
           assertObjectsAreEqual(p,new IsGreaterThan());
           assertObjectsAreEqual(p,new IsGreaterThan(null));
           assertObjectsAreEqual(p,new IsGreaterThan(new ComparableComparator()));
  -        assertObjectsAreEqual(p,IsGreaterThan.getGreaterThan());
  -        assertSame(IsGreaterThan.getGreaterThan(),IsGreaterThan.getGreaterThan());
  +        assertObjectsAreEqual(p,IsGreaterThan.getIsGreaterThan());
  +        assertSame(IsGreaterThan.getIsGreaterThan(),IsGreaterThan.getIsGreaterThan());
           assertObjectsAreNotEqual(p,new ConstantPredicate(false));
       }
       
  
  
  
  1.2       +4 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsGreaterThanOrEqual.java
  
  Index: TestIsGreaterThanOrEqual.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsGreaterThanOrEqual.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIsGreaterThanOrEqual.java	4 Mar 2003 16:51:46 -0000	1.1
  +++ TestIsGreaterThanOrEqual.java	4 Mar 2003 17:28:21 -0000	1.2
  @@ -117,8 +117,8 @@
           assertObjectsAreEqual(p,new IsGreaterThanOrEqual());
           assertObjectsAreEqual(p,new IsGreaterThanOrEqual(null));
           assertObjectsAreEqual(p,new IsGreaterThanOrEqual(new ComparableComparator()));
  -        assertObjectsAreEqual(p,IsGreaterThanOrEqual.getGreaterThanOrEqual());
  -        assertSame(IsGreaterThanOrEqual.getGreaterThanOrEqual(),IsGreaterThanOrEqual.getGreaterThanOrEqual());
  +        assertObjectsAreEqual(p,IsGreaterThanOrEqual.getIsGreaterThanOrEqual());
  +        assertSame(IsGreaterThanOrEqual.getIsGreaterThanOrEqual(),IsGreaterThanOrEqual.getIsGreaterThanOrEqual());
           assertObjectsAreNotEqual(p,new ConstantPredicate(false));
       }
       
  
  
  
  1.2       +4 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsLessThan.java
  
  Index: TestIsLessThan.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsLessThan.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIsLessThan.java	4 Mar 2003 16:51:46 -0000	1.1
  +++ TestIsLessThan.java	4 Mar 2003 17:28:21 -0000	1.2
  @@ -116,8 +116,8 @@
           assertObjectsAreEqual(p,new IsLessThan());
           assertObjectsAreEqual(p,new IsLessThan(null));
           assertObjectsAreEqual(p,new IsLessThan(new ComparableComparator()));
  -        assertObjectsAreEqual(p,IsLessThan.getLessThan());
  -        assertSame(IsLessThan.getLessThan(),IsLessThan.getLessThan());
  +        assertObjectsAreEqual(p,IsLessThan.getIsLessThan());
  +        assertSame(IsLessThan.getIsLessThan(),IsLessThan.getIsLessThan());
           assertObjectsAreNotEqual(p,new ConstantPredicate(false));
       }
       
  
  
  
  1.2       +4 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsLessThanOrEqual.java
  
  Index: TestIsLessThanOrEqual.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsLessThanOrEqual.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIsLessThanOrEqual.java	4 Mar 2003 16:51:46 -0000	1.1
  +++ TestIsLessThanOrEqual.java	4 Mar 2003 17:28:21 -0000	1.2
  @@ -116,8 +116,8 @@
           assertObjectsAreEqual(p,new IsLessThanOrEqual());
           assertObjectsAreEqual(p,new IsLessThanOrEqual(null));
           assertObjectsAreEqual(p,new IsLessThanOrEqual(new ComparableComparator()));
  -        assertObjectsAreEqual(p,IsLessThanOrEqual.getLessThanOrEqual());
  -        assertSame(IsLessThanOrEqual.getLessThanOrEqual(),IsLessThanOrEqual.getLessThanOrEqual());
  +        assertObjectsAreEqual(p,IsLessThanOrEqual.getIsLessThanOrEqual());
  +        assertSame(IsLessThanOrEqual.getIsLessThanOrEqual(),IsLessThanOrEqual.getIsLessThanOrEqual());
           assertObjectsAreNotEqual(p,new ConstantPredicate(false));
       }
       
  
  
  
  1.2       +4 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsNotEquivalent.java
  
  Index: TestIsNotEquivalent.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/core/comparator/TestIsNotEquivalent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestIsNotEquivalent.java	4 Mar 2003 16:51:46 -0000	1.1
  +++ TestIsNotEquivalent.java	4 Mar 2003 17:28:21 -0000	1.2
  @@ -116,8 +116,8 @@
           assertObjectsAreEqual(p,new IsNotEquivalent());
           assertObjectsAreEqual(p,new IsNotEquivalent(null));
           assertObjectsAreEqual(p,new IsNotEquivalent(new ComparableComparator()));
  -        assertObjectsAreEqual(p,IsNotEquivalent.getNotEquivalent());
  -        assertSame(IsNotEquivalent.getNotEquivalent(),IsNotEquivalent.getNotEquivalent());
  +        assertObjectsAreEqual(p,IsNotEquivalent.getIsNotEquivalent());
  +        assertSame(IsNotEquivalent.getIsNotEquivalent(),IsNotEquivalent.getIsNotEquivalent());
           assertObjectsAreNotEqual(p,new ConstantPredicate(false));
       }
       
  
  
  
  1.5       +4 -4      jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/Quicksort.java
  
  Index: Quicksort.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/functor/src/test/org/apache/commons/functor/example/Quicksort.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Quicksort.java	24 Feb 2003 11:58:27 -0000	1.4
  +++ Quicksort.java	4 Mar 2003 17:28:22 -0000	1.5
  @@ -442,7 +442,7 @@
               return CollectionAlgorithms.select(
                   ((List)tail).iterator(),
                   RightBoundPredicate.bind(
  -                    IsLessThan.getLessThan(),
  +                    IsLessThan.getIsLessThan(),
                       head));            
           }
       };
  @@ -456,7 +456,7 @@
               return CollectionAlgorithms.select(
                   ((List)tail).iterator(),
                   RightBoundPredicate.bind(
  -                    IsGreaterThanOrEqual.getGreaterThanOrEqual(),
  +                    IsGreaterThanOrEqual.getIsGreaterThanOrEqual(),
                       head));            
           }
       };
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message