org.argkit
Interface ArgumentSource<C>

Type Parameters:
C - (Argument's) claim class
All Known Implementing Classes:
Dungine, InformalArgumentSource

public interface ArgumentSource<C>

Use this interface to expose arguments from an argument source.

Author:
Matt South

Method Summary
 java.util.Collection<? extends Argument<C>> getAllArguments()
          Yield all arguments from a particular argument source.
 java.util.Collection<? extends Argument<C>> getArguments(C claim)
          Yield all arguments with a particular claim expression.
 

Method Detail

getArguments

java.util.Collection<? extends Argument<C>> getArguments(C claim)
Yield all arguments with a particular claim expression.

Parameters:
claim - argument's claim
Returns:
a collection of arguments with the given claim

getAllArguments

java.util.Collection<? extends Argument<C>> getAllArguments()
Yield all arguments from a particular argument source.

Returns:
a collection of all arguments available from the implementing source