ph-math/src/main/java/com/helger/numbercruncher/randomutils/Buckets.java
public void put (final float r)
  {
    // Ignore the value if it's out of range.
    if ((r < m_fMin) || (r > m_fMax))
      return;

    // Determine its interval and count it.
    final int i = (int) ((r - m_fMin) / m_fWidth);
    ++m_aCounters[i];
  }
public void put (final float r)
  {
    // Ignore the value if it's out of range.
    if ((r < m_fMin) || (r > m_fMax))
      return;

    // Determine its interval and count it.
    final int i = (int) ((r - m_fMin) / m_fWidth);
    ++m_aCounters[i];
  }
Determine a random value's interval and count it.

@param r
the random value