@Test public void testGetLevel() { assertThat(EMPTY.getLevel()).isEqualTo(0); assertThat(SECTOR_REGION.getLevel()).isEqualTo(0); assertThat(INDUSTRY.getLevel()).isEqualTo(1); }
@NonNegative public int getLevel() { return dimensionsValues.length; }
CubeId { @NonNegative public int getLevel() { return dimensionsValues.length; } }
CubeId { @NonNegative public int getLevel() { return dimensionsValues.length; } private  CubeId(@NonNull String[] dimensionIds, @NonNull String[] dimensionsValues); }
CubeId { @NonNegative public int getLevel() { return dimensionsValues.length; } private  CubeId(@NonNull String[] dimensionIds, @NonNull String[] dimensionsValues); @NonNull static CubeId root(@NonNull String... dimensionIds); @NonNull static CubeId root(@NonNull List<String> dimensionIds); @NonNegative int getLevel(); @NonNegative int getMaxLevel(); @NonNull String getDimensionValue(@NonNegative int index); @NonNull Stream<String> getDimensionValueStream(); @NonNull String getDimensionId(@NonNegative int index); @NonNegative int getDepth(); boolean isRoot(); boolean isSeries(); boolean isVoid(); @NonNull CubeId child(@NonNull String... dimensionValues); boolean isAncestorOf(@NonNull CubeId input); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode(); }
CubeId { @NonNegative public int getLevel() { return dimensionsValues.length; } private  CubeId(@NonNull String[] dimensionIds, @NonNull String[] dimensionsValues); @NonNull static CubeId root(@NonNull String... dimensionIds); @NonNull static CubeId root(@NonNull List<String> dimensionIds); @NonNegative int getLevel(); @NonNegative int getMaxLevel(); @NonNull String getDimensionValue(@NonNegative int index); @NonNull Stream<String> getDimensionValueStream(); @NonNull String getDimensionId(@NonNegative int index); @NonNegative int getDepth(); boolean isRoot(); boolean isSeries(); boolean isVoid(); @NonNull CubeId child(@NonNull String... dimensionValues); boolean isAncestorOf(@NonNull CubeId input); @Override String toString(); @Override boolean equals(Object obj); @Override int hashCode();  }