Documentation of 'bayesnet.jayes.factor.opcache.DivisionCache' Java class
DivisionCache
bayesnet.jayes.factor.opcache

Class DivisionCache



  • public class DivisionCache
    extends java.lang.Object
    This class is to be used when divisions are a performance-critical part of the code, and the sequence of divisions is such that many subsequent divisions will have the same result (using the same divisor).
    • Constructor Summary

      Constructors 
      Constructor and Description
      DivisionCache(int divisor) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int apply(int arg) 
      boolean isInCache(int arg) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DivisionCache

        public DivisionCache(int divisor)
    • Method Detail

      • apply

        public int apply(int arg)
      • isInCache

        public boolean isInCache(int arg)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.