Package ch.nolix.core.container.matrix
Klasse GapMatrix<E>
java.lang.Object
ch.nolix.core.container.base.Container<E>
ch.nolix.core.container.matrix.GapMatrix<E>
- Alle implementierten Schnittstellen:
IContainer<E>
,IMappableContainer<E>
,ISearchableContainer<E>
,IStatisticalConainer<E>
,IterableWithCopyableIterator<E>
,StoringRequestable<E>
,Clearable
,EmptinessRequestable
,MaterializationRequestable
,Iterable<E>
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
void
addRow()
void
clear()
Removes the elements of the currentClearable
.boolean
containsAt1BasedRowIndexAndColumnIndex
(int p1BasedRowIndex, int p1BasedColumnIndex) boolean
containsCellAt1BasedRowIndexAndColumnIndex
(int p1BasedRowIndex, int p1BasedColumnIndex) protected <E2> ILinkedList
<E2> createEmptyMutableList
(Marker<E2> marker) int
int
getColumnIndexOf
(int index) int
getCount()
int
int
getRowIndexOf
(int index) int
getSize()
getStoredAt1BasedIndex
(int p1BasedIndex) getStoredAt1BasedRowIndexAndColumnIndex
(int p1BasedRowIndex, int p1BasedColumnIndex) boolean
iterator()
void
setAt1BasedRowIndexAndColumnIndex
(int p1BasedRowIndex, int p1BasedColumnIndex, E element) <C extends Comparable<C>>
IContainer<E> toOrderedList
(Function<E, C> norm) toString()
Von Klasse geerbte Methoden ch.nolix.core.container.base.Container
contains, containsAll, containsAll, containsAny, containsAny, containsAny, containsAnyOf, containsAsManyAs, containsEqualing, containsExactlyInSameOrder, containsLessThan, containsMoreThan, containsNone, containsNone, containsNoneOf, containsOnce, containsOne, containsOne, containsOneEqualing, containsOnly, containsOnlyEqualingAndViceVersa, from1BasedStartIndex, from1BasedStartIndexUntil1BasedEndIndex, get1BasedIndexOfFirst, get1BasedIndexOfFirstEqualElement, get1BasedIndexOfFirstOccuranceOf, getAverage, getAverageOrZero, getCount, getCount, getMax, getMaxOrZero, getMedian, getMedianOrZero, getMin, getMinOrZero, getOptionalStoredFirst, getOptionalStoredFirst, getStandardDeviation, getStoredAny, getStoredByMax, getStoredByMin, getStoredFirst, getStoredFirst, getStoredGroups, getStoredOfType, getStoredOne, getStoredOne, getStoredOther, getStoredSelected, getSum, getSumOfIntegers, getVariance, isEmpty, to, toArray, toByteArray, toCharArray, toConcatenatedString, toDoubleArray, toFromGroups, toIntArray, toLongArray, toReversedList, toStringArray, toStrings, toStringWithSeparator, toStringWithSeparator, until1BasedIndex, withoutFirst, withoutFirst, withoutLast, withoutLast
Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.EmptinessRequestable
containsAny, isEmpty
Von Schnittstelle geerbte Methoden java.lang.Iterable
forEach, spliterator
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.staterequestapi.MaterializationRequestable
isView
-
Konstruktordetails
-
GapMatrix
public GapMatrix() -
GapMatrix
public GapMatrix(int rowCount, int columnCount)
-
-
Methodendetails
-
addColumn
public void addColumn() -
addRow
public void addRow() -
clear
public void clear()Beschreibung aus Schnittstelle kopiert:Clearable
Removes the elements of the currentClearable
. -
containsAt1BasedRowIndexAndColumnIndex
public boolean containsAt1BasedRowIndexAndColumnIndex(int p1BasedRowIndex, int p1BasedColumnIndex) -
containsCellAt1BasedRowIndexAndColumnIndex
public boolean containsCellAt1BasedRowIndexAndColumnIndex(int p1BasedRowIndex, int p1BasedColumnIndex) -
getColumnCount
public int getColumnCount() -
getColumnIndexOf
public int getColumnIndexOf(int index) -
getCount
public int getCount()- Angegeben von:
getCount
in SchnittstelleIStatisticalConainer<E>
- Gibt zurück:
- the number of elements of the current
IStatisticalConainer
.
-
getStoredAt1BasedIndex
- Angegeben von:
getStoredAt1BasedIndex
in SchnittstelleISearchableContainer<E>
- Parameter:
p1BasedIndex
-- Gibt zurück:
- the element at the given p1BasedIndex.
-
getStoredAt1BasedRowIndexAndColumnIndex
-
getStoredLast
- Angegeben von:
getStoredLast
in SchnittstelleISearchableContainer<E>
- Gibt zurück:
- the last element of the current
ISearchableContainer
.
-
getRowCount
public int getRowCount() -
getRowIndexOf
public int getRowIndexOf(int index) -
getSize
public int getSize() -
setAt1BasedRowIndexAndColumnIndex
public void setAt1BasedRowIndexAndColumnIndex(int p1BasedRowIndex, int p1BasedColumnIndex, E element) -
isMaterialized
public boolean isMaterialized()- Angegeben von:
isMaterialized
in SchnittstelleMaterializationRequestable
- Gibt zurück:
- true if the current
MaterializationRequestable
is materialized, false otherwise.
-
iterator
Beschreibung aus Schnittstelle kopiert:IterableWithCopyableIterator
-
toOrderedList
- Angegeben von:
toOrderedList
in SchnittstelleIContainer<E>
- Typparameter:
C
- is the type of theComparable
s the given norm returns.- Parameter:
norm
-- Gibt zurück:
- a new
IContainer
with the elements of the currentIContainer
ordered from the smallest to the biggest element according to the given norm.
-
toString
-
createEmptyMutableList
- Angegeben von:
createEmptyMutableList
in KlasseContainer<E>
- Typparameter:
E2
- is the type of the elements the createdILinkedList
can contain.- Parameter:
marker
-- Gibt zurück:
- a new empty
ILinkedList
.
-