PredicateType

public class PredicateType implements Predicate<SimEvent>

A predicate to select events with specific tag.

Author:Marcos Dias de Assuncao

See also: Predicate

Constructors

PredicateType

public PredicateType(int tag)

Constructor used to select events with the given tag value.

Parameters:
  • tag – an event tag value

Methods

test

public boolean test(SimEvent evt)

Matches any event that has one of the specified tag.

Parameters:
Returns:

{@inheritDoc}

See also: .tag