Index

A B C D E F G H I J K L M N O P Q R S T U V X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbsoluteValueIntBox(int) - Constructor for class it.unimi.di.prog2.h23.ListUtils.AbsoluteValueIntBox
Creates a new box containing the absolute value of an integer.
AbstractIntSet - Class in it.unimi.di.prog2.h18
An AbstractIntSet is a mutable, unbounded set of integers.
AbstractIntSet - Class in it.unimi.di.prog2.h18.refactored
An AbstractIntSet is a mutable, unbounded set of integers.
AbstractIntSet() - Constructor for class it.unimi.di.prog2.h18.AbstractIntSet
Creates an empty set.
AbstractIntSet() - Constructor for class it.unimi.di.prog2.h18.refactored.AbstractIntSet
Creates an empty set.
AbstractPoly - Class in it.unimi.di.prog2.h19
A partial implementation of a Poly.
AbstractPoly(int) - Constructor for class it.unimi.di.prog2.h19.AbstractPoly
Initializes this to be the a polynomial with given degree.
add(int) - Method in class it.unimi.di.prog2.s19.OrderedIntList
Adds an element to the list.
add(Poly) - Method in class it.unimi.di.prog2.e09.Poly
Performs polynomial addition.
add(SparsePoly) - Method in class it.unimi.di.prog2.e09.SparsePoly
Performs polynomial addition.
add(RationalNumber) - Method in class it.unimi.di.prog2.e10.RationalNumber
Returns the sum of this rational number and another one.
add(Rectangle) - Method in class it.unimi.di.prog2.e17.Histogram
Adds a Rectangle to this histogram.
add(Poly) - Method in class it.unimi.di.prog2.h08.Poly
Performs polynomial addition.
add(Poly) - Method in class it.unimi.di.prog2.h09.Poly
Performs polynomial addition.
add(Poly) - Method in class it.unimi.di.prog2.h10.Poly
Performs polynomial addition.
add(SparsePoly) - Method in class it.unimi.di.prog2.h10.SparsePoly
Performs polynomial addition.
add(Poly) - Method in class it.unimi.di.prog2.h11.Poly
Performs polynomial addition.
add(SparsePoly) - Method in class it.unimi.di.prog2.h11.SparsePoly
Performs polynomial addition.
add(Poly) - Method in class it.unimi.di.prog2.h19.DensePoly
 
add(Poly) - Method in interface it.unimi.di.prog2.h19.Poly
Performs polynomial addition.
add(Poly) - Method in class it.unimi.di.prog2.h19.SparsePoly
 
add(Poly) - Method in class it.unimi.di.prog2.s09.Poly
Performs polynomial addition.
add(SparsePoly) - Method in class it.unimi.di.prog2.s09.SparsePoly
Performs polynomial addition.
add(RationalNumber) - Method in class it.unimi.di.prog2.s10.RationalNumber
Returns the sum of this rational number and another one.
add(Rectangle) - Method in class it.unimi.di.prog2.s17.Histogram
Adds a Rectangle to this histogram.
add(CelestialBody) - Method in class it.unimi.di.prog2.s18.AstronomicalSystem
Adds a celestial body to the system.
add(String) - Method in class it.unimi.di.prog2.h15.StringFormatter
Adds a string, or null, to the formatter.
addArc(Arc<? extends T>) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Adds an arc to this graph.
addArc(T, T) - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
 
addArc(T, T) - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
 
addArc(T, T) - Method in class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
 
addArc(T, T) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Adds an arc to this graph.
addNode(T) - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
 
addNode(T) - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
 
addNode(T) - Method in class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
 
addNode(T) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Adds a node to this graph.
addTerm(List<SparsePoly.Term>, SparsePoly.Term) - Static method in class it.unimi.di.prog2.h10.SparsePoly
Adds a term to a list of terms in increasing degree order.
addTerm(List<SparsePoly.Term>, SparsePoly.Term) - Static method in class it.unimi.di.prog2.h11.SparsePoly
Adds a term to a list of terms in increasing degree order.
addTerm(List<Poly.Term>, Poly.Term) - Static method in class it.unimi.di.prog2.h19.SparsePoly
Adds a term to the list.
addTerm(List<SparsePoly.Term>, SparsePoly.Term) - Static method in class it.unimi.di.prog2.s09.SparsePoly
Adds a term to a list of terms in increasing degree order.
adjacency - Variable in class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
A Map between nodes and their outgoing sets.
AdjacencyMapDiGraph<T> - Class in it.unimi.di.prog2.h24.digraph
A mutable directed graph implementation based on a Map between nodes and their outgoing sets.
AdjacencyMapDiGraph() - Constructor for class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
Creates an empty graph.
AdjacencyMapDiGraph(DiGraph<? extends T>) - Constructor for class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
Creates a graph with the same nodes and arcs of the given graph.
adjacencyMatrix - Variable in class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
The adjacency matrix.
AdjacencyMatrixDiGraph<T> - Class in it.unimi.di.prog2.h24.digraph
A partially mutable directed graph implementation based on an adjacency matrix.
AdjacencyMatrixDiGraph(DiGraph<? extends T>) - Constructor for class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
Creates a graph with the same nodes and arcs of the given graph.
AdjacencyMatrixDiGraph(Set<? extends T>) - Constructor for class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
Creates a graph with the given nodes.
aggiungi(PortafoglioAzionario.Azione, int) - Method in class it.unimi.di.prog2.h13.PortafoglioAzionario
Aggiunge l'assegnato numero di azioni al portafoglio.
almostRightMax(List<T>) - Static method in class it.unimi.di.prog2.h23.ListUtils
Returns the maximum element in a list.
Anagrams - Class in it.unimi.di.prog2.h24
A simple program that reads a list of words from standard input and prints all anagrams of size at least 2.
Anagrams() - Constructor for class it.unimi.di.prog2.h24.Anagrams
.
appartiene(int[], int) - Static method in class it.unimi.di.prog2.h05.GrigliaIrregolare4
Funzione che stabilisce se un dato valore appartiene ad una data lista.
appartiene(int[], int[], int, int) - Static method in class it.unimi.di.prog2.h05.GrigliaIrregolare3
Funzione che stabilisce se il punto (x, y) appartiene ad una data griglia irregolare.
appartiene(int[], int[], int, int) - Static method in class it.unimi.di.prog2.h05.GrigliaIrregolare4
Funzione che stabilisce se il punto (x, y) appartiene ad una data griglia irregolare.
Arc<T> - Record Class in it.unimi.di.prog2.h24.digraph
An arc of a directed graph with nodes of type T.
Arc(T, T) - Constructor for record class it.unimi.di.prog2.h24.digraph.Arc
Creates an arc.
ArcListDiGraph<T> - Class in it.unimi.di.prog2.h24.digraph
A mutable directed graph implementation based on a list of Arcs and one of nodes.
ArcListDiGraph() - Constructor for class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
Creates an empty graph.
ArcListDiGraph(DiGraph<? extends T>) - Constructor for class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
Creates a graph with the same nodes and arcs of the given graph.
arcs - Variable in class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
The set of graph arcs.
arcs() - Method in class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
 
arcs() - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Returns this graph arcs.
areEqual(Pair<?, ?>, Pair<?, ?>) - Static method in class it.unimi.di.prog2.h23.Pair
Checks if two pairs are equal.
ArrayUtils - Class in it.unimi.di.prog2.h22
A class providing some utility methods for arrays.
ArrayUtils() - Constructor for class it.unimi.di.prog2.h22.ArrayUtils
.
AstronomicalSystem - Class in it.unimi.di.prog2.s18
An astronomical system.
AstronomicalSystem() - Constructor for class it.unimi.di.prog2.s18.AstronomicalSystem
Creates an empty system.
Astronomical System - Search tag in package it.unimi.di.prog2.e18
Section
Astronomical System - Search tag in package it.unimi.di.prog2.s18
Section
AstronomicalSystemClient - Class in it.unimi.di.prog2.e18
Allows verification of the behavior of an astronomical system.
AstronomicalSystemClient - Class in it.unimi.di.prog2.s18
Allows verification of the behavior of an astronomical system.
AstronomicalSystemClient() - Constructor for class it.unimi.di.prog2.e18.AstronomicalSystemClient
.
AstronomicalSystemClient() - Constructor for class it.unimi.di.prog2.s18.AstronomicalSystemClient
.
azione - Variable in class it.unimi.di.prog2.h13.PortafoglioAzionario
Elenco di azioni nel portafoglio, per i vincoli vedi AF/IR.
azione(String) - Method in class it.unimi.di.prog2.h13.PortafoglioAzionario
Cerca una azione per nome della società.
Azione(String, int) - Constructor for record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
Costruisce una azione.

B

base - Variable in class it.unimi.di.prog2.s17.Rectangle
The base of the rectangle.
base() - Method in class it.unimi.di.prog2.e17.Rectangle
Returns the base of the rectangle.
base() - Method in class it.unimi.di.prog2.s17.Rectangle
Returns the base of the rectangle.
base(int) - Method in class it.unimi.di.prog2.e17.Rectangle
Sets the base of the rectangle.
base(int) - Method in class it.unimi.di.prog2.s17.Rectangle
Sets the base of the rectangle.
base(int) - Method in class it.unimi.di.prog2.s17.Square
Sets the base of the square.
biggest - Variable in class it.unimi.di.prog2.h17.MaxIntSet
The biggest element, if set is not empty
bigToSmall() - Method in class it.unimi.di.prog2.s19.OrderedIntList
Iterator that lists the elements of the list in descending order.
BoundedIntQueue - Class in it.unimi.di.prog2.e10
A queue is a mutable data structure that provides access to its elements in first-in/first-out order.
BoundedIntQueue - Class in it.unimi.di.prog2.s10
A queue is a mutable data structure that provides access to its elements in first-in/first-out order.
BoundedIntQueue(int) - Constructor for class it.unimi.di.prog2.e10.BoundedIntQueue
Creates a new bounded queue with the given capacity.
BoundedIntQueue(int) - Constructor for class it.unimi.di.prog2.s10.BoundedIntQueue
Creates a new bounded queue with the given capacity.
BoundedIntQueueClient - Class in it.unimi.di.prog2.e10
A class to exercise a BoundedIntQueue.
BoundedIntQueueClient - Class in it.unimi.di.prog2.s10
A class to exercise a BoundedIntQueue.
BoundedIntQueueClient() - Constructor for class it.unimi.di.prog2.e10.BoundedIntQueueClient
.
BoundedIntQueueClient() - Constructor for class it.unimi.di.prog2.s10.BoundedIntQueueClient
.
BoundingBox - Class in it.unimi.di.prog2.e03
Vedi testo,
BoundingBox() - Constructor for class it.unimi.di.prog2.e03.BoundingBox
.

C

candidate - Variable in class it.unimi.di.prog2.h14.Primes
Il prossimo potenziale numero primo.
celestialBodies - Variable in class it.unimi.di.prog2.s18.AstronomicalSystem
The set of celestial bodies.
CelestialBody - Class in it.unimi.di.prog2.s18
A celestial body.
CelestialBody(String, int, int, int) - Constructor for class it.unimi.di.prog2.s18.CelestialBody
Constructs a celestial body with the given name.
changeBase(Rectangle, int) - Method in class it.unimi.di.prog2.e17.Histogram
Changes the base of the given rectangle
changeBase(Rectangle, int) - Method in class it.unimi.di.prog2.s17.Histogram
Changes the base of the given rectangle
choose() - Method in class it.unimi.di.prog2.h08.IntSet
Returns an element from this set.
choose() - Method in class it.unimi.di.prog2.h09.IntSet
Returns an element from this set.
choose() - Method in class it.unimi.di.prog2.h10.IntSet
Returns an element from this set.
choose() - Method in class it.unimi.di.prog2.h11.IntSet
Returns an element from this set.
choose() - Method in class it.unimi.di.prog2.h14.IntSet
Returns an element from this set.
choose() - Method in class it.unimi.di.prog2.h18.AbstractIntSet
Returns an element from this set.
choose() - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
Returns an element from this set.
clear() - Method in class it.unimi.di.prog2.e12.StringToIntMap
Removes all of the mappings from this map.
clear() - Method in class it.unimi.di.prog2.h22.Map
Removes all of the mappings from this map.
clear() - Method in class it.unimi.di.prog2.s12.StringToIntMap
Removes all of the mappings from this map.
coeff - Variable in record class it.unimi.di.prog2.e09.SparsePoly.Term
The field for the coeff record component.
coeff() - Method in record class it.unimi.di.prog2.e09.SparsePoly.Term
Returns the value of the coeff record component.
coeff(int) - Method in class it.unimi.di.prog2.e09.Poly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.e09.SparsePoly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.h08.Poly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.h09.Poly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.h10.Poly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.h10.SparsePoly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.h11.Poly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.h11.SparsePoly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.s09.Poly
Returns the coefficient of the term of given exponent.
coeff(int) - Method in class it.unimi.di.prog2.s09.SparsePoly
Returns the coefficient of the term of given exponent.
coefficient - Variable in class it.unimi.di.prog2.h09.Poly
The array of coefficients, the coefficient[i] is the coefficient of \( x^i \).
coefficient - Variable in class it.unimi.di.prog2.h10.Poly
The array of coefficients, the coeff[i] is the coefficient of \( x^i \).
coefficient - Variable in record class it.unimi.di.prog2.h10.SparsePoly.Term
The field for the coefficient record component.
coefficient - Variable in class it.unimi.di.prog2.h11.Poly
The array of coefficients, the coeff[i] is the coefficient of \( x^i \).
coefficient - Variable in record class it.unimi.di.prog2.h11.SparsePoly.Term
The field for the coefficient record component.
coefficient - Variable in record class it.unimi.di.prog2.h19.Poly.Term
The field for the coefficient record component.
coefficient - Variable in class it.unimi.di.prog2.s09.Poly
The array of coefficients, the coeff[i] is the coefficient of \( x^i \).
coefficient - Variable in record class it.unimi.di.prog2.s09.SparsePoly.Term
The field for the coefficient record component.
coefficient() - Method in record class it.unimi.di.prog2.h10.SparsePoly.Term
Returns the value of the coefficient record component.
coefficient() - Method in record class it.unimi.di.prog2.h11.SparsePoly.Term
Returns the value of the coefficient record component.
coefficient() - Method in record class it.unimi.di.prog2.h19.Poly.Term
Returns the value of the coefficient record component.
coefficient() - Method in record class it.unimi.di.prog2.s09.SparsePoly.Term
Returns the value of the coefficient record component.
coefficient(int) - Method in class it.unimi.di.prog2.h19.DensePoly
 
