Class XCldrStub.Multimaps

  • Enclosing class:
    XCldrStub

    public static class XCldrStub.Multimaps
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Multimaps()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <K,​V>
      java.util.Map<K,​V>
      forMap​(java.util.Map<K,​V> map)
      Warning, not functionally the same as Guava; only for use in invertFrom.
      static <K,​V,​R extends XCldrStub.Multimap<K,​V>>
      R
      invertFrom​(XCldrStub.Multimap<V,​K> source, R target)  
      static <K,​V,​R extends XCldrStub.Multimap<K,​V>>
      R
      invertFrom​(java.util.Map<V,​K> source, R target)  
      • Methods inherited from class java.lang.Object

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

      • Multimaps

        public Multimaps()
    • Method Detail

      • invertFrom

        public static <K,​V,​R extends XCldrStub.Multimap<K,​V>> R invertFrom​(java.util.Map<V,​K> source,
                                                                                             R target)
      • forMap

        public static <K,​V> java.util.Map<K,​V> forMap​(java.util.Map<K,​V> map)
        Warning, not functionally the same as Guava; only for use in invertFrom.