MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / Glass

Class Glass

patterns/doubledispatch/Glass.java:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8import java.util.*;
9
10public class Glass extends patterns.trash.Glass
11implements TypedBinMember {
12 public Glass(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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected