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

公開メンバ関数

 Struct ()
 
final Object [] getParameters ()
 
final String toString ()
 
final boolean equals (Object other)
 

静的関数

static void putTypeCache (Type k, Type[] v)
 
static Type [] getTypeCache (Type k)
 

詳解

This class should be extended to create Structs. Any such class may be sent over DBus to a method which takes a Struct. All fields in the Struct which you wish to be serialized and sent to the remote method should be annotated with the org.freedesktop.dbus.Position annotation, in the order they should appear in to Struct to DBus.

構築子と解体子

◆ Struct()

org.freedesktop.dbus.Struct.Struct ( )
inline
21  {
22  }

関数詳解

◆ equals()

final boolean org.freedesktop.dbus.Container.equals ( Object  other)
inlineinherited
85  {
86  if (other instanceof Container) {
87  Container that = (Container) other;
88  if (this.getClass().equals(that.getClass()))
89  return Arrays.equals(this.getParameters(), that.getParameters());
90  else return false;
91  } else return false;
92  }
Container()
Definition: Container.java:36
final Object [] getParameters()
Definition: Container.java:65

◆ getParameters()

final Object [] org.freedesktop.dbus.Container.getParameters ( )
inlineinherited

Returns the struct contents in order.

例外
DBusExceptionIf there is a problem doing this.
65  {
66  if (null != parameters) return parameters;
67  setup();
68  return parameters;
69  }
void setup()
Definition: Container.java:39
Object [] parameters
Definition: Container.java:34

◆ getTypeCache()

static Type [] org.freedesktop.dbus.Container.getTypeCache ( Type  k)
inlinestaticpackageinherited
30  {
31  return typecache.get(k);
32  }
static Map< Type, Type[]> typecache
Definition: Container.java:24

◆ putTypeCache()

static void org.freedesktop.dbus.Container.putTypeCache ( Type  k,
Type []  v 
)
inlinestaticpackageinherited
26  {
27  typecache.put(k, v);
28  }
static Map< Type, Type[]> typecache
Definition: Container.java:24

◆ toString()

final String org.freedesktop.dbus.Container.toString ( )
inlineinherited

Returns this struct as a string.

74  {
75  String s = getClass().getName() + "<";
76  if (null == parameters)
77  setup();
78  if (0 == parameters.length)
79  return s + ">";
80  for (Object o : parameters)
81  s += o + ", ";
82  return s.replaceAll(", $", ">");
83  }
void setup()
Definition: Container.java:39
Object [] parameters
Definition: Container.java:34

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