org.fest.assertions.condition
Class Join<T>

java.lang.Object
  extended by org.fest.assertions.core.Condition<T>
      extended by org.fest.assertions.condition.Join<T>
Type Parameters:
T - the type of object this condition accepts.
All Implemented Interfaces:
Descriptable<Condition<T>>
Direct Known Subclasses:
AllOf, AnyOf

public abstract class Join<T>
extends Condition<T>

Join of two or more Conditions.

Author:
Yvonne Wang

Constructor Summary
protected Join(Collection<Condition<T>> conditions)
          Creates a new Join.
protected Join(Condition<T>... conditions)
          Creates a new Join.
 
Method Summary
protected  Collection<Condition<T>> conditions()
          Returns the conditions to join.
 
Methods inherited from class org.fest.assertions.core.Condition
as, as, describedAs, describedAs, description, matches, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Join

protected Join(Condition<T>... conditions)
Creates a new Join.

Parameters:
conditions - the conditions to join.
Throws:
NullPointerException - if the given array is null.
NullPointerException - if any of the elements in the given array is null.

Join

protected Join(Collection<Condition<T>> conditions)
Creates a new Join.

Parameters:
conditions - the conditions to join.
Throws:
NullPointerException - if the given collection is null.
NullPointerException - if any of the elements in the given collection is null.
Method Detail

conditions

protected final Collection<Condition<T>> conditions()
Returns the conditions to join.

Returns:
the conditions to join.


Copyright © 2007-2012 FEST (Fixtures for Easy Software Testing). All Rights Reserved.