Consistent coding standards wrt package

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2004-03-13 17:15:17 +00:00
parent 78238bdc12
commit a02862092a
1 changed files with 9 additions and 9 deletions

View File

@ -25,7 +25,7 @@ import org.apache.commons.collections.Transformer;
* another <code>Predicate</code>. * another <code>Predicate</code>.
* *
* @since Commons Collections 3.1 * @since Commons Collections 3.1
* @version $Revision: 1.1 $ $Date: 2004/03/13 16:34:46 $ * @version $Revision: 1.2 $ $Date: 2004/03/13 17:15:17 $
* @author Alban Peignier * @author Alban Peignier
* @author Stephen Colebourne * @author Stephen Colebourne
*/ */
@ -35,9 +35,9 @@ public final class TransformedPredicate implements Predicate, Serializable {
static final long serialVersionUID = -5596090919668315834L; static final long serialVersionUID = -5596090919668315834L;
/** The transformer to call */ /** The transformer to call */
private final Transformer transformer; private final Transformer iTransformer;
/** The predicate to call */ /** The predicate to call */
private final Predicate predicate; private final Predicate iPredicate;
/** /**
* Factory to create the predicate. * Factory to create the predicate.
@ -62,16 +62,16 @@ public final class TransformedPredicate implements Predicate, Serializable {
* Use <code>getInstance</code> if you want that. * Use <code>getInstance</code> if you want that.
*/ */
public TransformedPredicate(Transformer transformer, Predicate predicate) { public TransformedPredicate(Transformer transformer, Predicate predicate) {
this.transformer = transformer; iTransformer = transformer;
this.predicate = predicate; iPredicate = predicate;
} }
/** /**
* Return the predicate result. * Return the predicate result.
*/ */
public boolean evaluate(Object object) { public boolean evaluate(Object object) {
Object result = transformer.transform(object); Object result = iTransformer.transform(object);
return predicate.evaluate(result); return iPredicate.evaluate(result);
} }
/** /**
@ -79,7 +79,7 @@ public final class TransformedPredicate implements Predicate, Serializable {
* @return the predicate * @return the predicate
*/ */
public Predicate getPredicate() { public Predicate getPredicate() {
return predicate; return iPredicate;
} }
/** /**
@ -87,7 +87,7 @@ public final class TransformedPredicate implements Predicate, Serializable {
* @return the transformer * @return the transformer
*/ */
public Transformer getTransformer() { public Transformer getTransformer() {
return transformer; return iTransformer;
} }
} }