- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 80 for getElement (0.26 seconds)
-
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
list.addLast("1"); list.addLast("2"); list.addLast("3"); assertThat(list.getEntry(0).getElement(), is("1")); assertThat(list.getEntry(1).getElement(), is("2")); assertThat(list.getEntry(2).getElement(), is("3")); try { list.getEntry(-1); fail(); } catch (final ClIndexOutOfBoundsException ex) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 8.3K bytes - Click Count (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
assertThat(indexed1.getElement(), is("aaa")); final Indexed<String> indexed2 = it.next(); assertThat(indexed2.getIndex(), is(1)); assertThat(indexed2.getElement(), is("bbb")); final Indexed<String> indexed3 = it.next(); assertThat(indexed3.getIndex(), is(2)); assertThat(indexed3.getElement(), is("ccc")); assertThat(it.hasNext(), is(not(true)));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeMultiset.java
return new Multisets.AbstractEntry<E>() { @Override @ParametricNullness public E getElement() { return baseEntry.getElement(); } @Override public int getCount() { int result = baseEntry.getCount(); if (result == 0) { return count(getElement()); } else { return result; } } }; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 34K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Multisets.java
return this.getCount() == that.getCount() && Objects.equals(this.getElement(), that.getElement()); } return false; } /** * Return this entry's hash code, following the behavior specified in {@link * Multiset.Entry#hashCode}. */ @Override public int hashCode() { E e = getElement(); return ((e == null) ? 0 : e.hashCode()) ^ getCount(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/Multisets.java
return this.getCount() == that.getCount() && Objects.equals(this.getElement(), that.getElement()); } return false; } /** * Return this entry's hash code, following the behavior specified in {@link * Multiset.Entry#hashCode}. */ @Override public int hashCode() { E e = getElement(); return ((e == null) ? 0 : e.hashCode()) ^ getCount(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 41.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/io/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0) -
android/guava/src/com/google/common/eventbus/ParametricNullness.java
* supplied by the user of the class. For example, {@code Multiset.Entry.getElement()} returns * {@code @ParametricNullness E}, which means: * * <ul> * <li>{@code getElement} on a {@code Multiset.Entry<@NonNull String>} returns {@code @NonNull * String}. * <li>{@code getElement} on a {@code Multiset.Entry<@Nullable String>} returns {@code @Nullable * String}. * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 16:20:21 GMT 2024 - 3.1K bytes - Click Count (0)