Class IntHolder

java.lang.Object
de.tilman_neumann.jml.factor.base.IntHolder

public class IntHolder
extends java.lang.Object
Class for holding counts. A holder class is better performance-wise than mapping counts as integers since increments/decrements don't need to be remapped.
  • Field Summary

    Fields
    Modifier and Type Field Description
    int value  
  • Constructor Summary

    Constructors
    Constructor Description
    IntHolder​(int v)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • value

      public int value
  • Constructor Details

    • IntHolder

      public IntHolder​(int v)