Sha256: a3178ac6bbe921f610600de9e174b7044277ec946147f58021914df5f846e04c
Contents?: true
Size: 476 Bytes
Versions: 37
Compression:
Stored size: 476 Bytes
Contents
package cukes.jbehave.examples.trader.persistence; import cukes.jbehave.examples.trader.model.Trader; public class TraderPersister { private Trader[] traders; public TraderPersister(Trader... traders) { this.traders = traders; } public Trader retrieveTrader(String name) { for (Trader trader : traders) { if (trader.getName().equals(name)) { return trader; } } return null; } }
Version data entries
37 entries across 37 versions & 4 rubygems