public abstract class NumberRange<N extends Number & Comparable<N>> extends Object implements Picker.Range<N>
| Constructor and Description |
|---|
NumberRange(N min,
N max,
N step,
int startPosition,
org.solovyev.common.text.Formatter<N> formatter) |
| Modifier and Type | Method and Description |
|---|---|
int |
getCount() |
protected abstract int |
getCount(N min,
N max,
N step) |
int |
getStartPosition() |
String |
getStringValueAt(int position) |
N |
getValueAt(int position) |
protected abstract N |
getValueAt(int position,
N min,
N max,
N step) |
public int getStartPosition()
getStartPosition in interface Picker.Range<N extends Number & Comparable<N>>public int getCount()
getCount in interface Picker.Range<N extends Number & Comparable<N>>@Nonnull public String getStringValueAt(int position)
getStringValueAt in interface Picker.Range<N extends Number & Comparable<N>>@Nonnull public N getValueAt(int position)
getValueAt in interface Picker.Range<N extends Number & Comparable<N>>Copyright © 2014 se.solovyev. All Rights Reserved.