@@ -615,4 +615,57 @@ protected String createKey() {
615
615
}
616
616
}
617
617
618
+ /**
619
+ * Estimates are not supported in HierarchicalDataCommunicator
620
+ */
621
+ @ Override
622
+ public void setItemCountEstimate (int itemCountEstimate ) {
623
+ throw new UnsupportedOperationException (
624
+ "Not supported in HierarchicalDataCommunicator" );
625
+ }
626
+
627
+ /**
628
+ * Estimates are not supported in HierarchicalDataCommunicator
629
+ */
630
+ @ Override
631
+ public int getItemCountEstimate () {
632
+ throw new UnsupportedOperationException (
633
+ "Not supported in HierarchicalDataCommunicator" );
634
+ }
635
+
636
+ /**
637
+ * Estimates are not supported in HierarchicalDataCommunicator
638
+ */
639
+ @ Override
640
+ public void setItemCountEstimateIncrease (int itemCountEstimateIncrease ) {
641
+ throw new UnsupportedOperationException (
642
+ "Not supported in HierarchicalDataCommunicator" );
643
+ }
644
+
645
+ /**
646
+ * Estimates are not supported in HierarchicalDataCommunicator
647
+ */
648
+ @ Override
649
+ public int getItemCountEstimateIncrease () {
650
+ throw new UnsupportedOperationException (
651
+ "Not supported in HierarchicalDataCommunicator" );
652
+ }
653
+
654
+ /**
655
+ * Estimates are not supported in HierarchicalDataCommunicator
656
+ */
657
+ @ Override
658
+ public void setDefinedSize (boolean definedSize ) {
659
+ throw new UnsupportedOperationException (
660
+ "Not supported in HierarchicalDataCommunicator" );
661
+ }
662
+
663
+ /**
664
+ * Estimates are not supported in HierarchicalDataCommunicator. Therefore
665
+ * this method will always return {@literal true}
666
+ */
667
+ @ Override
668
+ public boolean isDefinedSize () {
669
+ return true ;
670
+ }
618
671
}
0 commit comments