Class Cardinality

    • Field Detail

      • lowerBound

        protected int lowerBound
      • upperBound

        protected int upperBound
    • Constructor Detail

      • Cardinality

        public Cardinality()
      • Cardinality

        public Cardinality​(int lowerBound,
                           int upperBound)
    • Method Detail

      • getBound

        protected static int getBound​(java.lang.String text)
      • getUpperBound

        public int getUpperBound()
      • getLowerBound

        public int getLowerBound()
      • isUnbounded

        public boolean isUnbounded()
      • isMany

        public boolean isMany()
      • isOne

        public boolean isOne()
      • isInBounds

        public boolean isInBounds​(int n)