Uploaded image for project: 'Commons Chain'
  1. Commons Chain
  2. CHAIN-102

Create a util class for Contexts that provides methods like java.util.Collections provides for collections

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0
    • 2.0
    • API
    • None

    Description

      Would be nice to have a util class that provides methods like the following:

      Context<K, V> synchronized(Context<K, V> context);
      
      Context<K, V> empty();
      
      Context<K, V> unmodifiable(Context<K, V> context);
      
      Context<K, V> singleton(K key, V value);
      
      Context<K, Object> wrap(T bean); 
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            britter Benedikt Ritter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: