Class PaddedAtomicInteger

  • All Implemented Interfaces:
    java.io.Serializable

    public class PaddedAtomicInteger
    extends java.util.concurrent.atomic.AtomicInteger
    Since:
    4.0
    Author:
    Bela Ban
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int i1  
      protected int i10  
      protected int i11  
      protected int i12  
      protected int i13  
      protected int i14  
      protected int i2  
      protected int i3  
      protected int i4  
      protected int i5  
      protected int i6  
      protected int i7  
      protected int i8  
      protected int i9  
    • Constructor Summary

      Constructors 
      Constructor Description
      PaddedAtomicInteger​(int initialValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int sum()  
      • Methods inherited from class java.util.concurrent.atomic.AtomicInteger

        accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
      • Methods inherited from class java.lang.Number

        byteValue, shortValue
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • i1

        protected volatile int i1
      • i2

        protected volatile int i2
      • i3

        protected volatile int i3
      • i4

        protected volatile int i4
      • i5

        protected volatile int i5
      • i6

        protected volatile int i6
      • i7

        protected volatile int i7
      • i8

        protected volatile int i8
      • i9

        protected volatile int i9
      • i10

        protected volatile int i10
      • i11

        protected volatile int i11
      • i12

        protected volatile int i12
      • i13

        protected volatile int i13
      • i14

        protected volatile int i14
    • Constructor Detail

      • PaddedAtomicInteger

        public PaddedAtomicInteger​(int initialValue)
    • Method Detail

      • sum

        public int sum()