Package com.google.protobuf
Class SmallSortedMap.EmptySet
- java.lang.Object
-
- com.google.protobuf.SmallSortedMap.EmptySet
-
- Enclosing class:
- SmallSortedMap<K extends java.lang.Comparable<K>,V>
private static class SmallSortedMap.EmptySet extends java.lang.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.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
EmptySet()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static <T> java.lang.Iterable<T>
iterable()
-