keycloak-federation
公開メンバ関数 | 静的公開変数類 | 非公開変数類 | 全メンバ一覧
org.freedesktop.dbus.UInt32 クラス
org.freedesktop.dbus.UInt32 の継承関係図
Inheritance graph
org.freedesktop.dbus.UInt32 連携図
Collaboration graph

公開メンバ関数

 UInt32 (long value)
 
 UInt32 (String value)
 
byte byteValue ()
 
double doubleValue ()
 
float floatValue ()
 
int intValue ()
 
long longValue ()
 
short shortValue ()
 
boolean equals (Object o)
 
int hashCode ()
 
int compareTo (UInt32 other)
 
String toString ()
 

静的公開変数類

static final long MAX_VALUE = 4294967295L
 
static final long MIN_VALUE = 0
 

非公開変数類

long value
 

詳解

Class to represent unsigned 32-bit numbers.

構築子と解体子

◆ UInt32() [1/2]

org.freedesktop.dbus.UInt32.UInt32 ( long  value)
inline

Create a UInt32 from a long.

引数
valueMust be a valid integer within MIN_VALUE–MAX_VALUE
例外
NumberFormatExceptionif value is not between MIN_VALUE and MAX_VALUE
38  {
39  if (value < MIN_VALUE || value > MAX_VALUE)
40  throw new NumberFormatException(MessageFormat.format(getString("isNotBetween"), new Object[]{value, MIN_VALUE, MAX_VALUE}));
41  this.value = value;
42  }
long value
Definition: UInt32.java:30
static final long MIN_VALUE
Definition: UInt32.java:29
static final long MAX_VALUE
Definition: UInt32.java:25

◆ UInt32() [2/2]

org.freedesktop.dbus.UInt32.UInt32 ( String  value)
inline

Create a UInt32 from a String.

引数
valueMust parse to a valid integer within MIN_VALUE–MAX_VALUE
例外
NumberFormatExceptionif value is not an integer between MIN_VALUE and MAX_VALUE
50  {
51  this(Long.parseLong(value));
52  }
long value
Definition: UInt32.java:30

関数詳解

◆ byteValue()

byte org.freedesktop.dbus.UInt32.byteValue ( )
inline

The value of this as a byte.

57  {
58  return (byte) value;
59  }
long value
Definition: UInt32.java:30

◆ compareTo()

int org.freedesktop.dbus.UInt32.compareTo ( UInt32  other)
inline

Compare two UInt32s.

戻り値
0 if equal, -ve or +ve if they are different.
112  {
113  return (int) (this.value - other.value);
114  }
long value
Definition: UInt32.java:30

◆ doubleValue()

double org.freedesktop.dbus.UInt32.doubleValue ( )
inline

The value of this as a double.

64  {
65  return (double) value;
66  }
long value
Definition: UInt32.java:30

◆ equals()

boolean org.freedesktop.dbus.UInt32.equals ( Object  o)
inline

Test two UInt32s for equality.

99  {
100  return o instanceof UInt32 && ((UInt32) o).value == this.value;
101  }
long value
Definition: UInt32.java:30
UInt32(long value)
Definition: UInt32.java:38

◆ floatValue()

float org.freedesktop.dbus.UInt32.floatValue ( )
inline

The value of this as a float.

71  {
72  return (float) value;
73  }
long value
Definition: UInt32.java:30

◆ hashCode()

int org.freedesktop.dbus.UInt32.hashCode ( )
inline
103  {
104  return (int) value;
105  }
long value
Definition: UInt32.java:30

◆ intValue()

int org.freedesktop.dbus.UInt32.intValue ( )
inline

The value of this as a int.

78  {
79  return (int) value;
80  }
long value
Definition: UInt32.java:30

◆ longValue()

long org.freedesktop.dbus.UInt32.longValue ( )
inline

The value of this as a long.

85  {
86  return /*(long)*/ value;
87  }
long value
Definition: UInt32.java:30

◆ shortValue()

short org.freedesktop.dbus.UInt32.shortValue ( )
inline

The value of this as a short.

92  {
93  return (short) value;
94  }
long value
Definition: UInt32.java:30

◆ toString()

String org.freedesktop.dbus.UInt32.toString ( )
inline

The value of this as a string

119  {
120  return "" + value;
121  }
long value
Definition: UInt32.java:30

メンバ詳解

◆ MAX_VALUE

final long org.freedesktop.dbus.UInt32.MAX_VALUE = 4294967295L
static

Maximum allowed value

◆ MIN_VALUE

final long org.freedesktop.dbus.UInt32.MIN_VALUE = 0
static

Minimum allowed value

◆ value

long org.freedesktop.dbus.UInt32.value
private

このクラス詳解は次のファイルから抽出されました: