Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 205 for objs (1.49 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Platform.java

      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Platform.java

      static <T> T[] clone(T[] array) {
        return array.clone();
      }
    
      // Class.cast is not supported in GWT.  This method is a no-op in GWT.
      static void checkCast(Class<?> clazz, Object obj) {
        Object unused = clazz.cast(obj);
      }
    
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      private Platform() {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 04 01:39:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/IncidentEdgeSet.java

        } else {
          return graph.adjacentNodes(node).size();
        }
      }
    
      @Override
      public boolean contains(@Nullable Object obj) {
        if (!(obj instanceof EndpointPair)) {
          return false;
        }
        EndpointPair<?> endpointPair = (EndpointPair<?>) obj;
    
        if (graph.isDirected()) {
          if (!endpointPair.isOrdered()) {
            return false;
          }
    
          Object source = endpointPair.source();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/pac/ASN1UtilTest.java

            String expected = "test string";
            Object obj = expected;
            String result = ASN1Util.as(String.class, obj);
            assertSame(expected, result);
        }
    
        @Test
        void testAs_Object_Failure() {
            // Test failed casting
            Object obj = 123; // Integer
            assertThrows(PACDecodingException.class, () -> {
                ASN1Util.as(String.class, obj);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/UniAddress.java

         */
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof UniAddress && addr.equals(((UniAddress) obj).addr);
        }
        /*
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
        }
        */
    
        /**
         * Guess first called name to try for session establishment. This
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         * @param array
         *            the array
         * @param obj
         *            the object to search for
         * @return the index of the first occurrence of the object in the array
         */
        public static <T> int indexOf(final T[] array, final T obj) {
            return indexOf(array, obj, 0);
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableList.java

        // instead of Object[].
        return delegateList().toArray(new Object[size()]);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        return delegateList().equals(obj);
      }
    
      @Override
      public int hashCode() {
        return delegateList().hashCode();
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/DummyProxy.java

        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
            return identity().equals(that.identity());
          } else {
            return false;
          }
        }
    
        private DummyProxy identity() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

            @Override
            public int size() {
              return adjacentNodeValues.size();
            }
    
            @Override
            public boolean contains(@Nullable Object obj) {
              return adjacentNodeValues.containsKey(obj);
            }
          };
        }
      }
    
      @Override
      public Set<N> predecessors() {
        return new AbstractSet<N>() {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/ExtensibleEnums.java

            @Override
            public int hashCode() {
                return id().hashCode();
            }
    
            @Override
            public boolean equals(Object obj) {
                return obj != null && getClass() == obj.getClass() && id().equals(((DefaultExtensibleEnum) obj).id());
            }
    
            @Override
            public String toString() {
                return getClass().getSimpleName() + "[" + id() + "]";
            }
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
Back to top