public class ImmutableSingleTypeEntityIdCollection
extends java.lang.Object
implements jetbrains.exodus.entitystore.iterate.OrderedEntityIdCollection
| Constructor and Description |
|---|
ImmutableSingleTypeEntityIdCollection(int singleTypeId,
@NotNull long[] idArray) |
| Modifier and Type | Method and Description |
|---|---|
int |
count() |
jetbrains.exodus.entitystore.EntityId |
getFirst() |
@NotNull long[] |
getIdArray() |
jetbrains.exodus.entitystore.EntityId |
getLast() |
@NotNull java.util.Iterator<jetbrains.exodus.entitystore.EntityId> |
iterator() |
java.util.Iterator<jetbrains.exodus.entitystore.EntityId> |
reverseIterator() |
public ImmutableSingleTypeEntityIdCollection(int singleTypeId,
@NotNull
@NotNull long[] idArray)
public int count()
count in interface jetbrains.exodus.entitystore.iterate.EntityIdCollectionpublic jetbrains.exodus.entitystore.EntityId getFirst()
getFirst in interface jetbrains.exodus.entitystore.iterate.OrderedEntityIdCollectionpublic jetbrains.exodus.entitystore.EntityId getLast()
getLast in interface jetbrains.exodus.entitystore.iterate.OrderedEntityIdCollection@NotNull public @NotNull long[] getIdArray()
@NotNull public @NotNull java.util.Iterator<jetbrains.exodus.entitystore.EntityId> iterator()
iterator in interface java.lang.Iterable<jetbrains.exodus.entitystore.EntityId>public java.util.Iterator<jetbrains.exodus.entitystore.EntityId> reverseIterator()
reverseIterator in interface jetbrains.exodus.entitystore.iterate.OrderedEntityIdCollection