Top Description Inners Fields Constructors Methods
org.eclipse.collections.impl.bag.mutable.primitive

public Class LongHashBag

extends AbstractLongIterable
implements MutableLongBag, Externalizable
Class Inheritance
All Implemented Interfaces
java.io.Externalizable, java.io.Serializable, org.eclipse.collections.api.bag.primitive.MutableLongBag, org.eclipse.collections.api.bag.primitive.LongBag, org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.MutableLongCollection
Imports
java.io.Externalizable, .IOException, .ObjectInput, .ObjectOutput, java.util.NoSuchElementException, org.eclipse.collections.api.LongIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.LongBag, .ImmutableLongBag, .MutableLongBag, org.eclipse.collections.api.block.function.primitive.LongToObjectFunction, .IntFunction, .ObjectLongToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.IntPredicate, .LongPredicate, org.eclipse.collections.api.block.procedure.primitive.LongProcedure, .LongIntProcedure, org.eclipse.collections.api.factory.Lists, org.eclipse.collections.api.iterator.LongIterator, .MutableLongIterator, org.eclipse.collections.api.set.primitive.LongSet, .MutableLongSet, org.eclipse.collections.api.tuple.primitive.LongIntPair, org.eclipse.collections.api.list.MutableList, org.eclipse.collections.impl.Counter, org.eclipse.collections.impl.bag.mutable.HashBag, org.eclipse.collections.impl.block.factory.primitive.IntToIntFunctions, org.eclipse.collections.impl.factory.primitive.LongBags, .LongSets, org.eclipse.collections.impl.map.mutable.primitive.LongIntHashMap, org.eclipse.collections.impl.primitive.AbstractLongIterable, org.eclipse.collections.impl.set.mutable.primitive.LongHashSet, org.eclipse.collections.impl.tuple.primitive.PrimitiveTuples

LongHashBag is similar to HashBag, and is memory-optimized for long primitives. This file was automatically generated from template file primitiveHashBag.stg.
Since
3.0.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private LongIntHashMap
private static final long
private int

Constructor Summary

AccessConstructor and Description
public
public
LongHashBag(int size)

public
public
LongHashBag(long... elements)

public

Method Summary

