Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

com.gentleware.poseidon.util

Class PredicateTrue

com.gentleware.poseidon.util.PredicateTrue
All known implemented Interfaces:
Predicate


public class PredicateTrue


A class that implements Predicate and always returns true. This is useful when you are calling a method that accepts a Predicate to filter or select objects, but you just want all the objects, or the first object.


 Association Summary
private PredicateTrue  _theInstance
 
public PredicateTrue  predicateTrue
 
arrow_up
 

 Constructor Summary
public   PredicateTrue()
 
arrow_up
 

 Method Summary
public boolean   predicate(Object obj)
 
public static PredicateTrue   theInstance()
 
arrow_up
 

Tagged Values
static false
gentleware-imported-line-number 39
gentleware-imported-package-statement-line-number 32
 

 Association Detail

_theInstance

private PredicateTrue _theInstance

arrow_up


predicateTrue

public PredicateTrue predicateTrue

arrow_up
 Constructor Detail

PredicateTrue

public com.gentleware.poseidon.util.PredicateTrue PredicateTrue()

Returns:
arrow_up
 Method Detail

predicate

public boolean predicate(Object obj)

Parameters:
obj -
Returns:
arrow_up


theInstance

public static PredicateTrue theInstance()

Returns:
arrow_up
Created  2004 - 12 - 1

    Poseidon for UMLTM
  UMLdoc
 PREV  CLASSIFIER    NEXT  CLASSIFIER     FRAMES    NO FRAMES      
SUMMARY:   INNER | ATTR | ASSOC | CONSTR | METHOD     DETAIL:   INNER | ATTR | ASSOC | CONSTR | METHOD     DIAGRAMS:   COLLAB | SEQ | STATE | ACTIV

Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries. Copyright 2003-2004 Gentleware AG, Schanzenstr. 70, 20357 Hamburg, Germany. All Rights Reserved.

UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.