public int variant() {

    if (this.variant == NOT_INITIALIZED) {
      if ((this.leastSignificantBits >>> 63) == 0) {
        this.variant = 0;
      } else if ((this.leastSignificantBits >>> 62) == 2) {
        this.variant = 2;
      } else {
        this.variant = (int) (this.leastSignificantBits >>> 61);
      }
    }
    return this.variant;
  }
public int variant ( ) { if ( this . variant == NOT_INITIALIZED ) { if ( ( this . leastSignificantBits > > > 63 ) == 0 ) { this . variant = 0 ; } else if ( ( this . leastSignificantBits > > > 62 ) == 2 ) { this . variant = 2 ; } else { this . variant = ( int ) ( this . leastSignificantBits > > > 61 ) ; } } return this . variant ; }
@return see {@link java.util.UUID#variant()}