Modifier and TypeMethod and Description
public boolean
public boolean
public boolean
public void
public boolean
allSatisfy(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.allSatisfy.

Returns true if all of the elements in the LongIterable return true for the specified predicate, otherwise returns false.

public boolean
anySatisfy(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.anySatisfy.

Returns true if any of the elements in the LongIterable return true for the specified predicate, otherwise returns false.

public void
appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

Prints a string representation of this collection onto the given Appendable.

public MutableLongBag
public MutableLongBag
public MutableList<LongIntPair>
bottomOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.bottomOccurrences.

Returns the count least frequently occurring items.

public RichIterable<LongIterable>
chunk(int size)

Overrides default org.eclipse.collections.api.LongIterable.chunk.

Partitions elements in fixed size chunks.

public void
public <V> MutableBag<V>
collect(LongToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.collect, org.eclipse.collections.api.LongIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection.

public boolean
contains(long value)

Implements org.eclipse.collections.api.LongIterable.contains.

Returns true if the value is contained in the LongIterable, and false if it is not.

public int
count(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.count.

Returns a count of the number of elements in the LongIterable that return true for the specified predicate.

public long
public void
each(LongProcedure procedure)

Implements org.eclipse.collections.api.LongIterable.each.

A synonym for forEach.

public boolean
equals(Object otherBag)

Overrides java.lang.Object.equals.

Implements org.eclipse.collections.api.bag.primitive.LongBag.equals.

Follows the same general contract as Bag#equals(Object).

public void
forEachWithOccurrences(LongIntProcedure procedure)

Implements org.eclipse.collections.api.bag.primitive.LongBag.forEachWithOccurrences.

For each distinct item, with the number of occurrences, execute the specified procedure.

public int
public <T> T
injectInto(T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function)

Implements org.eclipse.collections.api.LongIterable.injectInto.

public boolean
isEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

public MutableLongIterator
longIterator()

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.longIterator, org.eclipse.collections.api.LongIterable.longIterator.

Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.

public long
public long
public static LongHashBag
newBag(int size)

public static LongHashBag
public static LongHashBag
newBag(LongBag source)

public static LongHashBag
newBagWith(long... source)

public LongHashBag
newEmpty()

Overrides default org.eclipse.collections.api.bag.primitive.MutableLongBag.newEmpty.

Creates a new empty LongHashBag.

public boolean
noneSatisfy(LongPredicate predicate)

Overrides default org.eclipse.collections.api.LongIterable.noneSatisfy.

Returns true if none of the elements in the LongIterable return true for the specified predicate, otherwise returns false.

public boolean
notEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

public int
occurrencesOf(long item)

Implements org.eclipse.collections.api.bag.primitive.LongBag.occurrencesOf.

The occurrences of a distinct item in the bag.

protected MutableList<LongIntPair>
public void
readExternal(ObjectInput in)

Implements java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays.

public LongHashBag
reject(LongPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.reject, org.eclipse.collections.api.LongIterable.reject.

Returns a new LongIterable with all of the elements in the LongIterable that return false for the specified predicate.

public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public LongHashBag
select(LongPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.select, org.eclipse.collections.api.LongIterable.select.

Returns a new LongIterable with all of the elements in the LongIterable that return true for the specified predicate.

public LongHashBag
selectByOccurrences(IntPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.selectByOccurrences.

Returns all elements of the bag that have a number of occurrences that satisfy the predicate.

public MutableLongSet
selectUnique()

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.selectUnique.

Returns all elements of the bag that have exactly one occurrence.

public int
size()

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

public int
sizeDistinct()

Implements org.eclipse.collections.api.bag.primitive.LongBag.sizeDistinct.

The size of the Bag when counting only distinct elements.

public long
public long[]
toArray()

Implements org.eclipse.collections.api.LongIterable.toArray.

Converts the LongIterable to a primitive long array.

public long[]
toArray(long[] array)

Overrides default org.eclipse.collections.api.LongIterable.toArray.

Converts the LongIterable to a primitive long array.

public ImmutableLongBag
toImmutable()

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.toImmutable.

Returns an immutable copy of this bag.

protected MutableList<LongIntPair>
public MutableList<LongIntPair>
topOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.topOccurrences.

Returns the count most frequently occurring items.

public LongHashBag
public LongHashBag
with(long element1, long element2)

public LongHashBag
with(long element1, long element2, long element3)

public LongHashBag
public LongHashBag
public LongHashBag
public void
writeExternal(ObjectOutput out)

Implements java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Inherited from org.eclipse.collections.impl.primitive.AbstractLongIterable:
asLazyaveragemaxIfEmptymedianminIfEmptytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

itemsback to summary
private LongIntHashMap items
serialVersionUIDback to summary
private static final long serialVersionUID
sizeback to summary
private int size

Constructor Detail

LongHashBagback to summary
public LongHashBag()
LongHashBagback to summary
public LongHashBag(int size)
LongHashBagback to summary
public LongHashBag(LongIterable iterable)
LongHashBagback to summary
public LongHashBag(long... elements)
LongHashBagback to summary
public LongHashBag(LongHashBag bag)

Method Detail

addback to summary
public boolean add(long item)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.add.

Annotations
@Override
addAllback to summary
public boolean addAll(long... source)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.addAll.

Annotations
@Override
addAllback to summary
public boolean addAll(LongIterable source)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.addAll.

Annotations
@Override
addOccurrencesback to summary
public void addOccurrences(long item, int occurrences)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.addOccurrences.

Annotations
@Override
allSatisfyback to summary
public boolean allSatisfy(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.allSatisfy.

Doc from org.eclipse.collections.api.LongIterable.allSatisfy.

Returns true if all of the elements in the LongIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
anySatisfyback to summary
public boolean anySatisfy(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.anySatisfy.

Doc from org.eclipse.collections.api.LongIterable.anySatisfy.

Returns true if any of the elements in the LongIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
appendStringback to summary
public void appendString(Appendable appendable, String start, String separator, String end)

Implements org.eclipse.collections.api.PrimitiveIterable.appendString.

Doc from org.eclipse.collections.api.PrimitiveIterable.appendString.

Prints a string representation of this collection onto the given Appendable. Prints the string returned by makeString(String, String, String).

Annotations
@Override
asSynchronizedback to summary
public MutableLongBag asSynchronized()

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.asSynchronized.

Annotations
@Override
asUnmodifiableback to summary
public MutableLongBag asUnmodifiable()

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.asUnmodifiable.

Annotations
@Override
bottomOccurrencesback to summary
public MutableList<LongIntPair> bottomOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.bottomOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.MutableLongBag.bottomOccurrences.

Returns the count least frequently occurring items. In the event of a tie, all of the items with the number of occurrences that match the occurrences of the last item will be returned.

Annotations
@Override
chunkback to summary
public RichIterable<LongIterable> chunk(int size)

Overrides default org.eclipse.collections.api.LongIterable.chunk.

Doc from org.eclipse.collections.api.LongIterable.chunk.

Partitions elements in fixed size chunks.

Annotations
@Override
clearback to summary
public void clear()

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.clear.

Annotations
@Override
collectback to summary
public <V> MutableBag<V> collect(LongToObjectFunction<? extends V> function)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.collect, org.eclipse.collections.api.LongIterable.collect.

Doc from org.eclipse.collections.api.LongIterable.collect.

Returns a new collection with the results of applying the specified function on each element of the source collection. This method is also commonly called transform or map.

Annotations
@Override
containsback to summary
public boolean contains(long value)

Implements org.eclipse.collections.api.LongIterable.contains.

Doc from org.eclipse.collections.api.LongIterable.contains.

Returns true if the value is contained in the LongIterable, and false if it is not.

Annotations
@Override
countback to summary
public int count(LongPredicate predicate)

Implements org.eclipse.collections.api.LongIterable.count.

Doc from org.eclipse.collections.api.LongIterable.count.

Returns a count of the number of elements in the LongIterable that return true for the specified predicate.

Annotations
@Override
detectIfNoneback to summary
public long detectIfNone(LongPredicate predicate, long ifNone)

Implements org.eclipse.collections.api.LongIterable.detectIfNone.

Annotations
@Override
eachback to summary
public void each(LongProcedure procedure)

Implements org.eclipse.collections.api.LongIterable.each.

Doc from org.eclipse.collections.api.LongIterable.each.

A synonym for forEach.

Annotations
@Override
Since
7.0.
equalsback to summary
public boolean equals(Object otherBag)

Overrides java.lang.Object.equals.

Implements org.eclipse.collections.api.bag.primitive.LongBag.equals.

Doc from org.eclipse.collections.api.bag.primitive.LongBag.equals.

Follows the same general contract as Bag#equals(Object).

Annotations
@Override
forEachWithOccurrencesback to summary
public void forEachWithOccurrences(LongIntProcedure procedure)

Implements org.eclipse.collections.api.bag.primitive.LongBag.forEachWithOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.LongBag.forEachWithOccurrences.

For each distinct item, with the number of occurrences, execute the specified procedure.

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Implements org.eclipse.collections.api.bag.primitive.LongBag.hashCode.

Doc from org.eclipse.collections.api.bag.primitive.LongBag.hashCode.

Follows the same general contract as Bag#hashCode().

Annotations
@Override
injectIntoback to summary
public <T> T injectInto(T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function)

Implements org.eclipse.collections.api.LongIterable.injectInto.

Annotations
@Override
isEmptyback to summary
public boolean isEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.isEmpty.

Returns true if this iterable has zero items.

Annotations
@Override
longIteratorback to summary
public MutableLongIterator longIterator()

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.longIterator, org.eclipse.collections.api.LongIterable.longIterator.

Doc from org.eclipse.collections.api.LongIterable.longIterator.

Returns a primitive iterator that can be used to iterate over the LongIterable in an imperative style.

Annotations
@Override
maxback to summary
public long max()

Implements org.eclipse.collections.api.LongIterable.max.

Annotations
@Override
minback to summary
public long min()

Implements org.eclipse.collections.api.LongIterable.min.

Annotations
@Override
newBagback to summary
public static LongHashBag newBag(int size)
newBagback to summary
public static LongHashBag newBag(LongIterable source)
newBagback to summary
public static LongHashBag newBag(LongBag source)
newBagWithback to summary
public static LongHashBag newBagWith(long... source)
newEmptyback to summary
public LongHashBag newEmpty()

Overrides default org.eclipse.collections.api.bag.primitive.MutableLongBag.newEmpty.

Creates a new empty LongHashBag.

Annotations
@Override
Since
9.2.
noneSatisfyback to summary
public boolean noneSatisfy(LongPredicate predicate)

Overrides default org.eclipse.collections.api.LongIterable.noneSatisfy.

Doc from org.eclipse.collections.api.LongIterable.noneSatisfy.

Returns true if none of the elements in the LongIterable return true for the specified predicate, otherwise returns false.

Annotations
@Override
notEmptyback to summary
public boolean notEmpty()

Overrides default org.eclipse.collections.api.PrimitiveIterable.notEmpty.

Doc from org.eclipse.collections.api.PrimitiveIterable.notEmpty.

The English equivalent of !this.isEmpty()

Annotations
@Override
occurrencesOfback to summary
public int occurrencesOf(long item)

Implements org.eclipse.collections.api.bag.primitive.LongBag.occurrencesOf.

Doc from org.eclipse.collections.api.bag.primitive.LongBag.occurrencesOf.

The occurrences of a distinct item in the bag.

Annotations
@Override
occurrencesSortingByback to summary
protected MutableList<LongIntPair> occurrencesSortingBy(int n, IntFunction<LongIntPair> function, MutableList<LongIntPair> returnWhenEmpty)
readExternalback to summary
public void readExternal(ObjectInput in) throws IOException

Implements java.io.Externalizable.readExternal.

Doc from java.io.Externalizable.readExternal.

The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. The readExternal method must read the values in the same sequence and with the same types as were written by writeExternal.

Annotations
@Override
Exceptions
IOException:
if I/O errors occur
rejectback to summary
public LongHashBag reject(LongPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.reject, org.eclipse.collections.api.LongIterable.reject.

Doc from org.eclipse.collections.api.LongIterable.reject.

Returns a new LongIterable with all of the elements in the LongIterable that return false for the specified predicate.

Annotations
@Override
removeback to summary
public boolean remove(long item)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.remove.

Annotations
@Override
removeAllback to summary
public boolean removeAll(long... source)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.removeAll.

Annotations
@Override
removeAllback to summary
public boolean removeAll(LongIterable source)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.removeAll.

Annotations
@Override
removeIfback to summary
public boolean removeIf(LongPredicate predicate)

Overrides default org.eclipse.collections.api.collection.primitive.MutableLongCollection.removeIf.

Annotations
@Override
removeOccurrencesback to summary
public boolean removeOccurrences(long item, int occurrences)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.removeOccurrences.

Annotations
@Override
retainAllback to summary
public boolean retainAll(LongIterable source)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.retainAll.

Annotations
@Override
retainAllback to summary
public boolean retainAll(long... source)

Implements org.eclipse.collections.api.collection.primitive.MutableLongCollection.retainAll.

Annotations
@Override
selectback to summary
public LongHashBag select(LongPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.select, org.eclipse.collections.api.LongIterable.select.

Doc from org.eclipse.collections.api.LongIterable.select.

Returns a new LongIterable with all of the elements in the LongIterable that return true for the specified predicate.

Annotations
@Override
selectByOccurrencesback to summary
public LongHashBag selectByOccurrences(IntPredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.selectByOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.MutableLongBag.selectByOccurrences.

Returns all elements of the bag that have a number of occurrences that satisfy the predicate.

Annotations
@Override
selectUniqueback to summary
public MutableLongSet selectUnique()

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.selectUnique.

Doc from org.eclipse.collections.api.bag.primitive.MutableLongBag.selectUnique.

Returns all elements of the bag that have exactly one occurrence.

Annotations
@Override
sizeback to summary
public int size()

Implements org.eclipse.collections.api.PrimitiveIterable.size.

Doc from org.eclipse.collections.api.PrimitiveIterable.size.

Returns the number of items in this iterable.

Annotations
@Override
sizeDistinctback to summary
public int sizeDistinct()

Implements org.eclipse.collections.api.bag.primitive.LongBag.sizeDistinct.

Doc from org.eclipse.collections.api.bag.primitive.LongBag.sizeDistinct.

The size of the Bag when counting only distinct elements.

Annotations
@Override
sumback to summary
public long sum()

Implements org.eclipse.collections.api.LongIterable.sum.

Annotations
@Override
toArrayback to summary
public long[] toArray()

Implements org.eclipse.collections.api.LongIterable.toArray.

Doc from org.eclipse.collections.api.LongIterable.toArray.

Converts the LongIterable to a primitive long array.

Annotations
@Override
toArrayback to summary
public long[] toArray(long[] array)

Overrides default org.eclipse.collections.api.LongIterable.toArray.

Doc from org.eclipse.collections.api.LongIterable.toArray.

Converts the LongIterable to a primitive long array. If the collection fits into the provided array it is used to store its elements and is returned from the method, otherwise a new array of the appropriate size is allocated and returned. If the iterable is empty, the target array is returned unchanged.

Annotations
@Override
toImmutableback to summary
public ImmutableLongBag toImmutable()

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.toImmutable.

Doc from org.eclipse.collections.api.bag.primitive.MutableLongBag.toImmutable.

Returns an immutable copy of this bag.

Annotations
@Override
toListWithOccurrencesback to summary
protected MutableList<LongIntPair> toListWithOccurrences()
topOccurrencesback to summary
public MutableList<LongIntPair> topOccurrences(int count)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.topOccurrences.

Doc from org.eclipse.collections.api.bag.primitive.MutableLongBag.topOccurrences.

Returns the count most frequently occurring items. In the event of a tie, all of the items with the number of occurrences that match the occurrences of the last item will be returned.

Annotations
@Override
withback to summary
public LongHashBag with(long element)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.with.

Annotations
@Override
withback to summary
public LongHashBag with(long element1, long element2)
withback to summary
public LongHashBag with(long element1, long element2, long element3)
withAllback to summary
public LongHashBag withAll(LongIterable iterable)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.withAll.

Annotations
@Override
withoutback to summary
public LongHashBag without(long element)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.without.

Annotations
@Override
withoutAllback to summary
public LongHashBag withoutAll(LongIterable iterable)

Implements org.eclipse.collections.api.bag.primitive.MutableLongBag.withoutAll.

Annotations
@Override
writeExternalback to summary
public void writeExternal(ObjectOutput out) throws IOException

Implements java.io.Externalizable.writeExternal.

Doc from java.io.Externalizable.writeExternal.

The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays.

Annotations
@Override
Exceptions
IOException:
Includes any I/O exceptions that may occur
org.eclipse.collections.impl.bag.mutable.primitive back to summary

private Class LongHashBag.InternalIterator

extends Object
implements MutableLongIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.bag.mutable.primitive.LongHashBag.InternalIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.MutableLongIterator, org.eclipse.collections.api.iterator.LongIterator

Field Summary

Modifier and TypeField and Description
private boolean
private long
private MutableLongIterator
private int

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
public long
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

canRemoveback to summary
private boolean canRemove
currentItemback to summary
private long currentItem
longIteratorback to summary
private MutableLongIterator longIterator
occurrencesback to summary
private int occurrences

Constructor Detail

InternalIteratorback to summary
private InternalIterator()

Method Detail

hasNextback to summary
public boolean hasNext()

Implements org.eclipse.collections.api.iterator.LongIterator.hasNext.

Annotations
@Override
nextback to summary
public long next()

Implements org.eclipse.collections.api.iterator.LongIterator.next.

Annotations
@Override
removeback to summary
public void remove()

Implements org.eclipse.collections.api.iterator.MutableLongIterator.remove.

Annotations
@Override