MCPcopy Create free account
hub / github.com/SeaOfNodes/Simple / dual

Method dual

chapter24/src/main/java/com/seaofnodes/simple/type/Type.java:295–295  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293 // The dual is pre-computed on creation and available "for free" thereafter
294 Type _dual;
295 public final <T extends Type> T dual() { return (T)_dual; }
296
297 <T extends Type> T xdual() {
298 return (T)new Type(switch( _type ) {

Callers 15

check_symmetricMethod · 0.95
testCyclic0Method · 0.95
joinMethod · 0.95
installMethod · 0.95
testTypeAdHocMethod · 0.45
xdualMethod · 0.45
rdualMethod · 0.45
TypeTupleClass · 0.45
TypeMemPtrClass · 0.45
xdualMethod · 0.45
rdualMethod · 0.45
xmeetMethod · 0.45

Calls

no outgoing calls

Tested by 3

check_symmetricMethod · 0.76
testCyclic0Method · 0.76
testTypeAdHocMethod · 0.36