coefficient(int) - Method in interface it.unimi.di.prog2.h19.Poly
Returns the coefficient of the term of given exponent.
coefficient(int) - Method in class it.unimi.di.prog2.h19.SparsePoly
 
coefficients - Variable in class it.unimi.di.prog2.h19.DensePoly
The array of coefficients, the coefficients[i] is the coefficient of \( x^i \).
collectConsumer(Collection<T>) - Static method in class it.unimi.di.prog2.h24.digraph.Consumers
A Consumer that adds the visited nodes in the given Collection.
CombineClient - Class in it.unimi.di.prog2.e06
Esercizio 4.4 di PDJ.
CombineClient() - Constructor for class it.unimi.di.prog2.e06.CombineClient
.
compareTo(ListUtils.PositiveIntBox) - Method in class it.unimi.di.prog2.h23.ListUtils.PositiveIntBox
 
compareTo(CelestialBody) - Method in class it.unimi.di.prog2.s18.CelestialBody
 
concatenate(Iterator<? extends T>, Iterator<? extends T>) - Static method in class it.unimi.di.prog2.s19.IteratorUtils
Concatenates two iterators.
Constraints - Search tag in package it.unimi.di.prog2.e18
Section
Constraints - Search tag in package it.unimi.di.prog2.s18
Section
Consumers - Class in it.unimi.di.prog2.h24.digraph
A collection of Consumers to be used in graph visits.
Consumers() - Constructor for class it.unimi.di.prog2.h24.digraph.Consumers
.
contains(int) - Method in class it.unimi.di.prog2.s19.OrderedIntList
Consente di determinare se un valore appartiene alla lista.
containsKey(String) - Method in class it.unimi.di.prog2.e12.StringToIntMap
Returns if this map contains the specified key.
containsKey(String) - Method in class it.unimi.di.prog2.s12.StringToIntMap
Returns if this map contains the specified key.
containsKey(K) - Method in class it.unimi.di.prog2.h22.Map
Returns if this map contains the specified key.
containsValue(int) - Method in class it.unimi.di.prog2.e12.StringToIntMap
Returns if this map contains the specified value.
containsValue(int) - Method in class it.unimi.di.prog2.h22.Map
Returns if this map contains the specified value.
containsValue(int) - Method in class it.unimi.di.prog2.s12.StringToIntMap
Returns if this map contains the specified value.
copyAs(String, DiGraph<T>) - Static method in class it.unimi.di.prog2.h24.DiGraphVisitClient
Returns a copy of the given DiGraph using the specified implementation.
countNull(T[]) - Static method in class it.unimi.di.prog2.h22.ArrayUtils
Counts the number of null elements in an array.
countSmaller(T[], T) - Static method in class it.unimi.di.prog2.h22.ArrayUtils
Counts the number of elements in an array that are smaller than a given element.

D

DecimalDigits - Class in it.unimi.di.prog2.h15
A class representing decimal digits of a long.
DecimalDigits(long) - Constructor for class it.unimi.di.prog2.h15.DecimalDigits
Creates a new instance representing the digits of the given number.
DecimalDigitsAG - Class in it.unimi.di.prog2.h15
A class representing decimal digits of a long, endowed with a non zero digits iterator, based on an anonymous class.
DecimalDigitsAG(long) - Constructor for class it.unimi.di.prog2.h15.DecimalDigitsAG
Creates a new instance representing the digits of the given number.
DecimalDigitsEG - Class in it.unimi.di.prog2.h15
A class representing decimal digits of a long, endowed with a non zero digits iterator, based on the external NonZeroDigitsGenerator class.
DecimalDigitsEG(long) - Constructor for class it.unimi.di.prog2.h15.DecimalDigitsEG
Creates a new instance representing the digits of the given number.
DecimalDigitsIG - Class in it.unimi.di.prog2.h15
A class representing decimal digits of a long, endowed with a non zero digits iterator, based on the inner NonZeroDigitsGeneratorIG class
DecimalDigitsIG(long) - Constructor for class it.unimi.di.prog2.h15.DecimalDigitsIG
Creates a new instance representing the digits of the given number.
DecimalDigitsIG.NonZeroDigitsGeneratorIG - Class in it.unimi.di.prog2.h15
An inner class implementing the generator.
DecimalDigitsNSG - Class in it.unimi.di.prog2.h15
A class representing decimal digits of a long, endowed with a non zero digits iterator, based on the nested static NonZeroDigitsGeneratorNS class.
DecimalDigitsNSG(long) - Constructor for class it.unimi.di.prog2.h15.DecimalDigitsNSG
Creates a new instance representing the digits of the given number.
DecimalDigitsNSG.NonZeroDigitsGeneratorNS - Class in it.unimi.di.prog2.h15
A nested static class implementing the genrator.
deg - Variable in class it.unimi.di.prog2.e09.Poly
The degree of the polynomial.
degree - Variable in record class it.unimi.di.prog2.e09.SparsePoly.Term
The field for the degree record component.
degree - Variable in class it.unimi.di.prog2.h09.Poly
The degree of the polynomial.
degree - Variable in record class it.unimi.di.prog2.h10.SparsePoly.Term
The field for the degree record component.
degree - Variable in record class it.unimi.di.prog2.h11.SparsePoly.Term
The field for the degree record component.
degree - Variable in class it.unimi.di.prog2.h19.AbstractPoly
The degree of the polynomial.
degree - Variable in record class it.unimi.di.prog2.h19.Poly.Term
The field for the degree record component.
degree - Variable in record class it.unimi.di.prog2.s09.SparsePoly.Term
The field for the degree record component.
degree() - Method in class it.unimi.di.prog2.e09.Poly
Returns the degree of this polynomial.
degree() - Method in class it.unimi.di.prog2.e09.SparsePoly
Returns the degree of this polynomial.
degree() - Method in record class it.unimi.di.prog2.e09.SparsePoly.Term
Returns the value of the degree record component.
degree() - Method in class it.unimi.di.prog2.h08.Poly
Returns the degree of this polynomial.
degree() - Method in class it.unimi.di.prog2.h09.Poly
Returns the degree of this polynomial.
degree() - Method in class it.unimi.di.prog2.h10.Poly
Returns the degree of this polynomial.
degree() - Method in class it.unimi.di.prog2.h10.SparsePoly
Returns the degree of this polynomial.
degree() - Method in record class it.unimi.di.prog2.h10.SparsePoly.Term
Returns the value of the degree record component.
degree() - Method in class it.unimi.di.prog2.h11.Poly
Returns the degree of this polynomial.
degree() - Method in class it.unimi.di.prog2.h11.SparsePoly
Returns the degree of this polynomial.
degree() - Method in record class it.unimi.di.prog2.h11.SparsePoly.Term
Returns the value of the degree record component.
degree() - Method in class it.unimi.di.prog2.h19.AbstractPoly
 
degree() - Method in interface it.unimi.di.prog2.h19.Poly
Returns the degree of this polynomial.
degree() - Method in record class it.unimi.di.prog2.h19.Poly.Term
Returns the value of the degree record component.
degree() - Method in class it.unimi.di.prog2.s09.Poly
Returns the degree of this polynomial.
degree() - Method in class it.unimi.di.prog2.s09.SparsePoly
Returns the degree of this polynomial.
degree() - Method in record class it.unimi.di.prog2.s09.SparsePoly.Term
Returns the value of the degree record component.
delta - Variable in class it.unimi.di.prog2.h24.digraph.ImplicitDiGraph
The function telling the outgoing neighbors of a node.
denominator - Variable in class it.unimi.di.prog2.s10.RationalNumber
The denominator.
DensePoly - Class in it.unimi.di.prog2.h19
A dense polynomial with integer coefficients.
DensePoly() - Constructor for class it.unimi.di.prog2.h19.DensePoly
Initializes this to be the zero polynomial, that is \( p = 0 \).
DensePoly(int) - Constructor for class it.unimi.di.prog2.h19.DensePoly
Initializes a polynomial of given degree (with all coefficients equal to 0).
DensePoly(int, int) - Constructor for class it.unimi.di.prog2.h19.DensePoly
Initializes this to be the polynomial \(p = cx^n\).
dequeue() - Method in class it.unimi.di.prog2.e10.BoundedIntQueue
Removes the element at the head of the queue.
dequeue() - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
Removes the element at the head of the queue.
destination - Variable in record class it.unimi.di.prog2.h24.digraph.Arc
The field for the destination record component.
destination() - Method in record class it.unimi.di.prog2.h24.digraph.Arc
Returns the value of the destination record component.
dichotomicSearch(List<String>, String) - Static method in class it.unimi.di.prog2.s12.StringToIntMap
Finds the index (or insertion point) of a string in a list of strings kept in increasing lexicographyc order.
dichotomicSearch(List<T>, T) - Static method in class it.unimi.di.prog2.h22.Map
Finds the index (or insertion point) of a string in a list of strings kept in increasing lexicographyc order.
diff(Poly) - Static method in class it.unimi.di.prog2.h08.Polys
Returns the derivative of the given polynomial.
digit(int) - Method in class it.unimi.di.prog2.h15.DecimalDigits
Returns the digit corresponding to the given power of 10.
digit(int) - Method in class it.unimi.di.prog2.h15.DecimalDigitsEG
Returns the digit corresponding to the given power of 10.
digit(int) - Method in class it.unimi.di.prog2.h15.DecimalDigitsIG
Returns the digit corresponding to the given power of 10.
digit(int) - Method in class it.unimi.di.prog2.h15.DecimalDigitsNSG
Returns the digit corresponding to the given power of 10.
DiGraph<T> - Interface in it.unimi.di.prog2.h24.digraph
An interface representing an directed graph where nodes are of generic type T.
DiGraphDotClient - Class in it.unimi.di.prog2.h24
Tests directed graph package generating a Dot file.
DiGraphDotClient() - Constructor for class it.unimi.di.prog2.h24.DiGraphDotClient
.
DiGraphs - Class in it.unimi.di.prog2.h24.digraph
A collection of utilities related to DiGraphs.
DiGraphs() - Constructor for class it.unimi.di.prog2.h24.digraph.DiGraphs
.
DiGraphVisitClient - Class in it.unimi.di.prog2.h24
Tests directed graph package with visits.
DiGraphVisitClient() - Constructor for class it.unimi.di.prog2.h24.DiGraphVisitClient
.
dotToPdf(String, String) - Static method in class it.unimi.di.prog2.h24.digraph.DiGraphs
Renders a dot source to a PDF file (invoking an external command).

E

