IT. Expert System.

Android Reference

LinkedHashSet


java.util

Class LinkedHashSet<E>

  • All Implemented Interfaces:
    Serializable, Cloneable, Iterable<E>, Collection<E>, Set<E>


    public class LinkedHashSet<E>
    extends HashSet<E>
    implements Set<E>, Cloneable, Serializable
    LinkedHashSet is a variant of HashSet. Its entries are kept in a doubly-linked list. The iteration order is the order in which entries were inserted.

    Null elements are allowed, and all the optional Set operations are supported.

    Like HashSet, LinkedHashSet is not thread safe, so access by multiple threads must be synchronized by an external mechanism such as Collections.synchronizedSet(Set).

    Since:
    1.4
    See Also:
    Serialized Form
    • Constructor Detail

      • LinkedHashSet

        public LinkedHashSet()
        Constructs a new empty instance of LinkedHashSet.
      • LinkedHashSet

        public LinkedHashSet(int capacity)
        Constructs a new instance of LinkedHashSet with the specified capacity.
        Parameters:
        capacity - the initial capacity of this LinkedHashSet.
      • LinkedHashSet

        public LinkedHashSet(int capacity,
                     float loadFactor)
        Constructs a new instance of LinkedHashSet with the specified capacity and load factor.
        Parameters:
        capacity - the initial capacity.
        loadFactor - the initial load factor.
      • LinkedHashSet

        public LinkedHashSet(Collection<? extends E> collection)
        Constructs a new instance of LinkedHashSet containing the unique elements in the specified collection.
        Parameters:
        collection - the collection of elements to add.


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: 425 / . Delta: 0.01889 с