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

public Class ByteHashBag

extends AbstractByteIterable
implements MutableByteBag, Externalizable
Class Inheritance
All Implemented Interfaces
java.io.Externalizable, java.io.Serializable, org.eclipse.collections.api.bag.primitive.MutableByteBag, org.eclipse.collections.api.bag.primitive.ByteBag, org.eclipse.collections.api.ByteIterable, org.eclipse.collections.api.PrimitiveIterable, org.eclipse.collections.api.collection.primitive.MutableByteCollection
Imports
java.io.Externalizable, .IOException, .ObjectInput, .ObjectOutput, java.util.NoSuchElementException, org.eclipse.collections.api.ByteIterable, .RichIterable, org.eclipse.collections.api.bag.MutableBag, org.eclipse.collections.api.bag.primitive.ByteBag, .ImmutableByteBag, .MutableByteBag, org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction, .IntFunction, .ObjectByteToObjectFunction, org.eclipse.collections.api.block.predicate.primitive.IntPredicate, .BytePredicate, org.eclipse.collections.api.block.procedure.primitive.ByteProcedure, .ByteIntProcedure, org.eclipse.collections.api.factory.Lists, org.eclipse.collections.api.iterator.ByteIterator, .MutableByteIterator, org.eclipse.collections.api.set.primitive.ByteSet, .MutableByteSet, org.eclipse.collections.api.tuple.primitive.ByteIntPair, 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.ByteBags, .ByteSets, org.eclipse.collections.impl.map.mutable.primitive.ByteIntHashMap, org.eclipse.collections.impl.primitive.AbstractByteIterable, org.eclipse.collections.impl.set.mutable.primitive.ByteHashSet, org.eclipse.collections.impl.tuple.primitive.PrimitiveTuples

ByteHashBag is similar to HashBag, and is memory-optimized for byte 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 ByteIntHashMap
private static final long
private int

Constructor Summary

AccessConstructor and Description
public
public
ByteHashBag(int size)

public
public
ByteHashBag(byte... elements)

public

Method Summary

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

Implements org.eclipse.collections.api.ByteIterable.allSatisfy.

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

public boolean
anySatisfy(BytePredicate predicate)

Implements org.eclipse.collections.api.ByteIterable.anySatisfy.

Returns true if any of the elements in the ByteIterable 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 MutableByteBag
public MutableByteBag
public MutableList<ByteIntPair>
bottomOccurrences(int count)

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

Returns the count least frequently occurring items.

public MutableByteIterator
byteIterator()

Implements org.eclipse.collections.api.collection.primitive.MutableByteCollection.byteIterator, org.eclipse.collections.api.ByteIterable.byteIterator.

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

public RichIterable<ByteIterable>
chunk(int size)

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

Partitions elements in fixed size chunks.

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

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.collect, org.eclipse.collections.api.ByteIterable.collect.

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

public boolean
contains(byte value)

Implements org.eclipse.collections.api.ByteIterable.contains.

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

public int
count(BytePredicate predicate)

Implements org.eclipse.collections.api.ByteIterable.count.

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

public byte
public void
each(ByteProcedure procedure)

Implements org.eclipse.collections.api.ByteIterable.each.

A synonym for forEach.

public boolean
equals(Object otherBag)

Overrides java.lang.Object.equals.

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

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

public void
forEachWithOccurrences(ByteIntProcedure procedure)

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

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

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

Implements org.eclipse.collections.api.ByteIterable.injectInto.

public boolean
isEmpty()

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

Returns true if this iterable has zero items.

public byte
public byte
public static ByteHashBag
newBag(int size)

public static ByteHashBag
public static ByteHashBag
newBag(ByteBag source)

public static ByteHashBag
newBagWith(byte... source)

public ByteHashBag
newEmpty()

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

Creates a new empty ByteHashBag.

public boolean
noneSatisfy(BytePredicate predicate)

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

Returns true if none of the elements in the ByteIterable 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(byte item)

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

The occurrences of a distinct item in the bag.

