/** * A sensible, albeit inefficient, definition of {@link #equals} in terms of {@code * entrySet().size()} and {@link #count}. If you override either of these methods, you may wish to * override {@link #equals} to forward to this implementation. * * @since 7.0 */ protected boolean standardEquals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
@Override public boolean equals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset of the same size * and if, for each element, the two multisets have the same count. */ @Override public final boolean equals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #equals} in terms of {@code * entrySet().size()} and {@link #count}. If you override either of these methods, you may wish to * override {@link #equals} to forward to this implementation. * * @since 7.0 */ protected boolean standardEquals(@NullableDecl Object object) { return Multisets.equalsImpl(this, object); }
@Override public boolean equals(@NullableDecl Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset of the same size * and if, for each element, the two multisets have the same count. */ @Override public final boolean equals(@NullableDecl Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #equals} in terms of {@code * entrySet().size()} and {@link #count}. If you override either of these methods, you may wish to * override {@link #equals} to forward to this implementation. * * @since 7.0 */ protected boolean standardEquals(@NullableDecl Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset of the same size * and if, for each element, the two multisets have the same count. */ @Override public final boolean equals(@NullableDecl Object object) { return Multisets.equalsImpl(this, object); }
@Override public boolean equals(@NullableDecl Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #size} in terms of * {@code entrySet().size()} and {@link #count}. If you override either of * these methods, you may wish to override {@link #size} to forward to this * implementation. * * @since 7.0 */ protected boolean standardEquals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset * of the same size and if, for each element, the two multisets have the same * count. */ @Override public boolean equals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset * of the same size and if, for each element, the two multisets have the same * count. */ @Override public boolean equals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset * of the same size and if, for each element, the two multisets have the same * count. */ @Override public boolean equals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #size} in terms of * {@code entrySet().size()} and {@link #count}. If you override either of * these methods, you may wish to override {@link #size} to forward to this * implementation. * * @since 7.0 */ protected boolean standardEquals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset * of the same size and if, for each element, the two multisets have the same * count. */ @Override public boolean equals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #size} in terms of * {@code entrySet().size()} and {@link #count}. If you override either of * these methods, you may wish to override {@link #size} to forward to this * implementation. * * @since 7.0 */ protected boolean standardEquals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * {@inheritDoc} * * <p>This implementation returns {@code true} if {@code object} is a multiset * of the same size and if, for each element, the two multisets have the same * count. */ @Override public boolean equals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #size} in terms of * {@code entrySet().size()} and {@link #count}. If you override either of * these methods, you may wish to override {@link #size} to forward to this * implementation. * * @since 7.0 */ protected boolean standardEquals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #size} in terms of * {@code entrySet().size()} and {@link #count}. If you override either of * these methods, you may wish to override {@link #size} to forward to this * implementation. * * @since 7.0 */ @Beta protected boolean standardEquals(@Nullable Object object) { return Multisets.equalsImpl(this, object); }
/** * A sensible, albeit inefficient, definition of {@link #equals} in terms of {@code * entrySet().size()} and {@link #count}. If you override either of these methods, you may wish to * override {@link #equals} to forward to this implementation. * * @since 7.0 */ protected boolean standardEquals(@NullableDecl Object object) { return Multisets.equalsImpl(this, object); }