| 8 | import java.util.*; |
| 9 | |
| 10 | public class Cardboard extends patterns.trash.Cardboard |
| 11 | implements TypedBinMember { |
| 12 | public Cardboard(double wt) { super(wt); } |
| 13 | @Override |
| 14 | public boolean addToBin(List<TypedBin> tbins) { |
| 15 | return tbins.stream() |
| 16 | .anyMatch(tb -> tb.add(this)); |
| 17 | } |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected