Class Util

    • Field Detail

      • NL

        public static final String NL
    • Constructor Detail

      • Util

        public Util()
    • Method Detail

      • getSingle

        public static final <T> T getSingle​(Iterable<T> it)
        Returns a single item from the Iterator. If there's none, returns null. If there are more, throws an IllegalStateException.
        Throws:
        IllegalStateException