ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/extra166y/Ops.java
(Generate patch)

Comparing jsr166/src/extra166y/Ops.java (file contents):
Revision 1.3 by jsr166, Tue Mar 15 19:47:02 2011 UTC vs.
Revision 1.5 by jsr166, Tue Jan 31 01:51:13 2012 UTC

# Line 339 | Line 339 | public class Ops {
339      public static interface BinaryPredicate<A,B>         { boolean op(A a, B b);}
340      public static interface Procedure<A>                 { void    op(A a);}
341      public static interface Generator<R>                 { R       op();}
342 <    public static interface Reducer<A> extends BinaryOp<A, A, A>{}
342 >    public static interface Reducer<A> extends BinaryOp<A, A, A> {}
343  
344      public static interface IntOp                        { int     op(int a);}
345      public static interface BinaryIntOp                  { int     op(int a, int b);}
# Line 347 | Line 347 | public class Ops {
347      public static interface IntProcedure                 { void    op(int a);}
348      public static interface IntGenerator                 { int     op();}
349      public static interface BinaryIntPredicate           { boolean op(int a, int b);}
350 <    public static interface IntReducer extends BinaryIntOp{}
350 >    public static interface IntReducer extends BinaryIntOp {}
351      public static interface IntComparator                { int     compare(int a, int b);}
352  
353      public static interface LongOp                       { long    op(long a);}
# Line 356 | Line 356 | public class Ops {
356      public static interface BinaryLongPredicate          { boolean op(long a, long b);}
357      public static interface LongProcedure                { void    op(long a);}
358      public static interface LongGenerator                { long    op();}
359 <    public static interface LongReducer extends BinaryLongOp{}
359 >    public static interface LongReducer extends BinaryLongOp {}
360      public static interface LongComparator               { int     compare(long a, long b);}
361  
362      public static interface DoubleOp                     { double  op(double a);}
# Line 365 | Line 365 | public class Ops {
365      public static interface BinaryDoublePredicate        { boolean op(double a, double b);}
366      public static interface DoubleProcedure              { void    op(double a);}
367      public static interface DoubleGenerator              { double  op();}
368 <    public static interface DoubleReducer extends BinaryDoubleOp{}
368 >    public static interface DoubleReducer extends BinaryDoubleOp {}
369      public static interface DoubleComparator             { int     compare(double a, double b);}
370  
371      public static interface Action                       { void    op();}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines