Package com.senzing.sdk
Class SzRecordKeys
- All Implemented Interfaces:
Iterable<SzRecordKey>
,Collection<SzRecordKey>
,Set<SzRecordKey>
Provides an unmodifiable runtime-typed
Set
whose elements are strictly non-null instances of
SzRecordKey
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Provides a builder class for creating instances ofSzRecordKeys
. -
Constructor Summary
ConstructorDescriptionConstructs an empty instance with noSzRecordKey
elements.SzRecordKeys
(SzRecordKey key) Constructs an instance with exactly oneSzRecordKey
.SzRecordKeys
(SzRecordKey... keys) Constructs an instance with a variable-argument array ofSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2) Constructs an instance with exactly twoSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) Constructs an instance with exactly threeSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) Constructs an instance with exactly fourSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) Constructs an instance with exactly fiveSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) Constructs an instance with exactly sixSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) Constructs an instance with exactly sevenSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) Constructs an instance with exactly eightSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) Constructs an instance with exactly nineSzRecordKey
instances.SzRecordKeys
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) Constructs an instance with exactly tenSzRecordKey
instances.SzRecordKeys
(String... keyParts) Constructs an instance with a variable-argument array ofString
instances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKey
instances for this instance.SzRecordKeys
(String dataSourceCode, String recordId) Constructs an instance with exactly oneSzRecordKey
using the specified data source code and record ID.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2) Constructs an instance with exactly twoSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) Constructs an instance with exactly threeSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) Constructs an instance with exactly fourSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) Constructs an instance with exactly fiveSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) Constructs an instance with exactly sixSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) Constructs an instance with exactly sevenSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) Constructs an instance with exactly eightSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) Constructs an instance with exactly nineSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) Constructs an instance with exactly tenSzRecordKey
instances using the specified pairs of data source codes and record ID's.SzRecordKeys
(Collection<SzRecordKey> keys) Constructs with the specifiedCollection
of non-nullSzRecordKey
instanes. -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
containsAll
(Collection<?> elements) iterator()
static SzRecordKeys.Builder
Creates a newSzRecordKeys.Builder
for creating an instance ofSzRecordKeys
.static SzRecordKeys
of()
Constructs an empty instance with noSzRecordKey
elements.static SzRecordKeys
of
(SzRecordKey key) Constructs an instance with exactly oneSzRecordKey
.static SzRecordKeys
of
(SzRecordKey... keys) Constructs an instance with a variable-argument array ofSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2) Constructs an instance with exactly twoSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) Constructs an instance with exactly threeSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) Constructs an instance with exactly fourSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) Constructs an instance with exactly fiveSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) Constructs an instance with exactly sixSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) Constructs an instance with exactly sevenSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) Constructs an instance with exactly eightSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) Constructs an instance with exactly nineSzRecordKey
instances.static SzRecordKeys
of
(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) Constructs an instance with exactly tenSzRecordKey
instances.static SzRecordKeys
Constructs an instance with a variable-argument array ofString
instances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKey
instances for this instance.static SzRecordKeys
Constructs an instance with exactly oneSzRecordKey
using the specified data source code and record ID.static SzRecordKeys
Constructs an instance with exactly twoSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) Constructs an instance with exactly threeSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) Constructs an instance with exactly fourSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) Constructs an instance with exactly fiveSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) Constructs an instance with exactly sixSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) Constructs an instance with exactly sevenSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) Constructs an instance with exactly eightSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) Constructs an instance with exactly nineSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) Constructs an instance with exactly tenSzRecordKey
instances using the specified pairs of data source codes and record ID's.static SzRecordKeys
of
(Collection<SzRecordKey> keys) Constructs with the specifiedCollection
of non-nullSzRecordKey
instanes.int
size()
toString()
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, isEmpty, remove, retainAll, toArray, toArray
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
SzRecordKeys
Constructs with the specifiedCollection
of non-nullSzRecordKey
instanes.- Parameters:
keys
- TheCollection
ofSzRecordKey
instances.- Throws:
NullPointerException
- If the specifiedCollection
isnull
or containsnull
elements.
-
SzRecordKeys
public SzRecordKeys()Constructs an empty instance with noSzRecordKey
elements. -
SzRecordKeys
Constructs an instance with exactly oneSzRecordKey
.- Parameters:
key
- The singleSzRecordKey
for this instance.- Throws:
NullPointerException
- If the specified parameter isnull
.
-
SzRecordKeys
Constructs an instance with exactly twoSzRecordKey
instances. If the specifiedSzRecordKey
instances are duplicates of each other then the second will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.- Throws:
NullPointerException
- If either of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) throws NullPointerException Constructs an instance with exactly threeSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) throws NullPointerException Constructs an instance with exactly fourSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) throws NullPointerException Constructs an instance with exactly sixSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) throws NullPointerException Constructs an instance with exactly eightSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.key8
- The eighthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) throws NullPointerException Constructs an instance with exactly nineSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.key8
- The eighthSzRecordKey
for this instance.key9
- The ninthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) throws NullPointerException Constructs an instance with exactly tenSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.key8
- The eighthSzRecordKey
for this instance.key9
- The ninthSzRecordKey
for this instance.key10
- The tenthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
Constructs an instance with a variable-argument array ofSzRecordKey
instances. This constructor is called when an array is specified or eleven or more variable argument parameters are provided. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
keys
- The zero or moreSzRecordKey
instances for this instance.- Throws:
NullPointerException
- If any of the specified variable argument parameters or elements in a specified array isnull
.
-
SzRecordKeys
Constructs an instance with exactly oneSzRecordKey
using the specified data source code and record ID.- Parameters:
dataSourceCode
- The non-null data source code of the singleSzRecordKey
for this instance.recordId
- The non-null record ID of the singleSzRecordKey
for this instance.- Throws:
NullPointerException
- If either of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2) throws NullPointerException Constructs an instance with exactly twoSzRecordKey
instances using the specified pairs of data source codes and record ID's. If the specified pairs of data source code and record ID's are duplicates of each other then the second pair will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) throws NullPointerException Constructs an instance with exactly threeSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) throws NullPointerException Constructs an instance with exactly fourSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) throws NullPointerException Constructs an instance with exactly sixSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) throws NullPointerException Constructs an instance with exactly eightSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.dataSourceCode8
- The data source code of the eighthSzRecordKey
for this instance.recordId8
- The record ID of the eighthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) throws NullPointerException Constructs an instance with exactly nineSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.dataSourceCode8
- The data source code of the eighthSzRecordKey
for this instance.recordId8
- The record ID of the eighthSzRecordKey
for this instance.dataSourceCode9
- The data source code of the ninthSzRecordKey
for this instance.recordId9
- The record ID of the ninthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
public SzRecordKeys(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) throws NullPointerException Constructs an instance with exactly tenSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.dataSourceCode8
- The data source code of the eighthSzRecordKey
for this instance.recordId8
- The record ID of the eighthSzRecordKey
for this instance.dataSourceCode9
- The data source code of the ninthSzRecordKey
for this instance.recordId9
- The record ID of the ninthSzRecordKey
for this instance.dataSourceCode10
- The data source code of the tenthSzRecordKey
for this instance.recordId10
- The record ID of the tenthSzRecordKey
for this instance.- Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
SzRecordKeys
Constructs an instance with a variable-argument array ofString
instances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKey
instances for this instance. This constructor is called when an arrayString
instances is specified with twenty-one or more variable argument parameters. If any of the specified pairs of data source code and record ID's is duplicated, then the duplicate pairs will be ignored.- Parameters:
keyParts
- The pairs of data source code and record ID pairs for theSzRecordKey
instances for this instance.- Throws:
IllegalArgumentException
- If an odd number of parameters is specified or an array with odd-number length is specified.NullPointerException
- If any of the specified parameters isnull
.
-
-
Method Details
-
of
Constructs with the specifiedCollection
of non-nullSzRecordKey
instanes. Unlike theSzRecordKeys(Collection)
constructor, this static factory method allows the parameter to benull
, resulting in anull
return value.- Parameters:
keys
- TheCollection
ofSzRecordKey
instances.- Returns:
- The newly constructed instance of
SzRecordKeys
, ornull
if the specified parameter isnull
. - Throws:
NullPointerException
- If the specifiedCollection
containsnull
elements.
-
of
Constructs an empty instance with noSzRecordKey
elements.- Returns:
- The newly constructed instance of
SzRecordKeys
.
-
of
Constructs an instance with exactly oneSzRecordKey
.- Parameters:
key
- The singleSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If the specified parameter isnull
.
-
of
Constructs an instance with exactly twoSzRecordKey
instances. If the specifiedSzRecordKey
instances are duplicates of each other then the second will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If either of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3) throws NullPointerException Constructs an instance with exactly threeSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4) throws NullPointerException Constructs an instance with exactly fourSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6) throws NullPointerException Constructs an instance with exactly sixSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8) throws NullPointerException Constructs an instance with exactly eightSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.key8
- The eighthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9) throws NullPointerException Constructs an instance with exactly nineSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.key8
- The eighthSzRecordKey
for this instance.key9
- The ninthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(SzRecordKey key1, SzRecordKey key2, SzRecordKey key3, SzRecordKey key4, SzRecordKey key5, SzRecordKey key6, SzRecordKey key7, SzRecordKey key8, SzRecordKey key9, SzRecordKey key10) throws NullPointerException Constructs an instance with exactly tenSzRecordKey
instances. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.- Parameters:
key1
- The firstSzRecordKey
for this instance.key2
- The secondSzRecordKey
for this instance.key3
- The thirdSzRecordKey
for this instance.key4
- The fourthSzRecordKey
for this instance.key5
- The fifthSzRecordKey
for this instance.key6
- The sixthSzRecordKey
for this instance.key7
- The seventhSzRecordKey
for this instance.key8
- The eighthSzRecordKey
for this instance.key9
- The ninthSzRecordKey
for this instance.key10
- The tenthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
Constructs an instance with a variable-argument array ofSzRecordKey
instances. This method is called when an array is specified or eleven or more variable argument parameters are provided. If any of the specifiedSzRecordKey
instances are duplicated, then the duplicates will be ignored.Unlike the
SzRecordKeys(SzRecordKey[])
constructor, this static factory method allows the parameter to benull
, resulting in anull
return value.- Parameters:
keys
- The zero or moreSzRecordKey
instances for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
, ornull
if called with anull
array. - Throws:
NullPointerException
- If any of the variable argument parameters isnull
.
-
of
Constructs an instance with exactly oneSzRecordKey
using the specified data source code and record ID.- Parameters:
dataSourceCode
- The non-null data source code of the singleSzRecordKey
for this instance.recordId
- The non-null record ID of the singleSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If either of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2) throws NullPointerException Constructs an instance with exactly twoSzRecordKey
instances using the specified pairs of data source codes and record ID's. If the specified pairs of data source code and record ID's are duplicates of each other then the second pair will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3) throws NullPointerException Constructs an instance with exactly threeSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4) throws NullPointerException Constructs an instance with exactly fourSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5) throws NullPointerException Constructs an instance with exactly fiveSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6) throws NullPointerException Constructs an instance with exactly sixSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7) throws NullPointerException Constructs an instance with exactly sevenSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8) throws NullPointerException Constructs an instance with exactly eightSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.dataSourceCode8
- The data source code of the eighthSzRecordKey
for this instance.recordId8
- The record ID of the eighthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9) throws NullPointerException Constructs an instance with exactly nineSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.dataSourceCode8
- The data source code of the eighthSzRecordKey
for this instance.recordId8
- The record ID of the eighthSzRecordKey
for this instance.dataSourceCode9
- The data source code of the ninthSzRecordKey
for this instance.recordId9
- The record ID of the ninthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
public static SzRecordKeys of(String dataSourceCode1, String recordId1, String dataSourceCode2, String recordId2, String dataSourceCode3, String recordId3, String dataSourceCode4, String recordId4, String dataSourceCode5, String recordId5, String dataSourceCode6, String recordId6, String dataSourceCode7, String recordId7, String dataSourceCode8, String recordId8, String dataSourceCode9, String recordId9, String dataSourceCode10, String recordId10) throws NullPointerException Constructs an instance with exactly tenSzRecordKey
instances using the specified pairs of data source codes and record ID's. If any of the specified pairs of data source code and record ID's are duplicated, then the duplicate pairs will be ignored.- Parameters:
dataSourceCode1
- The data source code of the firstSzRecordKey
for this instance.recordId1
- The record ID of the firstSzRecordKey
for this instance.dataSourceCode2
- The data source code of the secondSzRecordKey
for this instance.recordId2
- The record ID of the secondSzRecordKey
for this instance.dataSourceCode3
- The data source code of the thirdSzRecordKey
for this instance.recordId3
- The record ID of the thirdSzRecordKey
for this instance.dataSourceCode4
- The data source code of the fourthSzRecordKey
for this instance.recordId4
- The record ID of the fourthSzRecordKey
for this instance.dataSourceCode5
- The data source code of the fifthSzRecordKey
for this instance.recordId5
- The record ID of the fifthSzRecordKey
for this instance.dataSourceCode6
- The data source code of the sixthSzRecordKey
for this instance.recordId6
- The record ID of the sixthSzRecordKey
for this instance.dataSourceCode7
- The data source code of the seventhSzRecordKey
for this instance.recordId7
- The record ID of the seventhSzRecordKey
for this instance.dataSourceCode8
- The data source code of the eighthSzRecordKey
for this instance.recordId8
- The record ID of the eighthSzRecordKey
for this instance.dataSourceCode9
- The data source code of the ninthSzRecordKey
for this instance.recordId9
- The record ID of the ninthSzRecordKey
for this instance.dataSourceCode10
- The data source code of the tenthSzRecordKey
for this instance.recordId10
- The record ID of the tenthSzRecordKey
for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
. - Throws:
NullPointerException
- If any of the specified parameters isnull
.
-
of
Constructs an instance with a variable-argument array ofString
instances with an even-number length representing pairs of data source codes and record ID's for theSzRecordKey
instances for this instance. This static factory method is called when an array ofString
instances is specified with an odd number of variable argument parameters or twenty-one or more variable argument parameters. If any of the specified pairs of data source code and record ID's is duplicated, then the duplicate pairs will be ignored.Unlike the
SzRecordKeys(String[])
constructor, this static factory method allows the parameter to benull
, resulting in anull
return value.- Parameters:
keyParts
- The pairs of data source code and record ID pairs for theSzRecordKey
instances for this instance.- Returns:
- The newly constructed instance of
SzRecordKeys
, ornull
if called with anull
array. - Throws:
IllegalArgumentException
- If an odd number of parameters is specified or an array with odd-number length is specified.NullPointerException
- If any of variable argument parameters or elements in an array parameter isnull
.
-
newBuilder
Creates a newSzRecordKeys.Builder
for creating an instance ofSzRecordKeys
.- Returns:
- A new
SzRecordKeys.Builder
for creating an instance ofSzRecordKeys
.
-
contains
- Specified by:
contains
in interfaceCollection<SzRecordKey>
- Specified by:
contains
in interfaceSet<SzRecordKey>
- Overrides:
contains
in classAbstractCollection<SzRecordKey>
-
containsAll
- Specified by:
containsAll
in interfaceCollection<SzRecordKey>
- Specified by:
containsAll
in interfaceSet<SzRecordKey>
- Overrides:
containsAll
in classAbstractCollection<SzRecordKey>
-
iterator
- Specified by:
iterator
in interfaceCollection<SzRecordKey>
- Specified by:
iterator
in interfaceIterable<SzRecordKey>
- Specified by:
iterator
in interfaceSet<SzRecordKey>
- Specified by:
iterator
in classAbstractCollection<SzRecordKey>
-
size
public int size()- Specified by:
size
in interfaceCollection<SzRecordKey>
- Specified by:
size
in interfaceSet<SzRecordKey>
- Specified by:
size
in classAbstractCollection<SzRecordKey>
-
toString
- Overrides:
toString
in classAbstractCollection<SzRecordKey>
-