- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 89 for isSynchronized (0.07 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/TransferListenerAdapter.java
ArtifactTransferEvent event = wrap(transferEvent); Long transferred; synchronized (transfers) { transferred = transfers.remove(transferEvent.getResource()); } if (transferred != null) { event.setTransferredBytes(transferred); } synchronized (artifacts) { artifacts.remove(transferEvent.getResource()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
} @Override public synchronized void insert(final KuromojiItem item) { try (KuromojiUpdater updater = new KuromojiUpdater(item)) { reload(updater); } } @Override public synchronized void update(final KuromojiItem item) { try (KuromojiUpdater updater = new KuromojiUpdater(item)) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.7K bytes - Viewed (0)