Class ContainingTypeRule

java.lang.Object
nz.org.riskscape.engine.types.varule.ContainingTypeRule
All Implemented Interfaces:
Identified, VarianceRule

public class ContainingTypeRule extends Object implements VarianceRule

Two ContainingTypes of the same type (e.g. two lists) have the same variance as their contained types.

  • Constructor Details

    • ContainingTypeRule

      public ContainingTypeRule()
  • Method Details