Class IdRange

java.lang.Object
net.bluemind.core.container.api.IdRange

public class IdRange extends Object
Used for representing a range of offline-usable item ids. The range [globalCounter, globalCounter + count[ is reserved for the client receiving this range.
  • Field Details

    • count

      public int count
    • globalCounter

      public long globalCounter
  • Constructor Details

    • IdRange

      public IdRange()
  • Method Details

    • create

      public static IdRange create(int count, long globalCounter)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • contains

      public boolean contains(Long value)