Class IntWrapper


  • public class IntWrapper
    extends Object
    Class that is used for wrapping integers in collections.
    • Constructor Detail

      • IntWrapper

        public IntWrapper​(int value)
        Wraps the specified value.
        Parameters:
        value - The value to be wrapped
    • Method Detail

      • get

        public int get()
        Gets the wrapped value.
        Returns:
        The wrapped value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object