- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 79 for getHash (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
} @Override public E getFirst() { assertTrue(Thread.holdsLock(mutex)); return delegate.getFirst(); } @Override public E getLast() { assertTrue(Thread.holdsLock(mutex)); return delegate.getLast(); } @Override public @Nullable E peekFirst() { assertTrue(Thread.holdsLock(mutex)); return delegate.peekFirst(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
* @throws Exception */ @Test public void testGetLast() throws Exception { try { list.getLast(); fail(); } catch (final NoSuchElementException ex) { System.out.println(ex); } list.addLast("1"); assertThat(list.getLast(), is("1")); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingDeque.java
} @Override @ParametricNullness public E getFirst() { return delegate().getFirst(); } @Override @ParametricNullness public E getLast() { return delegate().getLast(); } @CanIgnoreReturnValue // TODO(cpovirk): Consider removing this? @Override public boolean offerFirst(@ParametricNullness E e) { return delegate().offerFirst(e); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
} /** * @throws Exception */ @Test public void testReadUTF8() throws Exception { assertThat(FileUtil.readUTF8(getPath("hoge_utf8.txt")), is("あ")); } private String getPath(final String fileName) { return getClass().getName().replace('.', '/').replaceFirst(getClass().getSimpleName(), fileName); }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
private static class BadLengthFile extends File { private final long badLength; BadLengthFile(File delegate, long badLength) { super(delegate.getPath()); this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 22.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
form.dictId = dictId; }); }).renderWith(data -> { stopwordsService.getStopwordsFile(dictId).ifPresent(file -> { RenderDataUtil.register(data, "path", file.getPath()); }).orElse(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadStopwordsFile(GLOBAL), this::asDictIndexHtml); }); }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 20.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryManager.java
throw new DictionaryException("Failed to update " + dictFile.getPath()); } } catch (final IOException e) { throw new DictionaryException("Failed to update " + dictFile.getPath(), e); } }).orElse(() -> { throw new DictionaryException(dictFile.getPath() + " does not exist."); }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals("c", Iterables.getLast(list)); } public void testGetLast_emptyList() { List<String> list = emptyList(); assertThrows(NoSuchElementException.class, () -> Iterables.getLast(list)); } public void testGetLast_sortedSet() { SortedSet<String> sortedSet = ImmutableSortedSet.of("b", "c", "a"); assertEquals("c", Iterables.getLast(sortedSet)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterables.java
* consider using {@code collection.getLast()} instead. * * @return the last element of {@code iterable} * @throws NoSuchElementException if the iterable is empty */ @ParametricNullness public static <T extends @Nullable Object> T getLast(Iterable<T> iterable) { // TODO(kevinb): Support a concurrently modified collection?
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 43.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/mapping/AdminDictMappingAction.java
form.dictId = dictId; }); }).renderWith(data -> { charMappingService.getCharMappingFile(dictId).ifPresent(file -> { RenderDataUtil.register(data, "path", file.getPath()); }).orElse(() -> { throwValidationError(messages -> messages.addErrorsFailedToDownloadMappingFile(GLOBAL), this::asDictIndexHtml); }); }); } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 22.3K bytes - Viewed (0)