Class IntWrapper

java.lang.Object
com.day.cq.reporting.helpers.IntWrapper

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

    • IntWrapper

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

    • get

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o2)
      Overrides:
      equals in class Object