Class EmptyDataSource

  • All Implemented Interfaces:
    DataSource

    public final class EmptyDataSource
    extends Object
    implements DataSource
    A datasource that has no data.
    • Method Detail

      • instance

        @Nonnull
        public static DataSource instance()
        Returns the singleton instance.
        Returns:
        the singleton instance
      • getGuessTotal

        public Long getGuessTotal()
        Description copied from interface: DataSource
        Returns the total count or the total as far as it is known. It returns null by default.
        Specified by:
        getGuessTotal in interface DataSource
        Returns:
        The total count, or null if it is not known.