elements - Variable in class it.unimi.di.prog2.h18.IntSet
The set elements.
elements - Variable in class it.unimi.di.prog2.h18.OrderedIntSet
The set elements.
elements - Variable in class it.unimi.di.prog2.h18.refactored.ListBasedAbstractIntSet
The set elements.
elements - Variable in class it.unimi.di.prog2.h18.refactored.PreallocatedIntSet
The array of elements.
elements - Variable in class it.unimi.di.prog2.s10.BoundedIntQueue
The elements in the queue.
els - Variable in class it.unimi.di.prog2.h09.IntSet
The List containing this set elements.
els - Variable in class it.unimi.di.prog2.h10.IntSet
The List containing this set elements.
els - Variable in class it.unimi.di.prog2.h11.IntSet
The List containing this set elements.
els - Variable in class it.unimi.di.prog2.h14.IntGenerator
The list elements.
els - Variable in class it.unimi.di.prog2.h14.IntSet
The List containing this set elements.
EmptyException - Exception Class in it.unimi.di.prog2.h08.impl
Thrown when an application attempts to use extract elements from an empty IntSet.
EmptyException() - Constructor for exception class it.unimi.di.prog2.h08.impl.EmptyException
Builds a new exception.
EmptyException(String) - Constructor for exception class it.unimi.di.prog2.h08.impl.EmptyException
Builds a new exception with a given message.
EmptyException(String, Throwable) - Constructor for exception class it.unimi.di.prog2.h08.impl.EmptyException
Builds an exception with a given message and cause.
emptyIterator() - Static method in class it.unimi.di.prog2.s19.IteratorUtils
An empty iterator.
energy() - Method in class it.unimi.di.prog2.s18.CelestialBody
Returns the total energy of this celestial body.
energy() - Method in class it.unimi.di.prog2.s18.Star
 
enqueue(int) - Method in class it.unimi.di.prog2.e10.BoundedIntQueue
Adds an element to the queue.
enqueue(int) - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
Adds an element to the queue.
EPSILON - Static variable in class it.unimi.di.prog2.s06.Radici
La costante che descrive l'approssimazione delle funzioni di questa classe.
equals(Object) - Method in record class it.unimi.di.prog2.e09.SparsePoly.Term
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.unimi.di.prog2.h10.IntSet
 
equals(Object) - Method in class it.unimi.di.prog2.h10.Poly
 
equals(Object) - Method in class it.unimi.di.prog2.h10.SparsePoly
 
equals(Object) - Method in record class it.unimi.di.prog2.h10.SparsePoly.Term
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.unimi.di.prog2.h11.IntSet
 
equals(Object) - Method in class it.unimi.di.prog2.h11.Poly
 
equals(Object) - Method in class it.unimi.di.prog2.h11.SparsePoly
 
equals(Object) - Method in record class it.unimi.di.prog2.h11.SparsePoly.Term
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.unimi.di.prog2.h14.IntSet
 
equals(Object) - Method in class it.unimi.di.prog2.h18.AbstractIntSet
 
equals(Object) - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
 
equals(Object) - Method in class it.unimi.di.prog2.h19.AbstractPoly
 
equals(Object) - Method in record class it.unimi.di.prog2.h19.Poly.Term
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.unimi.di.prog2.h23.Pair
 
equals(Object) - Method in record class it.unimi.di.prog2.h24.digraph.Arc
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class it.unimi.di.prog2.s09.SparsePoly.Term
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
 
equals(Object) - Method in class it.unimi.di.prog2.s10.RationalNumber
 
equals(Object) - Method in class it.unimi.di.prog2.s12.StringToIntMap
 
equals(Object) - Method in class it.unimi.di.prog2.s18.CelestialBody
 
equals(Object) - Method in record class it.unimi.di.prog2.s18.Point
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class it.unimi.di.prog2.s19.OrderedIntList
 
evenIterator(Iterator<String>) - Static method in class it.unimi.di.prog2.e15.StringIterators
Filters even-length strings.
evenIterator(Iterator<String>) - Static method in class it.unimi.di.prog2.s15.StringIterators
Filters even-length strings.
Example - Search tag in package it.unimi.di.prog2.e18
Section
Example - Search tag in package it.unimi.di.prog2.s18
Section

F

FIFOSupplier() - Static method in class it.unimi.di.prog2.h24.digraph.Queues
A Supplier of FIFO Queues.
fill(DiGraph<? extends T>, DiGraph<T>) - Static method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Fills the given graph with the nodes and arcs of the given source graph.
findByDegree(List<SparsePoly.Term>, int) - Static method in class it.unimi.di.prog2.h10.SparsePoly
Finds the index of a term of given degree in a list of terms in increasing degree order.
findByDegree(List<SparsePoly.Term>, int) - Static method in class it.unimi.di.prog2.h11.SparsePoly
Finds the index (or insertion point) of a term of given degree in a list of terms in increasing degree order.
findByDegree(List<Poly.Term>, int) - Static method in class it.unimi.di.prog2.h19.SparsePoly
Finds the index of a term of given degree.
findByDegree(List<SparsePoly.Term>, int) - Static method in class it.unimi.di.prog2.s09.SparsePoly
Finds the index of a term of given degree in a list of terms in increasing degree order.
first - Variable in class it.unimi.di.prog2.h23.Pair
The first object of the pair.
first() - Method in class it.unimi.di.prog2.h23.Pair
Returns the first object of the pair.
firstComparator() - Static method in class it.unimi.di.prog2.h23.Pair
Returns a comparator that compares pairs by their first element.
foundPrimes - Variable in class it.unimi.di.prog2.h14.Primes
L'elenco di primi restituiti da next.
from - Variable in class it.unimi.di.prog2.s15.IntRange
The first number of the iteration.
from(int) - Method in class it.unimi.di.prog2.s15.IntRange
Sets the initial value.
fromAdjacencyMap(Map<T, Collection<T>>, DiGraph<T>) - Static method in class it.unimi.di.prog2.h24.digraph.DiGraphs
Fills the given graph with the arcs described by the given adjacency map.

G

gcd(long, long) - Method in class it.unimi.di.prog2.s10.RationalNumber
Computes the greatest common divisor of two numbers.
GcdClient - Class in it.unimi.di.prog2.e05
Esercizio 3.1 di PDJ.
GcdClient() - Constructor for class it.unimi.di.prog2.e05.GcdClient
.
GeneraQuadratoMagico - Class in it.unimi.di.prog2.e03
Vedi testo,
GeneraQuadratoMagico() - Constructor for class it.unimi.di.prog2.e03.GeneraQuadratoMagico
.
get(String) - Method in class it.unimi.di.prog2.e12.StringToIntMap
Returns the value to which the specified key is mapped.
get(String) - Method in class it.unimi.di.prog2.s12.StringToIntMap
Returns the value to which the specified key is mapped.
get(K) - Method in class it.unimi.di.prog2.h22.Map
Returns the value to which the specified key is mapped.
getElements(int[]) - Static method in class it.unimi.di.prog2.h08.IntSets
Builds a set from an array of elements.
getIndex(int) - Method in class it.unimi.di.prog2.h09.IntSet
Looks for a given element in this set.
getIndex(int) - Method in class it.unimi.di.prog2.h10.IntSet
Looks for a given element in this set.
getIndex(int) - Method in class it.unimi.di.prog2.h11.IntSet
Looks for a given element in this set.
getIndex(int) - Method in class it.unimi.di.prog2.h14.IntSet
Looks for a given element in this set.
GiustificaADestra - Class in it.unimi.di.prog2.h04
Vedi testo, ma leggendo dal flusso d'ingresso (invece che usando gli argomenti sulla linea di comando).
GiustificaADestra() - Constructor for class it.unimi.di.prog2.h04.GiustificaADestra
.
GrigliaIrregolare1 - Class in it.unimi.di.prog2.h05
Primo esempio di astrazione per parametrizzazione.
GrigliaIrregolare1() - Constructor for class it.unimi.di.prog2.h05.GrigliaIrregolare1
.
GrigliaIrregolare2 - Class in it.unimi.di.prog2.h05
Secondo esempio di astrazione per parametrizzazione.
GrigliaIrregolare2() - Constructor for class it.unimi.di.prog2.h05.GrigliaIrregolare2
.
GrigliaIrregolare3 - Class in it.unimi.di.prog2.h05
Terzo esempio di astrazione per parametrizzazione.
GrigliaIrregolare3() - Constructor for class it.unimi.di.prog2.h05.GrigliaIrregolare3
.
GrigliaIrregolare4 - Class in it.unimi.di.prog2.h05
Quarto esempio di astrazione per parametrizzazione.
GrigliaIrregolare4() - Constructor for class it.unimi.di.prog2.h05.GrigliaIrregolare4
.

H

hasArc(Arc<? extends T>) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Tells whether an arc belongs to this graph, or not.
hasArc(T, T) - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
 
hasArc(T, T) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Tells whether an arc belongs to this graph, or not.
hashCode() - Method in record class it.unimi.di.prog2.e09.SparsePoly.Term
Returns a hash code value for this object.
hashCode() - Method in class it.unimi.di.prog2.h10.IntSet
 
hashCode() - Method in class it.unimi.di.prog2.h10.Poly
 
hashCode() - Method in class it.unimi.di.prog2.h10.SparsePoly
 
hashCode() - Method in record class it.unimi.di.prog2.h10.SparsePoly.Term
Returns a hash code value for this object.
hashCode() - Method in class it.unimi.di.prog2.h11.IntSet
 
hashCode() - Method in class it.unimi.di.prog2.h11.Poly
 
hashCode() - Method in class it.unimi.di.prog2.h11.SparsePoly
 
hashCode() - Method in record class it.unimi.di.prog2.h11.SparsePoly.Term
Returns a hash code value for this object.
hashCode() - Method in record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
Returns a hash code value for this object.
hashCode() - Method in class it.unimi.di.prog2.h14.IntSet
 
hashCode() - Method in class it.unimi.di.prog2.h18.AbstractIntSet
 
hashCode() - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
 
hashCode() - Method in class it.unimi.di.prog2.h19.AbstractPoly
 
hashCode() - Method in record class it.unimi.di.prog2.h19.Poly.Term
Returns a hash code value for this object.
hashCode() - Method in class it.unimi.di.prog2.h23.Pair
 
hashCode() - Method in record class it.unimi.di.prog2.h24.digraph.Arc
Returns a hash code value for this object.
hashCode() - Method in record class it.unimi.di.prog2.s09.SparsePoly.Term
Returns a hash code value for this object.
hashCode() - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
 
hashCode() - Method in class it.unimi.di.prog2.s10.RationalNumber
 
hashCode() - Method in class it.unimi.di.prog2.s12.StringToIntMap
 
hashCode() - Method in class it.unimi.di.prog2.s18.CelestialBody
 
hashCode() - Method in record class it.unimi.di.prog2.s18.Point
Returns a hash code value for this object.
hashCode() - Method in class it.unimi.di.prog2.s19.OrderedIntList
 
hasNext() - Method in class it.unimi.di.prog2.h14.IntGenerator
 
hasNext() - Method in class it.unimi.di.prog2.h14.Primes
 
hasNext() - Method in class it.unimi.di.prog2.h15.DecimalDigitsIG.NonZeroDigitsGeneratorIG
 
hasNext() - Method in class it.unimi.di.prog2.h15.DecimalDigitsNSG.NonZeroDigitsGeneratorNS
 
hasNext() - Method in class it.unimi.di.prog2.h15.NonZeroDigitsGenerator
 
hasNode(T) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Tells whether a node belongs to this graph, or not.
head - Variable in class it.unimi.di.prog2.s10.BoundedIntQueue
The index in BoundedIntQueue.elements of the first queue element (or -1 if the queue is empty).
height - Variable in class it.unimi.di.prog2.s17.Rectangle
The height of the rectangle.
height() - Method in class it.unimi.di.prog2.e17.Rectangle
Returns the height of the rectangle.
height() - Method in class it.unimi.di.prog2.s17.Rectangle
Returns the height of the rectangle.
height(int) - Method in class it.unimi.di.prog2.e17.Rectangle
Sets the height of the rectangle.
height(int) - Method in class it.unimi.di.prog2.s17.Rectangle
Sets the height of the rectangle.
height(int) - Method in class it.unimi.di.prog2.s17.Square
Sets the height of the square.
Histogram - Class in it.unimi.di.prog2.e17
A class to handle a list of rectangles and organize them as in histogram.
Histogram - Class in it.unimi.di.prog2.s17
A class to handle a list of rectangles and organize them as in histogram.
Histogram() - Constructor for class it.unimi.di.prog2.e17.Histogram
Creates an empty histogram.
Histogram() - Constructor for class it.unimi.di.prog2.s17.Histogram
Creates an empty histogram.
HistogramClient - Class in it.unimi.di.prog2.e17
A class to test Histogram.
HistogramClient - Class in it.unimi.di.prog2.s17
A class to test Histogram.
HistogramClient() - Constructor for class it.unimi.di.prog2.e17.HistogramClient
.
HistogramClient() - Constructor for class it.unimi.di.prog2.s17.HistogramClient
.

I

