E
- public class ElementsPartitionImpl<E extends MatrixElementInterface<E>> extends java.util.ArrayList<ElementsPartImpl<E>> implements ElementsPartitionInterface<ElementsPartImpl<E>,ElementsDescriptorImpl<E>,E>
Modifier and Type | Field and Description |
---|---|
protected java.util.HashMap<java.lang.Integer,ElementsPartImpl<E>> |
excluded |
protected PartitionType |
type |
Constructor and Description |
---|
ElementsPartitionImpl() |
ElementsPartitionImpl(PartitionType type) |
Modifier and Type | Method and Description |
---|---|
void |
clearExclusion() |
int |
countColumns() |
int |
countRows() |
ElementsPartitionImpl<E> |
exclude(int part) |
java.util.HashMap<java.lang.Integer,ElementsPartImpl<E>> |
getExcluded() |
ElementsPartImpl<E> |
getExcluded(int part) |
PartitionType |
getType() |
boolean |
isExcluded(int part) |
void |
setType(PartitionType type) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
protected java.util.HashMap<java.lang.Integer,ElementsPartImpl<E extends MatrixElementInterface<E>>> excluded
protected PartitionType type
public ElementsPartitionImpl()
public ElementsPartitionImpl(PartitionType type)
public PartitionType getType()
getType
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public void setType(PartitionType type)
setType
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public ElementsPartitionImpl<E> exclude(int part)
exclude
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public ElementsPartImpl<E> getExcluded(int part)
getExcluded
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public java.util.HashMap<java.lang.Integer,ElementsPartImpl<E>> getExcluded()
getExcluded
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public boolean isExcluded(int part)
isExcluded
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public void clearExclusion()
clearExclusion
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public int countRows()
countRows
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>
public int countColumns()
countColumns
in interface ElementsPartitionInterface<ElementsPartImpl<E extends MatrixElementInterface<E>>,ElementsDescriptorImpl<E extends MatrixElementInterface<E>>,E extends MatrixElementInterface<E>>