N
- specifies the indexing class for the axispublic class AxisItem<N extends java.lang.Number>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <N2 extends java.lang.Number> |
create(Section<N2> section,
N2 index)
Creates a new instance of axis item.
|
static <N2 extends java.lang.Number> |
createUnchecked(Section<N2> section,
N2 index)
Creates a new instance of cell without checking arguments validity.
|
boolean |
equals(java.lang.Object obj) |
N |
getIndex()
Return index of this axis item.
|
Section<N> |
getSection()
Returns section of this axis item.
|
int |
hashCode() |
java.lang.String |
toString() |
public static <N2 extends java.lang.Number> AxisItem<N2> create(Section<N2> section, N2 index)
section
- section of an axisindex
- item index in the sectionjava.lang.IllegalArgumentException
- if section or index is nulljava.lang.IndexOutOfBoundsException
- if index is out of 0 ...
#getMutableCount()
boundspublic static <N2 extends java.lang.Number> AxisItem<N2> createUnchecked(Section<N2> section, N2 index)
section
- section of an axisindex
- item index in the sectionpublic Section<N> getSection()
public N getIndex()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2011 netanel.pl. All Rights Reserved.