idx - Variable in class it.unimi.di.prog2.h14.IntGenerator
The position of the next element to return (if idx < els.size().
ImplicitDiGraph<T> - Class in it.unimi.di.prog2.h24.digraph
An implicit, immutable directed graph implementation.
ImplicitDiGraph(Collection<T>, Function<T, Collection<T>>) - Constructor for class it.unimi.di.prog2.h24.digraph.ImplicitDiGraph
Creates a directed graph given nodes and a function to obtain the outgoing sets.
insert(int) - Method in class it.unimi.di.prog2.h08.IntSet
Adds the given element to this set.
insert(int) - Method in class it.unimi.di.prog2.h09.IntSet
Adds the given element to this set.
insert(int) - Method in class it.unimi.di.prog2.h10.IntSet
Adds the given element to this set.
insert(int) - Method in class it.unimi.di.prog2.h11.IntSet
Adds the given element to this set.
insert(int) - Method in class it.unimi.di.prog2.h14.IntSet
Adds the given element to this set.
insert(int) - Method in class it.unimi.di.prog2.h17.MaxIntSet
 
insert(int) - Method in class it.unimi.di.prog2.h18.AbstractIntSet
Adds the given element to this set.
insert(int) - Method in class it.unimi.di.prog2.h18.IntSet
 
insert(int) - Method in class it.unimi.di.prog2.h18.OrderedIntSet
 
insert(int) - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
Adds the given element to this set.
insert(int) - Method in class it.unimi.di.prog2.h18.refactored.IntSet
 
insert(int) - Method in class it.unimi.di.prog2.h18.refactored.OrderedIntSet
 
insert(int) - Method in class it.unimi.di.prog2.h18.refactored.PreallocatedIntSet
 
IntGenerator - Class in it.unimi.di.prog2.h14
Generator (in Liskov parlance) of the ints contained in a List.
IntGenerator(List<Integer>) - Constructor for class it.unimi.di.prog2.h14.IntGenerator
Builds an iterator (partial constructor, used just in IntSet).
IntRange - Class in it.unimi.di.prog2.s15
A mutable class representing a range of integers, with configurable initial from, to, and step values.
IntRange() - Constructor for class it.unimi.di.prog2.s15.IntRange
Constructs the range from Integer.MIN_VALUE to Integer.MAX_VALUE (exclusive) with step 1.
IntRangeClient - Class in it.unimi.di.prog2.e15
A class to test int ranges.
IntRangeClient - Class in it.unimi.di.prog2.s15
A class to test IntRanges.
IntRangeClient() - Constructor for class it.unimi.di.prog2.e15.IntRangeClient
.
IntRangeClient() - Constructor for class it.unimi.di.prog2.s15.IntRangeClient
.
IntSet - Class in it.unimi.di.prog2.h08
IntSets are mutable, unbounded sets of integers.
IntSet - Class in it.unimi.di.prog2.h09
IntSets are mutable, unbounded sets of integers.
IntSet - Class in it.unimi.di.prog2.h10
IntSets are mutable, unbounded sets of integers.
IntSet - Class in it.unimi.di.prog2.h11
IntSets are mutable, unbounded sets of integers.
IntSet - Class in it.unimi.di.prog2.h14
IntSets are mutable, unbounded sets of integers.
IntSet - Class in it.unimi.di.prog2.h18
A concrete set of integer.
IntSet - Class in it.unimi.di.prog2.h18.refactored
A concrete set of integers.
IntSet() - Constructor for class it.unimi.di.prog2.h08.IntSet
Initializes this set to be empty.
IntSet() - Constructor for class it.unimi.di.prog2.h09.IntSet
Initializes this set to be empty.
IntSet() - Constructor for class it.unimi.di.prog2.h10.IntSet
Initializes this set to be empty.
IntSet() - Constructor for class it.unimi.di.prog2.h11.IntSet
Initializes this set to be empty.
IntSet() - Constructor for class it.unimi.di.prog2.h14.IntSet
Initializes this set to be empty.
IntSet() - Constructor for class it.unimi.di.prog2.h18.IntSet
Creates an empty set.
IntSet() - Constructor for class it.unimi.di.prog2.h18.refactored.IntSet
Creates an empty set.
IntSet(IntSet) - Constructor for class it.unimi.di.prog2.h10.IntSet
A *copy constructor*.
IntSet(IntSet) - Constructor for class it.unimi.di.prog2.h11.IntSet
A *copy constructor*.
IntSet(IntSet) - Constructor for class it.unimi.di.prog2.h14.IntSet
A *copy constructor*.
IntSets - Class in it.unimi.di.prog2.h08
A collection of methods for IntSets.
IntSets() - Constructor for class it.unimi.di.prog2.h08.IntSets
.
IntSetsClient - Class in it.unimi.di.prog2.h08
A class to test some methods of IntSet.
IntSetsClient - Class in it.unimi.di.prog2.h09
A class to test some methods of IntSet.
IntSetsClient - Class in it.unimi.di.prog2.h14
Classe per il test di IntSet IntGenerator.
IntSetsClient - Class in it.unimi.di.prog2.h18
A class to test IntSet and OrderedIntSet.
IntSetsClient - Class in it.unimi.di.prog2.h18.refactored
A class to test IntSet and OrderedIntSet.
IntSetsClient() - Constructor for class it.unimi.di.prog2.h08.IntSetsClient
.
IntSetsClient() - Constructor for class it.unimi.di.prog2.h09.IntSetsClient
.
IntSetsClient() - Constructor for class it.unimi.di.prog2.h14.IntSetsClient
.
IntSetsClient() - Constructor for class it.unimi.di.prog2.h18.IntSetsClient
.
IntSetsClient() - Constructor for class it.unimi.di.prog2.h18.refactored.IntSetsClient
.
isDivisibleByAFoundPrime(int) - Method in class it.unimi.di.prog2.h14.Primes
Verifica se n è divisibile per un dei primi in Primes.foundPrimes.
isEmpty - Variable in class it.unimi.di.prog2.s19.OrderedIntList
Indicates if the list is empty.
isEmpty() - Method in class it.unimi.di.prog2.e12.StringToIntMap
Returns if this map is empty.
isEmpty() - Method in class it.unimi.di.prog2.h22.Map
Returns if this map is empty.
isEmpty() - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
Determines whether the queue is empty, i.e., it does not contain any integer.
isEmpty() - Method in class it.unimi.di.prog2.s12.StringToIntMap
Returns if this map is empty.
isEmpty() - Method in class it.unimi.di.prog2.s19.OrderedIntList
Determines if the list is empty.
isFull() - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
Determines whether the queue is full, i.e., it contains as many integers as its capacity.
isIn(int) - Method in class it.unimi.di.prog2.h08.IntSet
Tells if the given element is in this set.
isIn(int) - Method in class it.unimi.di.prog2.h09.IntSet
Tells if the given element is in this set.
isIn(int) - Method in class it.unimi.di.prog2.h10.IntSet
Tells if the given element is in this set.
isIn(int) - Method in class it.unimi.di.prog2.h11.IntSet
Tells if the given element is in this set.
isIn(int) - Method in class it.unimi.di.prog2.h14.IntSet
Tells if the given element is in this set.
isIn(int) - Method in class it.unimi.di.prog2.h18.AbstractIntSet
Tells if the given element is in this set.
isIn(int) - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
Tells if the given element is in this set.
isIn(int) - Method in class it.unimi.di.prog2.h18.refactored.OrderedIntSet
 
isIn(int) - Method in class it.unimi.di.prog2.h18.refactored.PreallocatedIntSet
 
isInteger() - Method in class it.unimi.di.prog2.s10.RationalNumber
Tells whether this rational number is an integer.
isPositive() - Method in class it.unimi.di.prog2.s10.RationalNumber
Tells whether this rational number is positive.
IsPrimeClient - Class in it.unimi.di.prog2.e05
Esercizio 3.3 di PDJ.
IsPrimeClient() - Constructor for class it.unimi.di.prog2.e05.IsPrimeClient
.
isZero() - Method in class it.unimi.di.prog2.s10.RationalNumber
Tells whether this rational number is equal to zero.
it.unimi.di.prog2.e03 - package it.unimi.di.prog2.e03
Esercizi relativi alla lezione 03, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e04 - package it.unimi.di.prog2.e04
Esercizi relativi alla lezione 04, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e05 - package it.unimi.di.prog2.e05
Esercizi relativi alla lezione 05, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e06 - package it.unimi.di.prog2.e06
Esercizi relativi alla lezione 06, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e09 - package it.unimi.di.prog2.e09
Esercizi relativi alla lezione 09, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e10 - package it.unimi.di.prog2.e10
Esercizi relativi alla lezione 10, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e12 - package it.unimi.di.prog2.e12
Esercizi relativi alla lezione 12, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e15 - package it.unimi.di.prog2.e15
Esercizi relativi alla lezione 15, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e17 - package it.unimi.di.prog2.e17
Esercizi relativi alla lezione 17, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e18 - package it.unimi.di.prog2.e18
Codice relativo alla lezione 18 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.e19 - package it.unimi.di.prog2.e19
Codice relativo alla lezione 19 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h02 - package it.unimi.di.prog2.h02
Codice relativo alla lezione 02, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h03 - package it.unimi.di.prog2.h03
Codice relativo alla lezione 03, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h04 - package it.unimi.di.prog2.h04
Codice relativo alla lezione 04, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h05 - package it.unimi.di.prog2.h05
Codice relativo alla lezione 05, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h06 - package it.unimi.di.prog2.h06
Codice relativo alla lezione 06, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h08 - package it.unimi.di.prog2.h08
Codice relativo alla lezione 08 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h08.impl - package it.unimi.di.prog2.h08.impl
Codice relativo alla lezione 08 (implementazione delle eccezioni) per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h09 - package it.unimi.di.prog2.h09
Codice relativo alla lezione 09 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h10 - package it.unimi.di.prog2.h10
Codice relativo alla lezione 10 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h11 - package it.unimi.di.prog2.h11
Codice relativo alla lezione 11 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h13 - package it.unimi.di.prog2.h13
Codice relativo alla lezione 13 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h14 - package it.unimi.di.prog2.h14
Codice relativo alla lezione 14 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h15 - package it.unimi.di.prog2.h15
Codice relativo alla lezione 15 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h17 - package it.unimi.di.prog2.h17
Codice relativo alla lezione 17 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h18 - package it.unimi.di.prog2.h18
Codice relativo alla lezione 18 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h18.refactored - package it.unimi.di.prog2.h18.refactored
Codice relativo alla lezione 18, con refactoring della gerarchia, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h19 - package it.unimi.di.prog2.h19
Codice relativo alla lezione 19 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h22 - package it.unimi.di.prog2.h22
Codice relativo alla lezione 22 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h23 - package it.unimi.di.prog2.h23
 
it.unimi.di.prog2.h24 - package it.unimi.di.prog2.h24
Codice relativo alla lezione 24 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.h24.digraph - package it.unimi.di.prog2.h24.digraph
Codice relativo alla lezione 24, libreria per grafi orientati, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s06 - package it.unimi.di.prog2.s06
Soluzioni relative agli esercizi della lezione 06 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s09 - package it.unimi.di.prog2.s09
Soluzioni relative agli esercizi della lezione 09, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s10 - package it.unimi.di.prog2.s10
Soluzioni relative agli esercizi della lezione 10, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s12 - package it.unimi.di.prog2.s12
Soluzioni relative agli esercizi della lezione 12, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s15 - package it.unimi.di.prog2.s15
Soluzioni relative agli esercizi della lezione 15, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s17 - package it.unimi.di.prog2.s17
Soluzioni relative agli esercizi della lezione 17, per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s18 - package it.unimi.di.prog2.s18
Codice relativo alla lezione 18 per maggiori dettagli si veda il diario del corso.
it.unimi.di.prog2.s19 - package it.unimi.di.prog2.s19
Soluzioni relative agli esercizi della lezione 19, per maggiori dettagli si veda il diario del corso.
iterator() - Method in class it.unimi.di.prog2.e17.Histogram
Returns an iterator that produces the rectangles in this histogram in decreasing height order.
iterator() - Method in class it.unimi.di.prog2.h14.IntSet
 
iterator() - Method in class it.unimi.di.prog2.h15.StringFormatter
Returns an iterator over the non-null strings in this formatter.
iterator() - Method in class it.unimi.di.prog2.h18.IntSet
 
iterator() - Method in class it.unimi.di.prog2.h18.OrderedIntSet
 
iterator() - Method in class it.unimi.di.prog2.h18.refactored.ListBasedAbstractIntSet
 
iterator() - Method in class it.unimi.di.prog2.h18.refactored.PreallocatedIntSet
 
iterator() - Method in class it.unimi.di.prog2.h19.DensePoly
 
iterator() - Method in class it.unimi.di.prog2.h19.SparsePoly
 
iterator() - Method in class it.unimi.di.prog2.s15.IntRange
Returns an iterator for this range.
iterator() - Method in class it.unimi.di.prog2.s17.Histogram
Returns an iterator that produces the rectangles in this histogram in decreasing height order.
IteratorUtils - Class in it.unimi.di.prog2.s19
Utility methods for iterators.
IteratorUtils() - Constructor for class it.unimi.di.prog2.s19.IteratorUtils
.

J

join(Iterator<T>, String) - Static method in class it.unimi.di.prog2.s19.IteratorUtils
Joins the elements of an iterator using a separator.

K

keys - Variable in class it.unimi.di.prog2.h22.Map
A list containing the keys
keys - Variable in class it.unimi.di.prog2.s12.StringToIntMap
A list containing the keys

L

left - Variable in class it.unimi.di.prog2.s19.OrderedIntList
Two sublists, containing values respectively smaller and greater than OrderedIntList.value.
LetteraPiuFrequente - Class in it.unimi.di.prog2.e03
Vedi testo,
LetteraPiuFrequente() - Constructor for class it.unimi.di.prog2.e03.LetteraPiuFrequente
.
LIFOSupplier() - Static method in class it.unimi.di.prog2.h24.digraph.Queues
A Supplier of LIFO Queues.
linearSearch(T[], T) - Static method in class it.unimi.di.prog2.h22.ArrayUtils
Searches for a needle in a haystack.
ListBasedAbstractIntSet - Class in it.unimi.di.prog2.h18.refactored
An partial implementation of AbstractIntSet based on List.
ListBasedAbstractIntSet() - Constructor for class it.unimi.di.prog2.h18.refactored.ListBasedAbstractIntSet
Creates an empty set.
ListUtils - Class in it.unimi.di.prog2.h23
A class providing some utility methods for lists.
ListUtils() - Constructor for class it.unimi.di.prog2.h23.ListUtils
.
ListUtils.AbsoluteValueIntBox - Class in it.unimi.di.prog2.h23
A subtype of ListUtils.PositiveIntBox that can be created from negative ints.
ListUtils.PositiveIntBox - Class in it.unimi.di.prog2.h23
A box containing a positive integer.

M

main(String[]) - Static method in class it.unimi.di.prog2.h02.SalveMondo
Il metodo principale.
main(String[]) - Static method in class it.unimi.di.prog2.h03.Palindroma
Il metodo principale.
main(String[]) - Static method in class it.unimi.di.prog2.h03.SequenzeDiCaratteri
Il metodo principale.
main(String[]) - Static method in class it.unimi.di.prog2.h04.GiustificaADestra
Legge una sequenza di parole dal flusso d'ingresso e le stampa giustificate a destra.
main(String[]) - Static method in class it.unimi.di.prog2.h04.UltimaRipetizione
Stampa l'ultima parola ripetuta tra quelle passate come argomenti.
main(String[]) - Static method in class it.unimi.di.prog2.h05.GrigliaIrregolare1
Metodo principale.
main(String[]) - Static method in class it.unimi.di.prog2.h05.GrigliaIrregolare2
Metodo principale.
main(String[]) - Static method in class it.unimi.di.prog2.h05.GrigliaIrregolare3
Metodo principale.
main(String[]) - Static method in class it.unimi.di.prog2.h05.GrigliaIrregolare4
Metodo principale.
main(String[]) - Static method in class it.unimi.di.prog2.h06.RadiciClient
Metodo che esercita il metodo di calcolo delle radici.
main(String[]) - Static method in class it.unimi.di.prog2.h08.IntSetsClient
Builds a set from an array of elements.
main(String[]) - Static method in class it.unimi.di.prog2.h09.IntSetsClient
Tests some methods of IntSet.
main(String[]) - Static method in class it.unimi.di.prog2.h09.PolyClient
Tests the Poly.mul(Poly) method.
main(String[]) - Static method in class it.unimi.di.prog2.h10.PolyClient
Tests some methods of Poly.
main(String[]) - Static method in class it.unimi.di.prog2.h10.SparsePolyClient
Tests some methods of SparsePoly.
main(String[]) - Static method in class it.unimi.di.prog2.h11.PolyClient
Tests some methods of Poly.
main(String[]) - Static method in class it.unimi.di.prog2.h11.SparsePolyClient
Tests some methods of SparsePoly.
main(String[]) - Static method in class it.unimi.di.prog2.h13.PortafoglioAzionarioClient
A method testing some methods of PortafoglioAzionario.
main(String[]) - Static method in class it.unimi.di.prog2.h14.IntSetsClient
Legge una sequenza di interi dal flusso di ingresso ed emette la loro somma nel flusso d'uscita.
main(String[]) - Static method in class it.unimi.di.prog2.h17.MaxIntSetClient
Reads a series of instructions and prints the resulting set from their execution.
main(String[]) - Static method in class it.unimi.di.prog2.h18.IntSetsClient
Tests some methods of IntSet and OrderedIntSet.
main(String[]) - Static method in class it.unimi.di.prog2.h18.refactored.IntSetsClient
Tests some methods of IntSet, OrderedIntSet and PreallocatedIntSet.
main(String[]) - Static method in class it.unimi.di.prog2.h23.ListUtils
A method to test the code in this class
main(String[]) - Static method in class it.unimi.di.prog2.h23.Pair
A method to test the class.
main(String[]) - Static method in class it.unimi.di.prog2.h24.Anagrams
Reads a list of words from standard input and prints all anagrams of size at least 2.
main(String[]) - Static method in class it.unimi.di.prog2.h24.DiGraphDotClient
Generates an ImplicitDiGraph.
main(String[]) - Static method in class it.unimi.di.prog2.h24.DiGraphVisitClient
Reads a graph from the standard input and performs a visit.
main(String[]) - Static method in class it.unimi.di.prog2.s06.RadiciClient
Metodo che esercita il metodo di calcolo delle radici.
main(String[]) - Static method in class it.unimi.di.prog2.s09.PolyClient
Tests some methods of Poly.
main(String[]) - Static method in class it.unimi.di.prog2.s09.SparsePolyClient
Tests some methods of SparsePoly.
main(String[]) - Static method in class it.unimi.di.prog2.s10.BoundedIntQueueClient
Tests some methods of BoundedIntQueue.
main(String[]) - Static method in class it.unimi.di.prog2.s10.RationalNumberClient
Tests some methods of BoundedIntQueue.
main(String[]) - Static method in class it.unimi.di.prog2.s12.StringToIntMapClient
A simple client to test the StringToIntMap class.
main(String[]) - Static method in class it.unimi.di.prog2.s15.IntRangeClient
A method to test the IntRange class.
main(String[]) - Static method in class it.unimi.di.prog2.s15.StringIteratorsClient
Prints the uppercase version of the lines of even length in the standard input.
main(String[]) - Static method in class it.unimi.di.prog2.s17.HistogramClient
main(String[]) - Static method in class it.unimi.di.prog2.s18.AstronomicalSystemClient
Simulates an astronomical system.
main(String[]) - Static method in class it.unimi.di.prog2.s19.OrderedIntListClient
Reads a sequence of integers from standard input and inserts them into an ordered list; then prints the list in ascending and descending order.
Map<K,V> - Class in it.unimi.di.prog2.h22
A map from Map to Map.
Map() - Constructor for class it.unimi.di.prog2.h22.Map
Creates a new empty map.
max() - Method in class it.unimi.di.prog2.h17.MaxIntSet
Returns the maximum value in the set, or raises EmptyException otherwise.
max() - Method in class it.unimi.di.prog2.h18.OrderedIntSet
Returns the maximum element of this set.
max() - Method in class it.unimi.di.prog2.h18.refactored.OrderedIntSet
Returns the maximum element of this set.
max() - Method in class it.unimi.di.prog2.s19.OrderedIntList
Returns the maximum value in the list.
max(List<T>) - Static method in class it.unimi.di.prog2.h23.ListUtils
Returns the maximum element in a list.
MaxIntSet - Class in it.unimi.di.prog2.h17
Example of MaxIntSet taken from section 7.4 of the textbook by Liskov et al..
MaxIntSet() - Constructor for class it.unimi.di.prog2.h17.MaxIntSet
Construct an empty MaxIntSet.
MaxIntSetClient - Class in it.unimi.di.prog2.h17
Test class for MaxIntSet.
MaxIntSetClient() - Constructor for class it.unimi.di.prog2.h17.MaxIntSetClient
.
min() - Method in class it.unimi.di.prog2.h18.OrderedIntSet
Returns the minimum element of this set.
min() - Method in class it.unimi.di.prog2.h18.refactored.OrderedIntSet
Returns the minimum element of this set.
min() - Method in class it.unimi.di.prog2.s19.OrderedIntList
Returns the minimum value in the list.
minus() - Method in class it.unimi.di.prog2.e09.Poly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.e09.SparsePoly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.h08.Poly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.h09.Poly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.h10.Poly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.h10.SparsePoly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.h11.Poly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.h11.SparsePoly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.h19.DensePoly
 
minus() - Method in interface it.unimi.di.prog2.h19.Poly
Returns the negated polynomial.
minus() - Method in class it.unimi.di.prog2.h19.SparsePoly
 
minus() - Method in class it.unimi.di.prog2.s09.Poly
Returns the negate polynomial.
minus() - Method in class it.unimi.di.prog2.s09.SparsePoly
Returns the negate polynomial.
monomialWithCoeffAndDegree(int, int) - Static method in class it.unimi.di.prog2.e09.Poly
A factory method returning a monomial.
monomialWithCoeffAndDegree(int, int) - Static method in class it.unimi.di.prog2.h08.Poly
A factory method returning a monomial.
monomialWithCoeffAndDegree(int, int) - Static method in class it.unimi.di.prog2.h09.Poly
A factory method returning a monomial.
mul(Poly) - Method in class it.unimi.di.prog2.e09.Poly
Performs polynomial multiplication.
mul(SparsePoly) - Method in class it.unimi.di.prog2.e09.SparsePoly
Performs polynomial multiplication.
mul(RationalNumber) - Method in class it.unimi.di.prog2.e10.RationalNumber
Returns the product of this rational number and another one.
mul(Poly) - Method in class it.unimi.di.prog2.h08.Poly
Performs polynomial multiplication.
mul(Poly) - Method in class it.unimi.di.prog2.h09.Poly
Performs polynomial multiplication.
mul(Poly) - Method in class it.unimi.di.prog2.h10.Poly
Performs polynomial multiplication.
mul(SparsePoly) - Method in class it.unimi.di.prog2.h10.SparsePoly
Performs polynomial multiplication.
mul(Poly) - Method in class it.unimi.di.prog2.h11.Poly
Performs polynomial multiplication.
mul(SparsePoly) - Method in class it.unimi.di.prog2.h11.SparsePoly
Performs polynomial multiplication.
mul(Poly) - Method in class it.unimi.di.prog2.h19.DensePoly
 
mul(Poly) - Method in interface it.unimi.di.prog2.h19.Poly
Performs polynomial multiplication.
mul(Poly) - Method in class it.unimi.di.prog2.h19.SparsePoly
 
mul(Poly) - Method in class it.unimi.di.prog2.s09.Poly
Performs polynomial multiplication.
mul(SparsePoly) - Method in class it.unimi.di.prog2.s09.SparsePoly
Performs polynomial multiplication.
mul(RationalNumber) - Method in class it.unimi.di.prog2.s10.RationalNumber
Returns the product of this rational number and another one.

N

name - Variable in class it.unimi.di.prog2.s18.CelestialBody
The name of the celestial body.
name() - Method in class it.unimi.di.prog2.s18.CelestialBody
Returns the name of this celestial body.
NaveSpaziale - Class in it.unimi.di.prog2.e04
Vedi testo.
NaveSpaziale() - Constructor for class it.unimi.di.prog2.e04.NaveSpaziale
.
NegativeExponentException - Exception Class in it.unimi.di.prog2.h08.impl
Thrown when an application attempts to use a negative exponent in a Poly.
NegativeExponentException() - Constructor for exception class it.unimi.di.prog2.h08.impl.NegativeExponentException
Builds a new exception.
NegativeExponentException(String) - Constructor for exception class it.unimi.di.prog2.h08.impl.NegativeExponentException
Builds an exception with a given message.
NegativeExponentException(String, Throwable) - Constructor for exception class it.unimi.di.prog2.h08.impl.NegativeExponentException
Builds an exception with a given message and cause.
next() - Method in class it.unimi.di.prog2.h14.IntGenerator
 
next() - Method in class it.unimi.di.prog2.h14.Primes
 
next() - Method in class it.unimi.di.prog2.h15.DecimalDigitsIG.NonZeroDigitsGeneratorIG
 
next() - Method in class it.unimi.di.prog2.h15.DecimalDigitsNSG.NonZeroDigitsGeneratorNS
 
next() - Method in class it.unimi.di.prog2.h15.NonZeroDigitsGenerator
 
nodes - Variable in class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
The nodes of the graph, in some order.
nodes - Variable in class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
The set of graph nodes.
nodes - Variable in class it.unimi.di.prog2.h24.digraph.ImplicitDiGraph
The set of nodes.
nodes() - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
 
nodes() - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
 
nodes() - Method in class it.unimi.di.prog2.h24.digraph.ArcListDiGraph
 
nodes() - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Returns the graph nodes.
nodes() - Method in class it.unimi.di.prog2.h24.digraph.ImplicitDiGraph
 
nonZeroDigits() - Method in class it.unimi.di.prog2.h15.DecimalDigitsAG
Returns a generator on from the least significant to the most significant non zero digits.
nonZeroDigits() - Method in class it.unimi.di.prog2.h15.DecimalDigitsEG
Returns a generator on from the least significant to the most significant non zero digits.
nonZeroDigits() - Method in class it.unimi.di.prog2.h15.DecimalDigitsIG
Returns a generator on from the least significant to the most significant non zero digits.
nonZeroDigits() - Method in class it.unimi.di.prog2.h15.DecimalDigitsNSG
Returns a generator on from the least significant to the most significant non zero digits.
NonZeroDigitsGenerator - Class in it.unimi.di.prog2.h15
A generator returning the non zero digits of a long from the least to the most significant one.
NonZeroDigitsGenerator(long) - Constructor for class it.unimi.di.prog2.h15.NonZeroDigitsGenerator
Creates a new generator for the given number.
NonZeroDigitsGeneratorIG() - Constructor for class it.unimi.di.prog2.h15.DecimalDigitsIG.NonZeroDigitsGeneratorIG
.
NonZeroDigitsGeneratorNS(long) - Constructor for class it.unimi.di.prog2.h15.DecimalDigitsNSG.NonZeroDigitsGeneratorNS
Creates a new generator for the given number.
norm() - Method in record class it.unimi.di.prog2.s18.Point
Returns the l1 norm of this point.
number - Variable in class it.unimi.di.prog2.h15.DecimalDigits
The number whose digits are represented by this class.
number - Variable in class it.unimi.di.prog2.h15.DecimalDigitsAG
The number whose digits are represented by this class.
number - Variable in class it.unimi.di.prog2.h15.DecimalDigitsEG
The number whose digits are represented by this class.
number - Variable in class it.unimi.di.prog2.h15.DecimalDigitsIG
The number whose digits are represented by this class.
number - Variable in class it.unimi.di.prog2.h15.DecimalDigitsNSG
The number whose digits are represented by this class.
numerator - Variable in class it.unimi.di.prog2.s10.RationalNumber
The numerator.

O

once(Queue<T>) - Static method in class it.unimi.di.prog2.h24.digraph.Queues
Wraps a Queue making it a once queue.
OrderedIntList - Class in it.unimi.di.prog2.s19
Ordered list of integers without duplicates.
OrderedIntList() - Constructor for class it.unimi.di.prog2.s19.OrderedIntList
Constructs an empty list.
OrderedIntListClient - Class in it.unimi.di.prog2.e19
A class to test ordered lists.
OrderedIntListClient - Class in it.unimi.di.prog2.s19
A class to test OrderedIntList.
OrderedIntListClient() - Constructor for class it.unimi.di.prog2.e19.OrderedIntListClient
.
OrderedIntListClient() - Constructor for class it.unimi.di.prog2.s19.OrderedIntListClient
.
OrderedIntSet - Class in it.unimi.di.prog2.h18
A concrete sorted set of integers.
OrderedIntSet - Class in it.unimi.di.prog2.h18.refactored
A concrete sorted set of integers.
OrderedIntSet() - Constructor for class it.unimi.di.prog2.h18.OrderedIntSet
Creates an empty set.
OrderedIntSet() - Constructor for class it.unimi.di.prog2.h18.refactored.OrderedIntSet
Creates an empty set.
outgoing(T) - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMapDiGraph
 
outgoing(T) - Method in class it.unimi.di.prog2.h24.digraph.AdjacencyMatrixDiGraph
 
outgoing(T) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Returns the set of outgoing nodes of a given node.
outgoing(T) - Method in class it.unimi.di.prog2.h24.digraph.ImplicitDiGraph
 

P

Pair<T,U> - Class in it.unimi.di.prog2.h23
A class representing an immutable pair of objects.
Pair(T, U) - Constructor for class it.unimi.di.prog2.h23.Pair
Creates a new pair.
Palindroma - Class in it.unimi.di.prog2.h03
Soluzione dell'esercizio Palindroma(versione con cicli).
Palindroma() - Constructor for class it.unimi.di.prog2.h03.Palindroma
.
parseInts(String) - Static method in class it.unimi.di.prog2.e06.CombineClient
Decodifica una stringa contenente interi separati da spazi.
Planet - Class in it.unimi.di.prog2.s18
A planet.
Planet(String, int, int, int) - Constructor for class it.unimi.di.prog2.s18.Planet
Constructs a planet.
Point - Record Class in it.unimi.di.prog2.s18
Immutable three-dimensional point with integer coordinates.
Point(int, int, int) - Constructor for record class it.unimi.di.prog2.s18.Point
Creates an instance of a Point record class.
Poly - Class in it.unimi.di.prog2.e09
Polys are immutable polynomials with integer coefficients.
Poly - Class in it.unimi.di.prog2.h08
Polys are immutable polynomials with integer coefficients.
Poly - Class in it.unimi.di.prog2.h09
Polys are immutable polynomials with integer coefficients.
Poly - Class in it.unimi.di.prog2.h10
Polys are immutable polynomials with integer coefficients.
Poly - Class in it.unimi.di.prog2.h11
Polys are immutable polynomials with integer coefficients.
Poly - Class in it.unimi.di.prog2.s09
Polys are immutable polynomials with integer coefficients.
Poly - Interface in it.unimi.di.prog2.h19
Polys are immutable polynomials with integer coefficients.
Poly() - Constructor for class it.unimi.di.prog2.e09.Poly
Initializes this to be the zero polynomial, that is \( p = 0 \).
Poly() - Constructor for class it.unimi.di.prog2.h08.Poly
Initializes this to be the zero polynomial, that is \( p = 0 \).
Poly() - Constructor for class it.unimi.di.prog2.h09.Poly
Initializes this to be the zero polynomial, that is \( p = 0 \).
Poly() - Constructor for class it.unimi.di.prog2.h10.Poly
Initializes this to be the zero polynomial, that is \( p = 0 \).
Poly() - Constructor for class it.unimi.di.prog2.h11.Poly
Initializes this to be the zero polynomial, that is \( p = 0 \).
Poly() - Constructor for class it.unimi.di.prog2.s09.Poly
Initializes this to be the zero polynomial, that is \( p = 0 \).
Poly(int) - Constructor for class it.unimi.di.prog2.e09.Poly
Initializes a polynomial of given degree (with all coefficients equal to 0).
Poly(int) - Constructor for class it.unimi.di.prog2.h09.Poly
Initializes a polynomial of given degree (with all coefficients equal to 0).
Poly(int) - Constructor for class it.unimi.di.prog2.h10.Poly
Initializes a polynomial of given degree (with all coefficients equal to 0).
Poly(int) - Constructor for class it.unimi.di.prog2.h11.Poly
Initializes a polynomial of given degree (with all coefficients equal to 0).
Poly(int) - Constructor for class it.unimi.di.prog2.s09.Poly
Initializes a polynomial of given degree (with all coefficients equal to 0).
Poly(int, int) - Constructor for class it.unimi.di.prog2.e09.Poly
Initializes this to be the polynomial \(p = cx^n\).
Poly(int, int) - Constructor for class it.unimi.di.prog2.h08.Poly
Initializes this to be the polynomial \(p = cx^n\).
Poly(int, int) - Constructor for class it.unimi.di.prog2.h09.Poly
Initializes this to be the polynomial \(p = cx^n\).
Poly(int, int) - Constructor for class it.unimi.di.prog2.h10.Poly
Initializes this to be the polynomial \(p = cx^n\).
Poly(int, int) - Constructor for class it.unimi.di.prog2.h11.Poly
Initializes this to be the polynomial \(p = cx^n\).
Poly(int, int) - Constructor for class it.unimi.di.prog2.s09.Poly
Initializes this to be the polynomial \(p = cx^n\).
Poly.Term - Record Class in it.unimi.di.prog2.h19
A non-null term of a polynomial.
PolyClient - Class in it.unimi.di.prog2.e09
A class to test some methods of Poly.
PolyClient - Class in it.unimi.di.prog2.h09
A class to test some methods of Poly.
PolyClient - Class in it.unimi.di.prog2.h10
A class to test some methods of Poly.
PolyClient - Class in it.unimi.di.prog2.h11
A class to test some methods of Poly.
PolyClient - Class in it.unimi.di.prog2.s09
A class to test some methods of Poly.
PolyClient() - Constructor for class it.unimi.di.prog2.e09.PolyClient
.
PolyClient() - Constructor for class it.unimi.di.prog2.h09.PolyClient
.
PolyClient() - Constructor for class it.unimi.di.prog2.h10.PolyClient
.
PolyClient() - Constructor for class it.unimi.di.prog2.h11.PolyClient
.
PolyClient() - Constructor for class it.unimi.di.prog2.s09.PolyClient
.
Polys - Class in it.unimi.di.prog2.h08
A collection of methods for Polys.
Polys() - Constructor for class it.unimi.di.prog2.h08.Polys
.
PortafoglioAzionario - Class in it.unimi.di.prog2.h13
Classe che rappresenta un portafoglio azionario.
PortafoglioAzionario() - Constructor for class it.unimi.di.prog2.h13.PortafoglioAzionario
Costruisce un portafoglio vuoto.
PortafoglioAzionario.Azione - Record Class in it.unimi.di.prog2.h13
Rappresenta una azione di una società.
PortafoglioAzionarioClient - Class in it.unimi.di.prog2.h13
A class to test some methods of PortafoglioAzionario.
PortafoglioAzionarioClient() - Constructor for class it.unimi.di.prog2.h13.PortafoglioAzionarioClient
.
position - Variable in class it.unimi.di.prog2.s18.CelestialBody
The position of the celestial body.
position() - Method in class it.unimi.di.prog2.s18.CelestialBody
Returns the position of this celestial body.
position(Point) - Method in class it.unimi.di.prog2.s18.CelestialBody
Sets the position of this celestial body.
PositiveIntBox(int) - Constructor for class it.unimi.di.prog2.h23.ListUtils.PositiveIntBox
Creates a new box containing a positive integer.
pour(List<T>, List<U>) - Static method in class it.unimi.di.prog2.h22.ArrayUtils
Pours the elements of a list into another list.
PreallocatedIntSet - Class in it.unimi.di.prog2.h18.refactored
A set of integer that can be preallocated to a given capacity.
PreallocatedIntSet() - Constructor for class it.unimi.di.prog2.h18.refactored.PreallocatedIntSet
Creates an empty set.
PreallocatedIntSet(int) - Constructor for class it.unimi.di.prog2.h18.refactored.PreallocatedIntSet
Creates an empty set with a given initial capacity.
prezzo - Variable in record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
The field for the prezzo record component.
prezzo() - Method in record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
Returns the value of the prezzo record component.
Primes - Class in it.unimi.di.prog2.h14
Iteratore che genera i numeri primi.
Primes() - Constructor for class it.unimi.di.prog2.h14.Primes
Crea un generatore di numeri primi.
printConsumer() - Static method in class it.unimi.di.prog2.h24.digraph.Consumers
A Consumer printing to the standard output every visited node.
put(String, int) - Method in class it.unimi.di.prog2.e12.StringToIntMap
Associates in this map the new key with the specified value.
put(String, int) - Method in class it.unimi.di.prog2.s12.StringToIntMap
Associates in this map the new key with the specified value.
put(K, V) - Method in class it.unimi.di.prog2.h22.Map
Associates in this map the new key with the specified value.

Q

quante(String) - Method in class it.unimi.di.prog2.h13.PortafoglioAzionario
Restituisce il numero di azioni di una società nel portafoglio.
quantità - Variable in class it.unimi.di.prog2.h13.PortafoglioAzionario
Elenco della quantità di azioni nel portafoglio, per i vincoli vedi AF/IR.
Queues - Class in it.unimi.di.prog2.h24.digraph
A collection of utilities related to Queuess.
Queues() - Constructor for class it.unimi.di.prog2.h24.digraph.Queues
.

R

radiceParziale(double) - Static method in class it.unimi.di.prog2.h06.Radici
Estrae se possibile la radice quadrata del numero dato.
radiceParziale(double) - Static method in class it.unimi.di.prog2.s06.Radici
Estrae se possibile la radice quadrata del numero dato.
radiceTotale(double) - Static method in class it.unimi.di.prog2.h06.Radici
Estrae la radice quadrata del numero dato.
radiceTotale(double) - Static method in class it.unimi.di.prog2.s06.Radici
Estrae la radice quadrata del numero dato.
Radici - Class in it.unimi.di.prog2.h06
Classe di utilità per il calcolo delle radici quadrate.
Radici - Class in it.unimi.di.prog2.s06
Classe di utilità per il calcolo delle radici quadrate.
Radici() - Constructor for class it.unimi.di.prog2.h06.Radici
.
Radici() - Constructor for class it.unimi.di.prog2.s06.Radici
.
RadiciClient - Class in it.unimi.di.prog2.h06
Classe client per il calcolo delle radici quadrate.
RadiciClient - Class in it.unimi.di.prog2.s06
Classe client per il calcolo delle radici quadrate.
RadiciClient() - Constructor for class it.unimi.di.prog2.h06.RadiciClient
.
RadiciClient() - Constructor for class it.unimi.di.prog2.s06.RadiciClient
.
RationalNumber - Class in it.unimi.di.prog2.e10
A rational number is an immutable number that can be expressed as the quotient or fraction \( p/q \) of two ints, a numerator \( p \) and a non-zero denominator \( q \).
RationalNumber - Class in it.unimi.di.prog2.s10
A rational number is an immutable number that can be expressed as the quotient or fraction \( p/q \) of two ints, a numerator \( p \) and a non-zero denominator \( q \).
RationalNumber(int) - Constructor for class it.unimi.di.prog2.s10.RationalNumber
Creates a new integer number.
RationalNumber(int, int) - Constructor for class it.unimi.di.prog2.e10.RationalNumber
Creates a new rational number.
RationalNumber(long, long) - Constructor for class it.unimi.di.prog2.s10.RationalNumber
Creates a new rational number.
RationalNumberClient - Class in it.unimi.di.prog2.e10
A class to exercise a RationalNumber.
RationalNumberClient - Class in it.unimi.di.prog2.s10
A class to exercise a RationalNumber.
RationalNumberClient() - Constructor for class it.unimi.di.prog2.e10.RationalNumberClient
.
RationalNumberClient() - Constructor for class it.unimi.di.prog2.s10.RationalNumberClient
.
Rectangle - Class in it.unimi.di.prog2.e17
A mutable class representing a rectangle with integer valued base and height.
Rectangle - Class in it.unimi.di.prog2.s17
A mutable class representing a rectangle with integer valued base and height.
Rectangle(int, int) - Constructor for class it.unimi.di.prog2.e17.Rectangle
Creates a rectangle of given base and height.
Rectangle(int, int) - Constructor for class it.unimi.di.prog2.s17.Rectangle
Creates a rectangle of given base and height.
rectangles - Variable in class it.unimi.di.prog2.s17.Histogram
The list of rectangles in the histogram.
remaining - Variable in class it.unimi.di.prog2.h15.DecimalDigitsIG.NonZeroDigitsGeneratorIG
The remaining digits to return (except possibly for the trailing zeroes).
remaining - Variable in class it.unimi.di.prog2.h15.DecimalDigitsNSG.NonZeroDigitsGeneratorNS
The remaining digits to return (except possibly for the trailing zeroes).
remaining - Variable in class it.unimi.di.prog2.h15.NonZeroDigitsGenerator
The remaining digits to return (except possibly for the trailing zeroes).
remove(int) - Method in class it.unimi.di.prog2.h08.IntSet
Removes the given element from this set.
remove(int) - Method in class it.unimi.di.prog2.h09.IntSet
Removes the given element from this set.
remove(int) - Method in class it.unimi.di.prog2.h10.IntSet
Removes the given element from this set.
remove(int) - Method in class it.unimi.di.prog2.h11.IntSet
Removes the given element from this set.
remove(int) - Method in class it.unimi.di.prog2.h14.IntSet
Removes the given element from this set.
remove(int) - Method in class it.unimi.di.prog2.h17.MaxIntSet
 
remove(int) - Method in class it.unimi.di.prog2.h18.AbstractIntSet
Removes the given element from this set.
remove(int) - Method in class it.unimi.di.prog2.h18.IntSet
 
remove(int) - Method in class it.unimi.di.prog2.h18.OrderedIntSet
 
remove(int) - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
Removes the given element from this set.
remove(int) - Method in class it.unimi.di.prog2.h18.refactored.ListBasedAbstractIntSet
 
remove(int) - Method in class it.unimi.di.prog2.h18.refactored.PreallocatedIntSet
 
remove(int) - Method in class it.unimi.di.prog2.s19.OrderedIntList
Removes an element from the list.
remove(String) - Method in class it.unimi.di.prog2.e12.StringToIntMap
Removes the mapping for a key from this map if it is present.
remove(String) - Method in class it.unimi.di.prog2.s12.StringToIntMap
Removes the mapping for a key from this map if it is present.
remove(K) - Method in class it.unimi.di.prog2.h22.Map
Removes the mapping for a key from this map if it is present.
repOk() - Method in class it.unimi.di.prog2.h14.IntSet
An implementation of the RI.
repOk() - Method in class it.unimi.di.prog2.h17.MaxIntSet
Checks the Representation Invariant.
right - Variable in class it.unimi.di.prog2.s19.OrderedIntList
Two sublists, containing values respectively smaller and greater than OrderedIntList.value.
rimuovi(PortafoglioAzionario.Azione, int) - Method in class it.unimi.di.prog2.h13.PortafoglioAzionario
Rimuove l'assegnato numero di azioni al portafoglio.
rimuovi(String, int) - Method in class it.unimi.di.prog2.h13.PortafoglioAzionario
Rimuove l'assegnato numero di azioni della data società al portafoglio.

S

Saltapicchio - Class in it.unimi.di.prog2.e04
Vedi testo, ma senza il vincolo sul valore massimo per `N`.
Saltapicchio() - Constructor for class it.unimi.di.prog2.e04.Saltapicchio
.
SalveMondo - Class in it.unimi.di.prog2.h02
La prima classe Java.
SalveMondo() - Constructor for class it.unimi.di.prog2.h02.SalveMondo
.
SearchClient - Class in it.unimi.di.prog2.e06
Esercizio 4.2 di PDJ.
SearchClient() - Constructor for class it.unimi.di.prog2.e06.SearchClient
.
second - Variable in class it.unimi.di.prog2.h23.Pair
The second object of the pair.
second() - Method in class it.unimi.di.prog2.h23.Pair
Returns the second object of the pair.
secondComparator() - Static method in class it.unimi.di.prog2.h23.Pair
Returns a comparator that compares pairs by their second element.
SequenzeDiCaratteri - Class in it.unimi.di.prog2.h03
Una classe che mostra alcune caratteristiche legate all'ereditarietà.
SequenzeDiCaratteri() - Constructor for class it.unimi.di.prog2.h03.SequenzeDiCaratteri
.
serialVersionUID - Static variable in exception class it.unimi.di.prog2.h08.impl.EmptyException
THe serial version.
serialVersionUID - Static variable in exception class it.unimi.di.prog2.h08.impl.NegativeExponentException
THe serial version.
signature(String) - Static method in class it.unimi.di.prog2.h24.Anagrams
Returns the signature of a word, that is, the word obtained by sorting its letters.
signum() - Method in record class it.unimi.di.prog2.s18.Point
Returns a point with coordinates -1, 0, or 1 depending on the sign of the coordinates of this point.
simulateSteps(int) - Method in class it.unimi.di.prog2.s18.AstronomicalSystem
Simulates the evolution of the system for a given number of steps.
size - Variable in class it.unimi.di.prog2.h18.AbstractIntSet
The elements of the set.
size - Variable in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
The elements of the set.
size() - Method in class it.unimi.di.prog2.e12.StringToIntMap
Returns the size of this map.
size() - Method in class it.unimi.di.prog2.h08.IntSet
Returns the cardinality of this set.
size() - Method in class it.unimi.di.prog2.h09.IntSet
Returns the cardinality of this set.
size() - Method in class it.unimi.di.prog2.h10.IntSet
Returns the cardinality of this set.
size() - Method in class it.unimi.di.prog2.h11.IntSet
Returns the cardinality of this set.
size() - Method in class it.unimi.di.prog2.h14.IntSet
Returns the cardinality of this set.
size() - Method in class it.unimi.di.prog2.h18.AbstractIntSet
Returns the cardinality of this set.
size() - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
Returns the cardinality of this set.
size() - Method in class it.unimi.di.prog2.h22.Map
Returns the size of this map.
size() - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
Returns the number of elements in the queue.
size() - Method in class it.unimi.di.prog2.s12.StringToIntMap
Returns the size of this map.
size() - Method in class it.unimi.di.prog2.s19.OrderedIntList
Returns the number of elements in the list.
smallToBig() - Method in class it.unimi.di.prog2.s19.OrderedIntList
Iterator that lists the elements of the list in ascending order.
società - Variable in record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
The field for the società record component.
società() - Method in record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
Returns the value of the società record component.
SommaStrana - Class in it.unimi.di.prog2.e04
Vedi testo, ma leggendo gli addendi dal flusso di ingresso.
SommaStrana() - Constructor for class it.unimi.di.prog2.e04.SommaStrana
.
source - Variable in record class it.unimi.di.prog2.h24.digraph.Arc
The field for the source record component.
source() - Method in record class it.unimi.di.prog2.h24.digraph.Arc
Returns the value of the source record component.
SparsePoly - Class in it.unimi.di.prog2.e09
SparsePolys are immutable polynomials with integer coefficients such that the number of nonzero coefficient is small with respect to the degree.
SparsePoly - Class in it.unimi.di.prog2.h10
SparsePolys are immutable polynomials with integer coefficients such that the number of nonzero coefficient is small with respect to the degree.
SparsePoly - Class in it.unimi.di.prog2.h11
SparsePolys are immutable polynomials with integer coefficients such that the number of nonzero coefficient is small with respect to the degree.
SparsePoly - Class in it.unimi.di.prog2.h19
A sparse implementation of Poly.
SparsePoly - Class in it.unimi.di.prog2.s09
SparsePolys are immutable polynomials with integer coefficients such that the number of nonzero coefficient is small with respect to the degree.
SparsePoly() - Constructor for class it.unimi.di.prog2.e09.SparsePoly
Initializes this to be the zero polynomial, that is \( p = 0 \).
SparsePoly() - Constructor for class it.unimi.di.prog2.h10.SparsePoly
Initializes this to be the zero polynomial, that is \( p = 0 \).
SparsePoly() - Constructor for class it.unimi.di.prog2.h11.SparsePoly
Initializes this to be the zero polynomial, that is \( p = 0 \).
SparsePoly() - Constructor for class it.unimi.di.prog2.h19.SparsePoly
Initializes this to be the zero polynomial, that is \( p = 0 \).
SparsePoly() - Constructor for class it.unimi.di.prog2.s09.SparsePoly
Initializes this to be the zero polynomial, that is \( p = 0 \).
SparsePoly(int, int) - Constructor for class it.unimi.di.prog2.e09.SparsePoly
Initializes this to be the polynomial \(p = cx^n\).
SparsePoly(int, int) - Constructor for class it.unimi.di.prog2.h10.SparsePoly
Initializes this to be the polynomial \(p = cx^n\).
SparsePoly(int, int) - Constructor for class it.unimi.di.prog2.h11.SparsePoly
Initializes this to be the polynomial \(p = cx^n\).
SparsePoly(int, int) - Constructor for class it.unimi.di.prog2.h19.SparsePoly
Initializes this to be the polynomial \(p = cx^n\).
SparsePoly(int, int) - Constructor for class it.unimi.di.prog2.s09.SparsePoly
Initializes this to be the polynomial \(p = cx^n\).
SparsePoly(List<SparsePoly.Term>) - Constructor for class it.unimi.di.prog2.h10.SparsePoly
Initializes this to be the polynomial from a list of terms in increasing degree order.
SparsePoly(List<SparsePoly.Term>) - Constructor for class it.unimi.di.prog2.h11.SparsePoly
Initializes this to be the polynomial from a list of terms in increasing degree order.
SparsePoly(List<Poly.Term>) - Constructor for class it.unimi.di.prog2.h19.SparsePoly
Initializes this to be the polynomial with given terms and degree.
SparsePoly(List<SparsePoly.Term>) - Constructor for class it.unimi.di.prog2.s09.SparsePoly
Initializes this to be the polynomial from a list of terms in increasing degree order.
SparsePoly.Term - Record Class in it.unimi.di.prog2.e09
A record holding a non zero term of the polynomial.
SparsePoly.Term - Record Class in it.unimi.di.prog2.h10
A record holding a non-zero term of the polynomial.
SparsePoly.Term - Record Class in it.unimi.di.prog2.h11
A record holding a non-zero term of the polynomial.
SparsePoly.Term - Record Class in it.unimi.di.prog2.s09
A record holding a non-zero term of the polynomial.
SparsePolyClient - Class in it.unimi.di.prog2.e09
A class to test some methods of SparsePoly.
SparsePolyClient - Class in it.unimi.di.prog2.h10
A class to test some methods of SparsePoly.
SparsePolyClient - Class in it.unimi.di.prog2.h11
A class to test some methods of SparsePoly.
SparsePolyClient - Class in it.unimi.di.prog2.s09
A class to test some methods of SparsePoly.
SparsePolyClient() - Constructor for class it.unimi.di.prog2.e09.SparsePolyClient
.
SparsePolyClient() - Constructor for class it.unimi.di.prog2.h10.SparsePolyClient
.
SparsePolyClient() - Constructor for class it.unimi.di.prog2.h11.SparsePolyClient
.
SparsePolyClient() - Constructor for class it.unimi.di.prog2.s09.SparsePolyClient
.
Square - Class in it.unimi.di.prog2.e17
A mutable class representing a square with integer valued base.
Square - Class in it.unimi.di.prog2.s17
A mutable class representing a square with integer valued base.
Square(int) - Constructor for class it.unimi.di.prog2.e17.Square
Creates a rectangle of given base and height.
Square(int) - Constructor for class it.unimi.di.prog2.s17.Square
Creates a rectangle of given base and height.
Star - Class in it.unimi.di.prog2.s18
A fixed star.
Star(String, int, int, int) - Constructor for class it.unimi.di.prog2.s18.Star
Constructs a fixed star.
step - Variable in class it.unimi.di.prog2.s15.IntRange
The iteration step.
step() - Method in class it.unimi.di.prog2.s18.AstronomicalSystem
Performs a simulation step.
step(int) - Method in class it.unimi.di.prog2.s15.IntRange
Sets the step.
string - Variable in class it.unimi.di.prog2.h15.StringFormatter
The list of added strings.
StringFormatter - Class in it.unimi.di.prog2.h15
A class to collect a sequence of strings and format them.
StringFormatter() - Constructor for class it.unimi.di.prog2.h15.StringFormatter
Creates an empty formatter.
StringIterators - Class in it.unimi.di.prog2.e15
Utility class with some string iterators.
StringIterators - Class in it.unimi.di.prog2.s15
Utility class with some string iterators.
StringIterators() - Constructor for class it.unimi.di.prog2.e15.StringIterators
.
StringIterators() - Constructor for class it.unimi.di.prog2.s15.StringIterators
.
StringIteratorsClient - Class in it.unimi.di.prog2.e15
A class to test StringIterators.
StringIteratorsClient - Class in it.unimi.di.prog2.s15
A class to test StringIterators.
StringIteratorsClient() - Constructor for class it.unimi.di.prog2.e15.StringIteratorsClient
.
StringIteratorsClient() - Constructor for class it.unimi.di.prog2.s15.StringIteratorsClient
.
StringToIntMap - Class in it.unimi.di.prog2.e12
A map from String to Integer.
StringToIntMap - Class in it.unimi.di.prog2.s12
A map from String to Integer.
StringToIntMap() - Constructor for class it.unimi.di.prog2.e12.StringToIntMap
Creates a new empty map.
StringToIntMap() - Constructor for class it.unimi.di.prog2.s12.StringToIntMap
Creates a new empty map.
StringToIntMapClient - Class in it.unimi.di.prog2.e12
A class to exercise some methods of StringToIntMap.
StringToIntMapClient - Class in it.unimi.di.prog2.s12
A class to exercise some methods of StringToIntMap.
StringToIntMapClient() - Constructor for class it.unimi.di.prog2.e12.StringToIntMapClient
.
StringToIntMapClient() - Constructor for class it.unimi.di.prog2.s12.StringToIntMapClient
.
sub(Poly) - Method in class it.unimi.di.prog2.e09.Poly
Performs polynomial subtraction.
sub(SparsePoly) - Method in class it.unimi.di.prog2.e09.SparsePoly
Performs polynomial subtraction.
sub(Poly) - Method in class it.unimi.di.prog2.h08.Poly
Performs polynomial subtraction.
sub(Poly) - Method in class it.unimi.di.prog2.h09.Poly
Performs polynomial subtraction.
sub(Poly) - Method in class it.unimi.di.prog2.h10.Poly
Performs polynomial subtraction.
sub(SparsePoly) - Method in class it.unimi.di.prog2.h10.SparsePoly
Performs polynomial subtraction.
sub(Poly) - Method in class it.unimi.di.prog2.h11.Poly
Performs polynomial subtraction.
sub(SparsePoly) - Method in class it.unimi.di.prog2.h11.SparsePoly
Performs polynomial subtraction.
sub(Poly) - Method in interface it.unimi.di.prog2.h19.Poly
Performs polynomial subtraction.
sub(Poly) - Method in class it.unimi.di.prog2.s09.Poly
Performs polynomial subtraction.
sub(SparsePoly) - Method in class it.unimi.di.prog2.s09.SparsePoly
Performs polynomial subtraction.
subtract(Point) - Method in record class it.unimi.di.prog2.s18.Point
Returns the difference between this point and the given point.
sum(Point) - Method in record class it.unimi.di.prog2.s18.Point
Returns the sum of this point and the given point.
SumClient - Class in it.unimi.di.prog2.e05
Esercizio 3.2 di PDJ.
SumClient - Class in it.unimi.di.prog2.e06
Esercizio 4.3 di PDJ.
SumClient() - Constructor for class it.unimi.di.prog2.e05.SumClient
.
SumClient() - Constructor for class it.unimi.di.prog2.e06.SumClient
.
swap(Pair<X, Y>) - Static method in class it.unimi.di.prog2.h23.Pair
Swaps the elements of a pair.

T

tail - Variable in class it.unimi.di.prog2.s10.BoundedIntQueue
The index of the first free position in BoundedIntQueue.elements (if the queue is not full).
Term(int, int) - Constructor for record class it.unimi.di.prog2.e09.SparsePoly.Term
Builds a term.
Term(int, int) - Constructor for record class it.unimi.di.prog2.h10.SparsePoly.Term
Builds a term.
Term(int, int) - Constructor for record class it.unimi.di.prog2.h11.SparsePoly.Term
Builds a term.
Term(int, int) - Constructor for record class it.unimi.di.prog2.h19.Poly.Term
Creates a new term with the given coefficient and degree.
Term(int, int) - Constructor for record class it.unimi.di.prog2.s09.SparsePoly.Term
Builds a term.
terms - Variable in class it.unimi.di.prog2.e09.Poly
The array of coefficients, the terms[i] is the coefficient of \( x^i \).
terms - Variable in class it.unimi.di.prog2.e09.SparsePoly
The array of terms (in increasing non-zero degree).
terms - Variable in class it.unimi.di.prog2.h10.SparsePoly
The array of terms (in increasing degree).
terms - Variable in class it.unimi.di.prog2.h11.SparsePoly
The array of terms (in increasing degree).
terms - Variable in class it.unimi.di.prog2.h19.SparsePoly
The list of terms.
terms - Variable in class it.unimi.di.prog2.s09.SparsePoly
The array of terms (in increasing degree).
Test Class - Search tag in package it.unimi.di.prog2.e18
Section
Test Class - Search tag in package it.unimi.di.prog2.s18
Section
to - Variable in class it.unimi.di.prog2.s15.IntRange
The last number of the iteration.
to(int) - Method in class it.unimi.di.prog2.s15.IntRange
Sets the end value.
toDot(DiGraph<T>) - Static method in class it.unimi.di.prog2.h24.digraph.DiGraphs
Returns the dot representation of the given graph.
toDot(DiGraph<T>, String) - Static method in class it.unimi.di.prog2.h24.digraph.DiGraphs
Returns the dot representation of the given graph.
toString() - Method in record class it.unimi.di.prog2.e09.SparsePoly.Term
Returns a string representation of this record class.
toString() - Method in class it.unimi.di.prog2.e17.Rectangle
 
toString() - Method in class it.unimi.di.prog2.h10.IntSet
 
toString() - Method in class it.unimi.di.prog2.h10.Poly
 
toString() - Method in record class it.unimi.di.prog2.h10.SparsePoly.Term
Returns a string representation of this record class.
toString() - Method in class it.unimi.di.prog2.h10.SparsePoly
 
toString() - Method in class it.unimi.di.prog2.h11.IntSet
 
toString() - Method in class it.unimi.di.prog2.h11.Poly
 
toString() - Method in record class it.unimi.di.prog2.h11.SparsePoly.Term
Returns a string representation of this record class.
toString() - Method in class it.unimi.di.prog2.h11.SparsePoly
 
toString() - Method in record class it.unimi.di.prog2.h13.PortafoglioAzionario.Azione
Returns a string representation of this record class.
toString() - Method in class it.unimi.di.prog2.h13.PortafoglioAzionario
 
toString() - Method in class it.unimi.di.prog2.h14.IntSet
 
toString() - Method in class it.unimi.di.prog2.h15.StringFormatter
Returns a string version of this formatter, non-null strings will be concatenated with a space, and a newline will be inserted for each null.
toString() - Method in class it.unimi.di.prog2.h17.MaxIntSet
 
toString() - Method in class it.unimi.di.prog2.h18.AbstractIntSet
 
toString() - Method in class it.unimi.di.prog2.h18.refactored.AbstractIntSet
 
toString() - Method in class it.unimi.di.prog2.h19.AbstractPoly
 
toString() - Method in record class it.unimi.di.prog2.h19.Poly.Term
Returns a string representation of this record class.
toString() - Method in class it.unimi.di.prog2.h22.Map
 
toString() - Method in class it.unimi.di.prog2.h23.ListUtils.PositiveIntBox
 
toString() - Method in class it.unimi.di.prog2.h23.Pair
 
toString() - Method in record class it.unimi.di.prog2.h24.digraph.Arc
Returns a string representation of this record class.
toString() - Method in record class it.unimi.di.prog2.s09.SparsePoly.Term
Returns a string representation of this record class.
toString() - Method in class it.unimi.di.prog2.s10.BoundedIntQueue
 
toString() - Method in class it.unimi.di.prog2.s10.RationalNumber
 
toString() - Method in class it.unimi.di.prog2.s12.StringToIntMap
 
toString() - Method in class it.unimi.di.prog2.s15.IntRange
 
toString() - Method in class it.unimi.di.prog2.s17.Rectangle
 
toString() - Method in class it.unimi.di.prog2.s17.Square
 
toString() - Method in class it.unimi.di.prog2.s18.AstronomicalSystem
 
toString() - Method in class it.unimi.di.prog2.s18.Planet
 
toString() - Method in record class it.unimi.di.prog2.s18.Point
Returns a string representation of this record class.
toString() - Method in class it.unimi.di.prog2.s18.Star
 
totalEnergy() - Method in class it.unimi.di.prog2.s18.AstronomicalSystem
Returns the total energy of the system.

U

UltimaRipetizione - Class in it.unimi.di.prog2.h04
Vedi testo.
UltimaRipetizione() - Constructor for class it.unimi.di.prog2.h04.UltimaRipetizione
.
updatePosition() - Method in class it.unimi.di.prog2.s18.CelestialBody
Updates the position of this celestial body (usually following a change in its velocity).
updatePosition() - Method in class it.unimi.di.prog2.s18.Planet
 
updatePosition() - Method in class it.unimi.di.prog2.s18.Star
 
updateVelocity(CelestialBody) - Method in class it.unimi.di.prog2.s18.CelestialBody
Updates the velocity of this celestial body.
updateVelocity(CelestialBody) - Method in class it.unimi.di.prog2.s18.Planet
 
updateVelocity(CelestialBody) - Method in class it.unimi.di.prog2.s18.Star
 
uppercase(Iterator<String>) - Static method in class it.unimi.di.prog2.e15.StringIterators
Converts strings to uppercase.
uppercase(Iterator<String>) - Static method in class it.unimi.di.prog2.s15.StringIterators
Converts strings to uppercase.

V

valore() - Method in class it.unimi.di.prog2.h13.PortafoglioAzionario
Restituisce il valore totale del portafoglio.
value - Variable in class it.unimi.di.prog2.h23.ListUtils.PositiveIntBox
The value in the box.
value - Variable in class it.unimi.di.prog2.s19.OrderedIntList
The value stored in this node of the list.
value() - Method in class it.unimi.di.prog2.h23.ListUtils.PositiveIntBox
Returns the value in the box.
values - Variable in class it.unimi.di.prog2.h22.Map
A list containing the values
values - Variable in class it.unimi.di.prog2.s12.StringToIntMap
A list containing the values
velocity - Variable in class it.unimi.di.prog2.s18.Planet
The velocity of this planet.
velocity() - Method in class it.unimi.di.prog2.s18.CelestialBody
Returns the velocity of this celestial body.
velocity() - Method in class it.unimi.di.prog2.s18.Planet
 
velocity() - Method in class it.unimi.di.prog2.s18.Star
 
visit(T, Consumer<? super T>, Supplier<? extends Queue<T>>) - Method in interface it.unimi.di.prog2.h24.digraph.DiGraph
Performs a visit on the graph.

X

x - Variable in record class it.unimi.di.prog2.s18.Point
The field for the x record component.
x() - Method in record class it.unimi.di.prog2.s18.Point
Returns the value of the x record component.

Y

y - Variable in record class it.unimi.di.prog2.s18.Point
The field for the y record component.
y() - Method in record class it.unimi.di.prog2.s18.Point
Returns the value of the y record component.

Z

z - Variable in record class it.unimi.di.prog2.s18.Point
The field for the z record component.
z() - Method in record class it.unimi.di.prog2.s18.Point
Returns the value of the z record component.
ZERO - Static variable in record class it.unimi.di.prog2.s18.Point
The point corresponding to the origin.
A B C D E F G H I J K L M N O P Q R S T U V X Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form