X
- The value class.public class SparseMatrix<X> extends Object
Constructor and Description |
---|
SparseMatrix() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
X |
get(int i,
int j)
Returns the value stored at the given position or null if no value was
stored there until now.
|
int |
hashCode() |
void |
set(int i,
int j,
X value)
Sets the value at the given position in the matrix.
|
String |
toString() |
public X get(int i, int j)
i
- the row index.j
- the column index.public void set(int i, int j, X value)
i
- the row index.j
- the column index.value
- a value.Copyright (C) 2013-2015 Benjamin Paaßen, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/