Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for computeToString (0.11 sec)

  1. guava/src/com/google/common/net/MediaType.java

        // racy single-check idiom, safe because String is immutable
        String result = toString;
        if (result == null) {
          result = computeToString();
          toString = result;
        }
        return result;
      }
    
      private String computeToString() {
        StringBuilder builder = new StringBuilder().append(type).append('/').append(subtype);
        if (!parameters.isEmpty()) {
          builder.append("; ");
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Sep 26 19:15:09 UTC 2024
    - 47.5K bytes
    - Viewed (0)
Back to top