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.


 Attribute Summary
private static PredicateTrue  _theInstance
 
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
 

 Attribute Detail

_theInstance

private static PredicateTrue _theInstance

arrow_up
 Constructor Detail

PredicateTrue

public 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 - 10 - 21

    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.