Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 222 for Representation (0.15 sec)

  1. android/guava/src/com/google/common/base/Converter.java

      Converter(boolean handleNullAutomatically) {
        this.handleNullAutomatically = handleNullAutomatically;
      }
    
      // SPI methods (what subclasses must implement)
    
      /**
       * Returns a representation of {@code a} as an instance of type {@code B}. If {@code a} cannot be
       * converted, an unchecked exception (such as {@link IllegalArgumentException}) should be thrown.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Multiset.java

         * }</pre>
         */
        @Override
        int hashCode();
    
        /**
         * Returns the canonical string representation of this entry, defined as follows. If the count
         * for this entry is one, this is simply the string representation of the corresponding element.
         * Otherwise, it is the string representation of the element, followed by the three characters
         * {@code " x "} (space, letter x, space), followed by the count.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                }
            }
    
            return new VersionRange(recommendedVersion, copiedRestrictions);
        }
    
        /**
         * <p>
         * Create a version range from a string representation
         * </p>
         * Some spec examples are:
         * <ul>
         * <li><code>1.0</code> Version 1.0 as a recommended version</li>
         * <li><code>[1.0]</code> Version 1.0 explicitly only</li>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/filter.go

    	And    And
    	andSet bool
    
    	Tag    Tag
    	tagSet bool
    
    	// Caching tags, only once
    	cachedTags map[string]string
    }
    
    // MarshalXML - produces the xml representation of the Filter struct
    // only one of Prefix, And and Tag should be present in the output.
    func (f Filter) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
    	if !f.set {
    		return nil
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/EqualsTester.java

              item.hashCode(),
              item.hashCode());
          if (!(item instanceof String)) {
            assertTrue(
                item + " must not be Object#equals to its Object#toString representation",
                !item.equals(item.toString()));
          }
        }
      }
    
      /**
       * Class used to test whether equals() correctly handles an instance of an incompatible class.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 31 19:11:50 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

            .isNotEqualTo(HASH_FN.hashUnencodedChars(stringB));
        assertThat(fingerprint(stringA.getBytes(UTF_8)))
            .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8)));
    
        // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters
        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Equivalence.java

        @Override
        public int hashCode() {
          return equivalence.hash(reference);
        }
    
        /**
         * Returns a string representation for this equivalence wrapper. The form of this string
         * representation is not specified.
         */
        @Override
        public String toString() {
          return equivalence + ".wrap(" + reference + ")";
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Chars.java

            result == (int) result,
            "the total number of elements (%s) in the arrays must fit in an int",
            result);
        return (int) result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 2-element byte array; equivalent to
       * {@code ByteBuffer.allocate(2).putChar(value).array()}. For example, the input value {@code
       * '\\u5432'} would yield the byte array {@code {0x54, 0x32}}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 27 16:47:48 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  9. cmd/httprange.go

    	default:
    		// rangeString contains first and last byte positions missing. eg. "bytes=-"
    		return nil, fmt.Errorf("'%s' does not have valid range value", rangeString)
    	}
    }
    
    // String returns stringified representation of range for a particular resource size.
    func (h *HTTPRangeSpec) String(resourceSize int64) string {
    	if h == nil {
    		return ""
    	}
    	off, length, err := h.GetOffsetLength(resourceSize)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

                AssertionFailedError.class,
                () ->
                    new EqualsTester().addEqualityGroup(new EqualsBasedOnToString("foo")).testEquals());
        assertThat(e).hasMessageThat().contains("toString representation");
      }
    
      private static void assertErrorMessage(Throwable e, String message) {
        // TODO(kevinb): use a Truth assertion here
        if (!e.getMessage().contains(message)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top