IT. Expert System.

Android Reference

AbstractSet


java.util

Class AbstractSet<E>

    • Constructor Detail

      • AbstractSet

        protected AbstractSet()
        Constructs a new instance of this AbstractSet.
    • Method Detail

      • equals

        public boolean equals(Object object)
        Compares the specified object to this Set and returns true if they are equal. The object must be an instance of Set and contain the same objects.
        Specified by:
        equals in interface Collection<E>
        Specified by:
        equals in interface Set<E>
        Overrides:
        equals in class Object
        Parameters:
        object - the object to compare with this set.
        Returns:
        true if the specified object is equal to this set, false otherwise
        See Also:
        hashCode()
      • hashCode

        public int hashCode()
        Returns the hash code for this set. Two set which are equal must return the same value. This implementation calculates the hash code by adding each element's hash code.
        Specified by:
        hashCode in interface Collection<E>
        Specified by:
        hashCode in interface Set<E>
        Overrides:
        hashCode in class Object
        Returns:
        the hash code of this set.
        See Also:
        equals(java.lang.Object)
      • removeAll

        public boolean removeAll(Collection<?> collection)
        Removes all occurrences in this collection which are contained in the specified collection.
        Specified by:
        removeAll in interface Collection<E>
        Specified by:
        removeAll in interface Set<E>
        Overrides:
        removeAll in class AbstractCollection<E>
        Parameters:
        collection - the collection of objects to remove.
        Returns:
        true if this collection was modified, false otherwise.
        Throws:
        UnsupportedOperationException - if removing from this collection is not supported.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 33 / . Delta: 0.03509 с