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

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: API
    • Labels:
      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

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

              Dates

              • Created:
                Updated: