cloudsim-plus-master/cloudsim-plus-master/cloudsim-plus/src/main/java/org/cloudsimplus/listeners/DatacenterBrokerEventInfo.java
static DatacenterBrokerEventInfo of(DatacenterBroker broker) {
        final double time = broker.getSimulation().clock();
        return new DatacenterBrokerEventInfo() {
            @Override public double getTime() { return time; }
            @Override public DatacenterBroker getDatacenterBroker() { return broker; }
        };
    }
/**
     * Gets a {@code DatacenterBrokerEventInfo} instance from the given parameters.
     *
     * @param broker the {@link DatacenterBroker} where the event happened
     */
Gets a  DatacenterBrokerEventInfo instance from the given parameters.
@param broker the  DatacenterBroker where the event happened
Gets a DatacenterBrokerEventInfo instance from the given parameters . @param broker the DatacenterBroker where the event happened
static DatacenterBrokerEventInfo of(DatacenterBroker broker) {
        final double time = broker.getSimulation().clock();
        return new DatacenterBrokerEventInfo() {
            @Override public double getTime() { return time; }
            @Override public DatacenterBroker getDatacenterBroker() { return broker; }
        };
    }
static DatacenterBrokerEventInfo of ( DatacenterBroker broker ) { final double time = broker . getSimulation ( ) . clock ( ) ; return new DatacenterBrokerEventInfo ( ) { @ Override public double getTime ( ) { return time ; } @ Override public DatacenterBroker getDatacenterBroker ( ) { return broker ; } } ; }
Gets a {@code DatacenterBrokerEventInfo} instance from the given parameters.
Gets a { @code DatacenterBrokerEventInfo } instance from the given parameters .