Class IntReference

java.lang.Object
moe.kyokobot.koe.media.IntReference

public class IntReference extends Object
Mutable reference to an int value. Provides no atomicity guarantees and should not be shared between threads without external synchronization.
  • Constructor Details

    • IntReference

      public IntReference()
  • Method Details

    • get

      public int get()
    • set

      public void set(int value)
    • add

      public void add(int amount)