Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for isSynchronized (0.13 sec)

  1. guava/src/com/google/common/reflect/Invokable.java

      /** Returns true if the element is native. */
      public final boolean isNative() {
        return Modifier.isNative(getModifiers());
      }
    
      /** Returns true if the method is synchronized. */
      public final boolean isSynchronized() {
        return Modifier.isSynchronized(getModifiers());
      }
    
      /** Returns true if the field is volatile. */
      final boolean isVolatile() {
        return Modifier.isVolatile(getModifiers());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(invokable.isPackagePrivate());
      }
    
      public void testSynchronizedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("synchronizedMethod");
        assertTrue(invokable.isSynchronized());
      }
    
      public void testUnannotatedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("notAnnotatedMethod");
        assertFalse(invokable.isAnnotationPresent(Tested.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/InvokableTest.java

        assertTrue(invokable.isPackagePrivate());
      }
    
      public void testSynchronizedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("synchronizedMethod");
        assertTrue(invokable.isSynchronized());
      }
    
      public void testUnannotatedMethod() throws Exception {
        Invokable<?, Object> invokable = A.method("notAnnotatedMethod");
        assertFalse(invokable.isAnnotationPresent(Tested.class));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return delegate().listIterator(index); // manually synchronized
        }
    
        @Override
        public E remove(int index) {
          synchronized (mutex) {
            return delegate().remove(index);
          }
        }
    
        @Override
        public E set(int index, E element) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public ListIterator<E> listIterator(int index) {
          return delegate().listIterator(index); // manually synchronized
        }
    
        @Override
        public E remove(int index) {
          synchronized (mutex) {
            return delegate().remove(index);
          }
        }
    
        @Override
        public E set(int index, E element) {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.jar

    META-INF/MANIFEST.MF Manifest-Version: 1.0 Implementation-Title: Gradle Wrapper org/gradle/cli/CommandLineArgumentE.class package org.gradle.cli; public final synchronized class CommandLineArgumentE extends RuntimeException { public void CommandLineArgumentE(String); } org/gradle/cli/CommandLineOption.class package org.gradle.cli; public final synchronized class CommandLineOption { public final java.util.HashSet options; public Class argumentType; public String description; public final java.util.HashSet...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 24 09:00:26 UTC 2023
    - 42.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/CharSequenceReader.java

       *   mutation, which is not an actual risk because we use `synchronized`.
       * - Make `remaining` require a non-null `seq` argument. But this is a bit weird because the
       *   method, while it would avoid the instance field `seq` would still access the instance field
       *   `pos`.
       */
    
      @Override
      public synchronized int read(CharBuffer target) throws IOException {
        checkNotNull(target);
        checkOpen();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/CharSequenceReader.java

       *   mutation, which is not an actual risk because we use `synchronized`.
       * - Make `remaining` require a non-null `seq` argument. But this is a bit weird because the
       *   method, while it would avoid the instance field `seq` would still access the instance field
       *   `pos`.
       */
    
      @Override
      public synchronized int read(CharBuffer target) throws IOException {
        checkNotNull(target);
        checkOpen();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/MemoryDataHelper.java

            uqList.addAll(urlQueueList);
            urlQueueMap.put(sessionId, uqList);
        }
    
        public synchronized void removeUrlQueueList(final String sessionId) {
            urlQueueMap.remove(sessionId);
        }
    
        public synchronized void clearUrlQueueList() {
            urlQueueMap.clear();
        }
    
        public synchronized Map<String, AccessResultImpl<Long>> getAccessResultMap(final String sessionId) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Queues.java

       *
       * @param queue the queue to be wrapped in a synchronized view
       * @return a synchronized view of the specified queue
       * @since 14.0
       */
      @J2ktIncompatible // Synchronized
      public static <E extends @Nullable Object> Queue<E> synchronizedQueue(Queue<E> queue) {
        return Synchronized.queue(queue, null);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top