Parallel Template Library
PTL™ 4.0
- java.lang.Object
-
- Progeneric.Ptl.Functors.GreaterOrEqual<T>
-
- Type Parameters:
T - The type of objects to compare.
- All Implemented Interfaces:
- IFunc2Arg<T,T,java.lang.Boolean>
public class GreaterOrEqual<T extends java.lang.Comparable<T>>
extends java.lang.Object
implements IFunc2Arg<T,T,java.lang.Boolean>
A binary predicate that tests whether a value of a specified
type is greater than or equal to another value of the same type.
-
-
Method Summary
Methods
| Modifier and Type |
Method and Description |
java.lang.Boolean |
Call(T arg1,
T arg2)
Tests whether a value of a specified type is greater than
or equal to another value of the same type.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GreaterOrEqual
public GreaterOrEqual()
-
Method Detail
-
Call
public java.lang.Boolean Call(T arg1,
T arg2)
Tests whether a value of a specified type is greater than
or equal to another value of the same type.
- Specified by:
Call in interface IFunc2Arg<T extends java.lang.Comparable<T>,T extends java.lang.Comparable<T>,java.lang.Boolean>
- Parameters:
arg1 - The left operand in the inequality to be tested.arg2 - The right operand in the inequality to be tested.
- Returns:
- True if arg1 is greater than or equal to arg2; otherwise, false.
Parallel Template Library
PTL™ 4.0
Copyright© 2012 Progeneric Systems, Inc. All Rights Reserved.