Package 

Class UtilsKt

    • Method Summary

      Modifier and Type Method Description
      final static <ERROR CLASS> validateConfigurablePathSegmentReplacements(List<BaseRegistry> registries, Map<String, String> configurablePathSegmentReplacements) Ensure that every key-to-be-replaced declared by all registries have a corresponding key in the user's injected mapping of configurablePathSegmentReplacements.
      final static Bundle filter(Bundle $self, Function2<String, Object, Boolean> predicate) Returns a shallow copy of this Bundle that is missing the items for which the predicate returned false
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • validateConfigurablePathSegmentReplacements

         final static <ERROR CLASS> validateConfigurablePathSegmentReplacements(List<BaseRegistry> registries, Map<String, String> configurablePathSegmentReplacements)

        Ensure that every key-to-be-replaced declared by all registries have a corresponding key in the user's injected mapping of configurablePathSegmentReplacements. If not, throw an exception and tell the user which keys aren't present.

      • filter

         final static Bundle filter(Bundle $self, Function2<String, Object, Boolean> predicate)

        Returns a shallow copy of this Bundle that is missing the items for which the predicate returned false