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

Class ModuloCache



  • public class ModuloCache
    extends java.lang.Object
    This class is to be used when modulo operations are performance critical, and appear in sequence such that many subsequent values would result in the same value, if divided by the divisor.
    • Constructor Summary

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

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

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

      • ModuloCache

        public ModuloCache(int divisor)
    • Method Detail

      • apply

        public int apply(int arg)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.