The following document contains the results of PMD's CPD 5.6.1.
File | Line |
---|---|
com/github/aptd/simulation/elements/graph/network/local/CTransit.java | 63 |
com/github/aptd/simulation/elements/graph/network/local/CVirtual.java | 60 |
private CTransit( final IAgentConfiguration<IStation<?>> p_configuration, final String p_id, final double p_longitude, final double p_latitude, final ITime p_time ) { super( p_configuration, FUNCTOR, p_id, p_longitude, p_latitude, p_time ); } // --------------------------------------------------------------------------------------------------------------------------------------------------------- /** * generator */ public static final class CGenerator extends IBaseGenerator<IStation<?>> { /** * ctor * * @param p_stream stream * @param p_actions action * @param p_time time reference * @throws Exception on any error */ public CGenerator( final InputStream p_stream, final Set<IAction> p_actions, final ITime p_time ) throws Exception { super( p_stream, p_actions, CStation.class, p_time ); } @Override protected final Pair<IStation<?>, Stream<String>> generate( final Object... p_data ) { return new ImmutablePair<>( new CTransit( m_configuration, p_data[0].toString(), (double) p_data[1], (double) p_data[1], m_time ), |