gluu
公開メンバ関数 | 非公開変数類 | 静的非公開変数類 | 全メンバ一覧
org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey クラス
org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey の継承関係図
Inheritance graph
org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey 連携図
Collaboration graph

公開メンバ関数

 CacheCompoundKey (String[] primaryKeyValues, String[] secondaryKeyValues, String[] tertiaryKeyValues)
 
 CacheCompoundKey (String[][] keyValues)
 
String [] getPrimaryKeyValues ()
 
String [] getSecondaryKeyValues ()
 
String [] getTertiaryKeyValues ()
 
int hashCode ()
 
boolean equals (Object obj)
 
String toString ()
 

非公開変数類

String [] primaryKeyValues
 
String [] secondaryKeyValues
 
String [] tertiaryKeyValues
 

静的非公開変数類

static final long serialVersionUID = -3366537601347036591L
 

詳解

Compound key with String[] array

著者
Yuriy Movchan Date: 07.21.2011

構築子と解体子

◆ CacheCompoundKey() [1/2]

org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.CacheCompoundKey ( String []  primaryKeyValues,
String []  secondaryKeyValues,
String []  tertiaryKeyValues 
)
inline
27  {
31  }
String [] tertiaryKeyValues
Definition: CacheCompoundKey.java:25
String [] primaryKeyValues
Definition: CacheCompoundKey.java:23
String [] secondaryKeyValues
Definition: CacheCompoundKey.java:24

◆ CacheCompoundKey() [2/2]

org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.CacheCompoundKey ( String  keyValues[][])
inline
33  {
34  if (keyValues.length > 0) {
35  primaryKeyValues = keyValues[0];
36  }
37  if (keyValues.length > 1) {
38  secondaryKeyValues = keyValues[1];
39  }
40  if (keyValues.length > 2) {
41  tertiaryKeyValues = keyValues[2];
42  }
43  }
String [] tertiaryKeyValues
Definition: CacheCompoundKey.java:25
String [] primaryKeyValues
Definition: CacheCompoundKey.java:23
String [] secondaryKeyValues
Definition: CacheCompoundKey.java:24

関数詳解

◆ equals()

boolean org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.equals ( Object  obj)
inline
68  {
69  if (this == obj)
70  return true;
71  if (obj == null)
72  return false;
73  if (getClass() != obj.getClass())
74  return false;
75  CacheCompoundKey other = (CacheCompoundKey) obj;
76  if (!ArrayHelper.equalsIgnoreOrder(primaryKeyValues, other.primaryKeyValues))
77  return false;
78  if (!ArrayHelper.equalsIgnoreOrder(secondaryKeyValues, other.secondaryKeyValues))
79  return false;
80  if (!ArrayHelper.equalsIgnoreOrder(tertiaryKeyValues, other.tertiaryKeyValues))
81  return false;
82  return true;
83  }
String [] tertiaryKeyValues
Definition: CacheCompoundKey.java:25
String [] primaryKeyValues
Definition: CacheCompoundKey.java:23
CacheCompoundKey(String[] primaryKeyValues, String[] secondaryKeyValues, String[] tertiaryKeyValues)
Definition: CacheCompoundKey.java:27
String [] secondaryKeyValues
Definition: CacheCompoundKey.java:24

◆ getPrimaryKeyValues()

String [] org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.getPrimaryKeyValues ( )
inline
45  {
46  return primaryKeyValues;
47  }
String [] primaryKeyValues
Definition: CacheCompoundKey.java:23

◆ getSecondaryKeyValues()

String [] org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.getSecondaryKeyValues ( )
inline
49  {
50  return secondaryKeyValues;
51  }
String [] secondaryKeyValues
Definition: CacheCompoundKey.java:24

◆ getTertiaryKeyValues()

String [] org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.getTertiaryKeyValues ( )
inline
53  {
54  return tertiaryKeyValues;
55  }
String [] tertiaryKeyValues
Definition: CacheCompoundKey.java:25

◆ hashCode()

int org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.hashCode ( )
inline
58  {
59  final int prime = 31;
60  int result = 1;
61  result = prime * result + Arrays.hashCode(primaryKeyValues);
62  result = prime * result + Arrays.hashCode(secondaryKeyValues);
63  result = prime * result + Arrays.hashCode(tertiaryKeyValues);
64  return result;
65  }
String [] tertiaryKeyValues
Definition: CacheCompoundKey.java:25
String [] primaryKeyValues
Definition: CacheCompoundKey.java:23
String [] secondaryKeyValues
Definition: CacheCompoundKey.java:24

◆ toString()

String org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.toString ( )
inline
86  {
87  StringBuilder builder = new StringBuilder();
88  builder.append("CacheCompoundKey [primaryKeyValues=").append(Arrays.toString(primaryKeyValues)).append(", secondaryKeyValues=")
89  .append(Arrays.toString(secondaryKeyValues)).append(", tertiaryKeyValues=").append(Arrays.toString(tertiaryKeyValues))
90  .append("]");
91  return builder.toString();
92  }
String [] tertiaryKeyValues
Definition: CacheCompoundKey.java:25
String [] primaryKeyValues
Definition: CacheCompoundKey.java:23
String [] secondaryKeyValues
Definition: CacheCompoundKey.java:24

メンバ詳解

◆ primaryKeyValues

String [] org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.primaryKeyValues
private

◆ secondaryKeyValues

String [] org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.secondaryKeyValues
private

◆ serialVersionUID

final long org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.serialVersionUID = -3366537601347036591L
staticprivate

◆ tertiaryKeyValues

String [] org.gluu.oxtrust.ldap.cache.model.CacheCompoundKey.tertiaryKeyValues
private

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