Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1041 - 1050 of 1,961 for isobject (0.04 sec)

  1. android/guava/src/com/google/common/collect/ReverseNaturalOrdering.java

      @Override
      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // right null is caught later
        if (left == right) {
          return 0;
        }
    
        return ((Comparable<Object>) right).compareTo(left);
      }
    
      @Override
      public <S extends Comparable<?>> Ordering<S> reverse() {
        return Ordering.natural();
      }
    
      // Override the min/max methods to "hoist" delegation outside loops
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Supplier.java

     *
     * @author Harry Heymann
     * @since 2.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Supplier<T extends @Nullable Object> {
      /**
       * Retrieves an instance of the appropriate type. The returned object may or may not be a new
       * instance, depending on the implementation.
       *
       * @return an instance of the appropriate type
       */
      @ParametricNullness
      T get();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 15 12:15:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java

         */
        public static BigDecimal toBigDecimal(final Object o) {
            return toBigDecimal(o, null);
        }
    
        /**
         * {@link BigDecimal}に変換します。
         *
         * @param o
         *            変換元のオブジェクト
         * @param pattern
         *            パターン文字列
         * @return 変換された{@link BigDecimal}
         */
        public static BigDecimal toBigDecimal(final Object o, final String pattern) {
            if (o == null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

                return new ForwardingRunnable(runnable) {
    
                  @SuppressWarnings("EqualsHashCode")
                  @Override
                  public boolean equals(@Nullable Object o) {
                    if (o instanceof ForwardingRunnable) {
                      ForwardingRunnable that = (ForwardingRunnable) o;
                      return runnable.equals(that.runnable);
                    }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/TreeBasedTable.java

          return columnComparator();
        }
    
        int compare(Object a, Object b) {
          // pretend we can compare anything
          @SuppressWarnings("unchecked")
          Comparator<Object> cmp = (Comparator<Object>) comparator();
          return cmp.compare(a, b);
        }
    
        boolean rangeContains(@CheckForNull Object o) {
          return o != null
              && (lowerBound == null || compare(lowerBound, o) <= 0)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

       * o.equals(e)}.
       *
       * @param o object to be checked for containment in this queue
       * @return {@code true} if this queue contains the specified element
       */
      @CanIgnoreReturnValue // pushed down from class to method
      @Override
      public boolean contains(@Nullable Object o) {
        final Monitor monitor = this.monitor;
        monitor.enter();
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 07 21:36:32 UTC 2024
    - 19K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/CallablesTest.java

    public class CallablesTest extends TestCase {
    
      @J2ktIncompatible // TODO(b/324550390): Enable
      public void testReturning() throws Exception {
        assertNull(Callables.returning(null).call());
    
        Object value = new Object();
        Callable<Object> callable = Callables.returning(value);
        assertSame(value, callable.call());
        // Expect the same value on subsequent calls
        assertSame(value, callable.call());
      }
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/MessageDigestHashFunction.java

          this.algorithmName = algorithmName;
          this.bytes = bytes;
          this.toString = toString;
        }
    
        private Object readResolve() {
          return new MessageDigestHashFunction(algorithmName, bytes, toString);
        }
    
        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm(prototype.getAlgorithm(), bytes, toString);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 25 20:32:46 UTC 2022
    - 5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreator.java

                }
    
                @Override
                protected OptionalThing<SMailSubjectFilter> createSubjectFilter() {
                    return OptionalThing.of((view, subject) -> subject);
                }
    
                @Override
                protected OptionalThing<SMailAsyncStrategy> createAsyncStrategy() {
                    return OptionalThing.of((view, runnable) -> async(asyncManager, runnable));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/-RequestBodyCommon.kt

    import okio.ByteString
    
    fun ByteArray.commonToRequestBody(
      contentType: MediaType?,
      offset: Int,
      byteCount: Int,
    ): RequestBody {
      checkOffsetAndCount(size.toLong(), offset.toLong(), byteCount.toLong())
      return object : RequestBody() {
        override fun contentType() = contentType
    
        override fun contentLength() = byteCount.toLong()
    
        override fun writeTo(sink: BufferedSink) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top