Class Counter

java.lang.Object
org.spongepowered.asm.util.Counter

public final class Counter
extends java.lang.Object
Mutable integer for use in collections
  • Field Summary

    Fields
    Modifier and Type Field Description
    int value
    Mutable int value
  • Constructor Summary

    Constructors
    Constructor Description
    Counter()  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    int hashCode()  

    Methods inherited from class java.lang.Object

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

    • value

      public int value
      Mutable int value
  • Constructor Details

    • Counter

      public Counter()
  • Method Details

    • equals

      public boolean equals​(java.lang.Object obj)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object