Trusted Extensions Developer's Guide

Exit Print View

Updated: July 2014
 
 

Range Class

The Range class represents a Java version of a Trusted Extensions label range.

    This class defines the following general-purpose methods that are used to obtain the upper and lower labels in a label range and to determine whether a label is within a specified label range:

  • getLower

  • getUpper

  • inRange

    The Range class also includes the following static factories that create range objects:

  • getDeviceRange

  • getLabelRange

  • getUserRange

The getDeviceRange and getUserRange static factories create range objects based on the range for the specified device and the specified user, respectively. The getLabelRange static factory enables you to create a label range where you specify the upper and lower bounds for the range.