@Test public void getTierViewsBelow() { for (StorageTier tier : mMetaManager.getTiers()) { String tierAlias = tier.getTierAlias(); assertEquals(mMetaManager.getTiersBelow(tierAlias).size(), mMetadataView.getTierViewsBelow(tierAlias).size()); } }
public List<StorageTierView> getTierViewsBelow(String tierAlias) { int ordinal = getTierView(tierAlias).getTierViewOrdinal(); return mTierViews.subList(ordinal + 1, mTierViews.size()); }
BlockMetadataView { public List<StorageTierView> getTierViewsBelow(String tierAlias) { int ordinal = getTierView(tierAlias).getTierViewOrdinal(); return mTierViews.subList(ordinal + 1, mTierViews.size()); } }
BlockMetadataView { public List<StorageTierView> getTierViewsBelow(String tierAlias) { int ordinal = getTierView(tierAlias).getTierViewOrdinal(); return mTierViews.subList(ordinal + 1, mTierViews.size()); } BlockMetadataView(BlockMetadataManager manager);  BlockMetadataView(BlockMetadataManager manager, boolean useReservedSpace); }
BlockMetadataView { public List<StorageTierView> getTierViewsBelow(String tierAlias) { int ordinal = getTierView(tierAlias).getTierViewOrdinal(); return mTierViews.subList(ordinal + 1, mTierViews.size()); } BlockMetadataView(BlockMetadataManager manager);  BlockMetadataView(BlockMetadataManager manager, boolean useReservedSpace); StorageTierView getTierView(String tierAlias); List<StorageTierView> getTierViews(); @Nullable StorageTierView getNextTier(StorageTierView tierView); List<StorageTierView> getTierViewsBelow(String tierAlias); BlockMetadataView refreshView(); }
BlockMetadataView { public List<StorageTierView> getTierViewsBelow(String tierAlias) { int ordinal = getTierView(tierAlias).getTierViewOrdinal(); return mTierViews.subList(ordinal + 1, mTierViews.size()); } BlockMetadataView(BlockMetadataManager manager);  BlockMetadataView(BlockMetadataManager manager, boolean useReservedSpace); StorageTierView getTierView(String tierAlias); List<StorageTierView> getTierViews(); @Nullable StorageTierView getNextTier(StorageTierView tierView); List<StorageTierView> getTierViewsBelow(String tierAlias); BlockMetadataView refreshView();  }