Class SetOperationCornerCases


  • public class SetOperationCornerCases
    extends Object
    Simplifies and speeds up set operations by resolving specific corner cases.
    Author:
    Lee Rhodes
    • Constructor Detail

      • SetOperationCornerCases

        public SetOperationCornerCases()
    • Method Detail

      • createCornerCaseId

        public static int createCornerCaseId​(long thetaLongA,
                                             int countA,
                                             boolean emptyA,
                                             long thetaLongB,
                                             int countB,
                                             boolean emptyB)
      • sketchStateId

        public static int sketchStateId​(boolean isEmpty,
                                        int numRetained,
                                        long thetaLong)