Class AtomicIntegerTypeConverter

  • All Implemented Interfaces:
    TypeConverter<java.lang.String,​java.util.concurrent.atomic.AtomicInteger>

    public class AtomicIntegerTypeConverter
    extends java.lang.Object
    implements TypeConverter<java.lang.String,​java.util.concurrent.atomic.AtomicInteger>
    AtomicInteger type converter. Does not accept null or empty strings.
    Author:
    Mahmoud Ben Hassine ([email protected])
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.atomic.AtomicInteger convert​(java.lang.String value)
      Convert a source type into a target type.
      • Methods inherited from class java.lang.Object

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

      • AtomicIntegerTypeConverter

        public AtomicIntegerTypeConverter()
    • Method Detail

      • convert

        public java.util.concurrent.atomic.AtomicInteger convert​(java.lang.String value)
        Convert a source type into a target type.
        Specified by:
        convert in interface TypeConverter<java.lang.String,​java.util.concurrent.atomic.AtomicInteger>
        Parameters:
        value - the input value to convert
        Returns:
        The converted value