Class SmallSortedMap.EmptySet

java.lang.Object
com.google.protobuf.SmallSortedMap.EmptySet
Enclosing class:
SmallSortedMap<K extends Comparable<K>,V>

private static class SmallSortedMap.EmptySet extends Object
Helper class that holds immutable instances of an Iterable/Iterator that we return when the overflow entries is empty. This eliminates the creation of an Iterator object when there is nothing to iterate over.
  • Field Details

  • Constructor Details

    • EmptySet

      private EmptySet()
  • Method Details

    • iterable

      static <T> Iterable<T> iterable()