- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 40 for getHash (0.16 sec)
-
guava/src/com/google/common/collect/ImmutableRangeSet.java
private final boolean positiveBoundedAbove; private final int size; ComplementRanges() { this.positiveBoundedBelow = ranges.get(0).hasLowerBound(); this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound(); int size = ranges.size() - 1; if (positiveBoundedBelow) { size++; } if (positiveBoundedAbove) { size++; }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeSet.java
private final boolean positiveBoundedAbove; private final int size; ComplementRanges() { this.positiveBoundedBelow = ranges.get(0).hasLowerBound(); this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound(); int size = ranges.size() - 1; if (positiveBoundedBelow) { size++; } if (positiveBoundedAbove) { size++; }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed May 01 18:44:57 GMT 2024 - 27.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
.build()); Files.createDirectories(fs.getPath("dir/b/i/j/l")); Files.createFile(fs.getPath("dir/a")); Files.createFile(fs.getPath("dir/c")); Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i")); Files.createDirectory(fs.getPath("dir/e")); Files.createSymbolicLink(fs.getPath("dir/f"), fs.getPath("/dontdelete")); Files.createFile(fs.getPath("dir/b/g"));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals("c", Iterables.getLast(sortedSet)); } public void testGetLast_withDefault_singleton() { Iterable<String> iterable = Collections.singletonList("foo"); assertEquals("foo", Iterables.getLast(iterable, "bar")); } public void testGetLast_withDefault_empty() { Iterable<String> iterable = Collections.emptyList(); assertEquals("bar", Iterables.getLast(iterable, "bar")); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 47.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
private static class BadLengthFile extends File { private final long badLength; public BadLengthFile(File delegate, long badLength) { super(delegate.getPath()); this.badLength = badLength; } @Override public long length() { return badLength; } private static final long serialVersionUID = 0; }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java
*/ public class MoreFilesFileTraverserTest extends TestCase { private Path rootDir; @Override public void setUp() throws IOException { rootDir = Jimfs.newFileSystem(Configuration.unix()).getPath("/tmp"); Files.createDirectory(rootDir); } @Override public void tearDown() throws IOException { rootDir.getFileSystem().close(); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 09 19:30:52 GMT 2018 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
assertEquals("c", Iterables.getLast(sortedSet)); } public void testGetLast_withDefault_singleton() { Iterable<String> iterable = Collections.singletonList("foo"); assertEquals("foo", Iterables.getLast(iterable, "bar")); } public void testGetLast_withDefault_empty() { Iterable<String> iterable = Collections.emptyList(); assertEquals("bar", Iterables.getLast(iterable, "bar")); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 46K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
public void testGetLast_basic() { List<String> list = newArrayList(); list.add("a"); list.add("b"); assertEquals("b", getLast(list.iterator())); } public void testGetLast_exception() { List<String> list = newArrayList(); try { getLast(list.iterator()); fail(); } catch (NoSuchElementException expected) { } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 18:43:01 GMT 2024 - 56.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull(); assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 26 14:02:27 GMT 2024 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar"); assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar")); assertThat(urls.get(2).getProtocol()).isEqualTo("file"); assertThat(urls.get(2).getAuthority()).isNull(); assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Jul 10 17:06:37 GMT 2023 - 27.7K bytes - Viewed (0)