/*
- * Copyright 2005 the original author or authors.
+ * Copyright 2005-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.wamblee.conditions;
/**
- * Test condition object.
- *
+ * Test condition object.
+ *
* @author Erik Brakkee
*/
public class GreaterThanCondition implements Condition<Integer> {
-
- private int _value;
-
- public GreaterThanCondition(int aValue) {
- _value = aValue;
+ private int value;
+
+ public GreaterThanCondition(int aValue) {
+ value = aValue;
}
-
- /* (non-Javadoc)
+
+ /*
+ * (non-Javadoc)
+ *
* @see org.wamblee.conditions.Condition#matches(T)
*/
public boolean matches(Integer aObject) {
- return aObject > _value;
+ return aObject > value;
}
-
}