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

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            britter Benedikt Ritter

            Dates

              Created:
              Updated:

              Slack

                Issue deployment