public class ConstantRandomAccessible<T> extends Object implements RandomAccessible<T>
RandomAccessible
that has a given constant value everywhere.Modifier and Type | Class and Description |
---|---|
protected class |
ConstantRandomAccessible.ConstantRandomAccess |
Constructor and Description |
---|
ConstantRandomAccessible(T constant,
int nDimensions) |
Modifier and Type | Method and Description |
---|---|
int |
numDimensions() |
RandomAccess<T> |
randomAccess() |
RandomAccess<T> |
randomAccess(Interval interval) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAt, getAt, getAt
public ConstantRandomAccessible(T constant, int nDimensions)
public int numDimensions()
numDimensions
in interface EuclideanSpace
public RandomAccess<T> randomAccess()
randomAccess
in interface RandomAccessible<T>
public RandomAccess<T> randomAccess(Interval interval)
randomAccess
in interface RandomAccessible<T>
Copyright © 2015–2021 Fiji. All rights reserved.