| Package | Description |
|---|---|
| it.unimi.dsi.fastutil.ints |
Provides type-specific classes for integer elements or keys.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
IntList
A type-specific
List; provides some additional methods that use polymorphism to avoid (un)boxing. |
interface |
IntSet
A type-specific
Set; provides some additional methods that use polymorphism to avoid (un)boxing. |
interface |
IntSortedSet
A type-specific
SortedSet; provides some additional methods that use polymorphism to avoid (un)boxing. |
| Modifier and Type | Class and Description |
|---|---|
protected class |
AbstractInt2ObjectSortedMap.KeySet
A wrapper exhibiting the keys of a map.
|
class |
AbstractIntCollection
An abstract class providing basic methods for collections implementing a type-specific interface.
|
class |
AbstractIntList
An abstract class providing basic methods for lists implementing a type-specific list interface.
|
static class |
AbstractIntList.IntSubList |
class |
AbstractIntSet
An abstract class providing basic methods for sets implementing a type-specific interface.
|
class |
AbstractIntSortedSet
An abstract class providing basic methods for sorted sets implementing a type-specific interface.
|
class |
IntArrayList
A type-specific array-based list; provides some additional methods that use polymorphism to avoid (un)boxing.
|
class |
IntArraySet
A simple, brute-force implementation of a set based on a backing array.
|
static class |
IntCollections.EmptyCollection
An immutable class representing an empty type-specific collection.
|
static class |
IntCollections.IterableCollection
A collection wrapper class for iterables.
|
static class |
IntCollections.SynchronizedCollection
A synchronized wrapper class for collections.
|
static class |
IntCollections.UnmodifiableCollection
An unmodifiable wrapper class for collections.
|
static class |
IntLists.EmptyList
An immutable class representing an empty type-specific list.
|
static class |
IntLists.Singleton
An immutable class representing a type-specific singleton list.
|
static class |
IntLists.SynchronizedList
A synchronized wrapper class for lists.
|
static class |
IntLists.UnmodifiableList
An unmodifiable wrapper class for lists.
|
static class |
IntSets.EmptySet
An immutable class representing the empty set and implementing a type-specific set interface.
|
static class |
IntSets.Singleton
An immutable class representing a type-specific singleton set.
|
static class |
IntSets.SynchronizedSet
A synchronized wrapper class for sets.
|
static class |
IntSets.UnmodifiableSet
An unmodifiable wrapper class for sets.
|
static class |
IntSortedSets.EmptySet
An immutable class representing the empty sorted set and implementing a type-specific set interface.
|
static class |
IntSortedSets.Singleton
A class representing a singleton sorted set.
|
static class |
IntSortedSets.SynchronizedSortedSet
A synchronized wrapper class for sorted sets.
|
static class |
IntSortedSets.UnmodifiableSortedSet
An unmodifiable wrapper class for sorted sets.
|
| Modifier and Type | Field and Description |
|---|---|
protected IntCollection |
IntCollections.SynchronizedCollection.collection |
protected IntCollection |
IntCollections.UnmodifiableCollection.collection |
| Modifier and Type | Method and Description |
|---|---|
static IntCollection |
IntCollections.asCollection(IntIterable iterable)
Returns an unmodifiable collection backed by the specified iterable.
|
static IntCollection |
IntCollections.synchronize(IntCollection c)
Returns a synchronized collection backed by the specified collection.
|
static IntCollection |
IntCollections.synchronize(IntCollection c,
Object sync)
Returns a synchronized collection backed by the specified collection, using an assigned object to synchronize.
|
static IntCollection |
IntCollections.unmodifiable(IntCollection c)
Returns an unmodifiable collection backed by the specified collection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
IntSets.Singleton.addAll(IntCollection c) |
boolean |
IntLists.EmptyList.addAll(IntCollection c) |
boolean |
IntLists.Singleton.addAll(IntCollection c) |
boolean |
IntCollections.EmptyCollection.addAll(IntCollection c) |
boolean |
IntCollections.SynchronizedCollection.addAll(IntCollection c) |
boolean |
IntCollections.UnmodifiableCollection.addAll(IntCollection c) |
boolean |
IntCollection.addAll(IntCollection c) |
boolean |
AbstractIntList.addAll(IntCollection c) |
boolean |
AbstractIntCollection.addAll(IntCollection c)
Adds all elements of the given type-specific collection to this collection.
|
boolean |
IntLists.EmptyList.addAll(int i,
IntCollection c) |
boolean |
IntLists.Singleton.addAll(int i,
IntCollection c) |
boolean |
IntLists.SynchronizedList.addAll(int index,
IntCollection c) |
boolean |
IntLists.UnmodifiableList.addAll(int index,
IntCollection c) |
boolean |
IntList.addAll(int index,
IntCollection c) |
boolean |
IntArrayList.addAll(int index,
IntCollection c) |
boolean |
AbstractIntList.addAll(int index,
IntCollection c)
Delegates to a more generic method.
|
boolean |
AbstractIntList.IntSubList.addAll(int index,
IntCollection c) |
boolean |
IntCollections.EmptyCollection.containsAll(IntCollection c) |
boolean |
IntCollections.SynchronizedCollection.containsAll(IntCollection c) |
boolean |
IntCollections.UnmodifiableCollection.containsAll(IntCollection c) |
boolean |
IntCollection.containsAll(IntCollection c) |
boolean |
AbstractIntCollection.containsAll(IntCollection c)
Checks whether this collection contains all elements from the given type-specific collection.
|
static int |
IntIterators.pour(IntIterator i,
IntCollection s)
Pours an iterator into a type-specific collection.
|
static int |
IntIterators.pour(IntIterator i,
IntCollection s,
int max)
Pours an iterator into a type-specific collection, with a limit on the number of elements.
|
boolean |
IntSets.Singleton.removeAll(IntCollection c) |
boolean |
IntCollections.EmptyCollection.removeAll(IntCollection c) |
boolean |
IntCollections.SynchronizedCollection.removeAll(IntCollection c) |
boolean |
IntCollections.UnmodifiableCollection.removeAll(IntCollection c) |
boolean |
IntCollection.removeAll(IntCollection c) |
boolean |
IntArrayList.removeAll(IntCollection c) |
boolean |
AbstractIntCollection.removeAll(IntCollection c)
Remove from this collection all elements in the given type-specific collection.
|
boolean |
IntSets.Singleton.retainAll(IntCollection c) |
boolean |
IntCollections.EmptyCollection.retainAll(IntCollection c) |
boolean |
IntCollections.SynchronizedCollection.retainAll(IntCollection c) |
boolean |
IntCollections.UnmodifiableCollection.retainAll(IntCollection c) |
boolean |
IntCollection.retainAll(IntCollection c) |
boolean |
AbstractIntCollection.retainAll(IntCollection c)
Retains in this collection only elements from the given type-specific collection.
|
static IntCollection |
IntCollections.synchronize(IntCollection c)
Returns a synchronized collection backed by the specified collection.
|
static IntCollection |
IntCollections.synchronize(IntCollection c,
Object sync)
Returns a synchronized collection backed by the specified collection, using an assigned object to synchronize.
|
static IntCollection |
IntCollections.unmodifiable(IntCollection c)
Returns an unmodifiable collection backed by the specified collection.
|
static long |
IntIterators.unwrap(IntIterator i,
IntCollection c)
Unwraps an iterator into a type-specific collection.
|
static int |
IntIterators.unwrap(IntIterator i,
IntCollection c,
int max)
Unwraps an iterator into a type-specific collection, with a limit on the number of elements.
|
| Constructor and Description |
|---|
IntArrayList(IntCollection c)
Creates a new array list and fills it with a given type-specific collection.
|
IntArraySet(IntCollection c)
Creates a new array set copying the contents of a given collection.
|
SynchronizedCollection(IntCollection c) |
SynchronizedCollection(IntCollection c,
Object sync) |
UnmodifiableCollection(IntCollection c) |
Copyright © 2016. All rights reserved.