giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reudismam Rolim de Sousa (JIRA)" <>
Subject [jira] [Created] (GIRAPH-1208) Use the diamond operator <>.
Date Sat, 20 Oct 2018 20:18:00 GMT
Reudismam Rolim de Sousa created GIRAPH-1208:

             Summary: Use the diamond operator <>.
                 Key: GIRAPH-1208
             Project: Giraph
          Issue Type: Improvement
            Reporter: Reudismam Rolim de Sousa

Since Java 7, programmers can replace type parameters to invoke the constructor of a generic
class with an empty set (<>), diamond operator and allow inference of type parameters
by the context.  The benefit of the diamond operator is clarity since it is more concise.

This message was sent by Atlassian JIRA

View raw message