protected MutableList<ByteIntPair>
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 ByteHashBag
reject(BytePredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.reject, org.eclipse.collections.api.ByteIterable.reject.

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

public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public boolean
public ByteHashBag
select(BytePredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.select, org.eclipse.collections.api.ByteIterable.select.

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

public ByteHashBag
selectByOccurrences(IntPredicate predicate)

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

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

public MutableByteSet
selectUnique()

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.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.ByteBag.sizeDistinct.

The size of the Bag when counting only distinct elements.

public long
public byte[]
toArray()

Implements org.eclipse.collections.api.ByteIterable.toArray.

Converts the ByteIterable to a primitive byte array.

public byte[]
toArray(byte[] array)

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

Converts the ByteIterable to a primitive byte array.

public ImmutableByteBag
toImmutable()

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

Returns an immutable copy of this bag.

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

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

Returns the count most frequently occurring items.

public ByteHashBag
public ByteHashBag
with(byte element1, byte element2)

public ByteHashBag
with(byte element1, byte element2, byte element3)

public ByteHashBag
public ByteHashBag
public ByteHashBag
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.AbstractByteIterable:
asLazyaveragemaxIfEmptymedianminIfEmptytoBagtoListtoSettoSortedArraytoSortedListtoString

Field Detail

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

Constructor Detail

ByteHashBagback to summary
public ByteHashBag()
ByteHashBagback to summary
public ByteHashBag(int size)
ByteHashBagback to summary
public ByteHashBag(ByteIterable iterable)
ByteHashBagback to summary
public ByteHashBag(byte... elements)
ByteHashBagback to summary
public ByteHashBag(ByteHashBag bag)

Method Detail

addback to summary
public boolean add(byte item)

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

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

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

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

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

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

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

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

Implements org.eclipse.collections.api.ByteIterable.allSatisfy.

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

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

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

Implements org.eclipse.collections.api.ByteIterable.anySatisfy.

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

Returns true if any of the elements in the ByteIterable 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 MutableByteBag asSynchronized()

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

Annotations
@Override
asUnmodifiableback to summary
public MutableByteBag asUnmodifiable()

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

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

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

Doc from org.eclipse.collections.api.bag.primitive.MutableByteBag.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
byteIteratorback to summary
public MutableByteIterator byteIterator()

Implements org.eclipse.collections.api.collection.primitive.MutableByteCollection.byteIterator, org.eclipse.collections.api.ByteIterable.byteIterator.

Doc from org.eclipse.collections.api.ByteIterable.byteIterator.

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

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

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

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

Partitions elements in fixed size chunks.

Annotations
@Override
clearback to summary
public void clear()

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

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

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.collect, org.eclipse.collections.api.ByteIterable.collect.

Doc from org.eclipse.collections.api.ByteIterable.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(byte value)

Implements org.eclipse.collections.api.ByteIterable.contains.

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

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

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

Implements org.eclipse.collections.api.ByteIterable.count.

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

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

Annotations
@Override
detectIfNoneback to summary
public byte detectIfNone(BytePredicate predicate, byte ifNone)

Implements org.eclipse.collections.api.ByteIterable.detectIfNone.

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

Implements org.eclipse.collections.api.ByteIterable.each.

Doc from org.eclipse.collections.api.ByteIterable.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.ByteBag.equals.

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

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

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

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

Doc from org.eclipse.collections.api.bag.primitive.ByteBag.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.ByteBag.hashCode.

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

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

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

Implements org.eclipse.collections.api.ByteIterable.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
maxback to summary
public byte max()

Implements org.eclipse.collections.api.ByteIterable.max.

Annotations
@Override
minback to summary
public byte min()

Implements org.eclipse.collections.api.ByteIterable.min.

Annotations
@Override
newBagback to summary
public static ByteHashBag newBag(int size)
newBagback to summary
public static ByteHashBag newBag(ByteIterable source)
newBagback to summary
public static ByteHashBag newBag(ByteBag source)
newBagWithback to summary
public static ByteHashBag newBagWith(byte... source)
newEmptyback to summary
public ByteHashBag newEmpty()

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

Creates a new empty ByteHashBag.

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

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

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

Returns true if none of the elements in the ByteIterable 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(byte item)

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

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

The occurrences of a distinct item in the bag.

Annotations
@Override
occurrencesSortingByback to summary
protected MutableList<ByteIntPair> occurrencesSortingBy(int n, IntFunction<ByteIntPair> function, MutableList<ByteIntPair> 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 ByteHashBag reject(BytePredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.reject, org.eclipse.collections.api.ByteIterable.reject.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Annotations
@Override
selectback to summary
public ByteHashBag select(BytePredicate predicate)

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.select, org.eclipse.collections.api.ByteIterable.select.

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

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

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

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

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

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

Annotations
@Override
selectUniqueback to summary
public MutableByteSet selectUnique()

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

Doc from org.eclipse.collections.api.bag.primitive.MutableByteBag.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.ByteBag.sizeDistinct.

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

The size of the Bag when counting only distinct elements.

Annotations
@Override
sumback to summary
public long sum()

Implements org.eclipse.collections.api.ByteIterable.sum.

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

Implements org.eclipse.collections.api.ByteIterable.toArray.

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

Converts the ByteIterable to a primitive byte array.

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

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

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

Converts the ByteIterable to a primitive byte 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 ImmutableByteBag toImmutable()

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

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

Returns an immutable copy of this bag.

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

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

Doc from org.eclipse.collections.api.bag.primitive.MutableByteBag.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 ByteHashBag with(byte element)

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

Annotations
@Override
withback to summary
public ByteHashBag with(byte element1, byte element2)
withback to summary
public ByteHashBag with(byte element1, byte element2, byte element3)
withAllback to summary
public ByteHashBag withAll(ByteIterable iterable)

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

Annotations
@Override
withoutback to summary
public ByteHashBag without(byte element)

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

Annotations
@Override
withoutAllback to summary
public ByteHashBag withoutAll(ByteIterable iterable)

Implements org.eclipse.collections.api.bag.primitive.MutableByteBag.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 ByteHashBag.InternalIterator

extends Object
implements MutableByteIterator
Class Inheritance
  • java.lang.Object
  • org.eclipse.collections.impl.bag.mutable.primitive.ByteHashBag.InternalIterator
All Implemented Interfaces
org.eclipse.collections.api.iterator.MutableByteIterator, org.eclipse.collections.api.iterator.ByteIterator

Field Summary

Modifier and TypeField and Description
private MutableByteIterator
private boolean
private byte
private int

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

byteIteratorback to summary
private MutableByteIterator byteIterator
canRemoveback to summary
private boolean canRemove
currentItemback to summary
private byte currentItem
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.ByteIterator.hasNext.

Annotations
@Override
nextback to summary
public byte next()

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

Annotations
@Override
removeback to summary
public void remove()

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

Annotations
@Override