public final class SpecObjectReferences
extends java.lang.Object
SpecObjectReference
objects.
It is used to obtain the collection of SpecObjectReference
objects which represent SpecObject
objects
that contain at least one ExternalLink
object.
Modifier and Type | Method and Description |
---|---|
boolean |
contains(SpecObjectReference specObjectReference)
Checks whether the specified
SpecObjectReference exists in this collection. |
SpecObjectReference |
get(int index)
Returns the
SpecObjectReference object at the specified index that is contained in this collection. |
int |
getCount()
Returns the count of items in this collection.
|
java.util.Iterator<SpecObjectReference> |
iterator() |
java.util.stream.Stream<SpecObjectReference> |
stream() |
java.lang.String |
toString() |
public java.util.stream.Stream<SpecObjectReference> stream()
public java.util.Iterator<SpecObjectReference> iterator()
iterator
in interface java.lang.Iterable<SpecObjectReference>
public SpecObjectReference get(int index) throws java.lang.IndexOutOfBoundsException
SpecObjectReference
object at the specified index that is contained in this collection.index
- the index of the SpecObjectReference
to return from the collection, >= 0
and <
collection sizeSpecObjectReference
object at the specified indexjava.lang.IndexOutOfBoundsException
- if the index is < 0
or >=
countpublic boolean contains(SpecObjectReference specObjectReference)
SpecObjectReference
exists in this collection.specObjectReference
- the SpecObjectReference
to check, not nulltrue
if the specified specObjectReference exists
, false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public int getCount()