PeBuilder

public class PeBuilder implements Builder

A Builder class to create Pe objects.

Author:Manoel Campos da Silva Filho

Constructors

PeBuilder

public PeBuilder()

Methods

create

public List<Pe> create(int amount, double peMips)

setPeSupplier

public void setPeSupplier(Function<Double, Pe> peSupplier)

Sets a Function that is accountable to create Pe by this builder. The Function receives the MIPS for each PE.

Parameters:
  • peSupplier