Array List

GPTKB entity

Statements (46)
Predicate Object
gptkbp:instance_of gptkb:class
gptkbp:add_all add collection of elements
gptkbp:adds gptkb:chemical_compound
gptkbp:belongs_to gptkb:Java_Collections_Framework
gptkbp:capacity increase capacity
initial capacity
can grow as needed
gptkbp:clear remove all elements
gptkbp:constructor Array List()
Array List(Collection<? extends E> c)
Array List(int initial Capacity)
gptkbp:contains gptkb:chemical_compound
gptkbp:data_usage returns hash code
gptkbp:for_each perform action for each element
gptkbp:get element at index
gptkbp:has_expansion Abstract List
https://www.w3.org/2000/01/rdf-schema#label Array List
gptkbp:implements gptkb:list
gptkb:Serializable
Random Access
Cloneable
gptkbp:index_of gptkb:chemical_compound
gptkbp:is_compared_to compare with another list
gptkbp:is_set_in element at index
gptkbp:iterator returns iterator
gptkbp:last_index_of gptkb:chemical_compound
gptkbp:list_iterator returns list iterator
gptkbp:performance faster for random access
gptkbp:remove gptkb:chemical_compound
gptkbp:remove_all remove collection of elements
gptkbp:remove_if remove elements matching predicate
gptkbp:reprints create a copy
gptkbp:retain_all retain only specified elements
gptkbp:size dynamic size
gptkbp:sort sort elements
gptkbp:spliterator create a spliterator
gptkbp:streaming_platforms create a stream
gptkbp:sub_list returns sublist
gptkbp:thread_safe not thread-safe by default
gptkbp:to_array convert to array
gptkbp:translated_into string representation
gptkbp:trim_to_size reduce size to current size
gptkbp:usage used for dynamic arrays
gptkbp:weight check if empty
gptkbp:bfsParent gptkb:list
gptkbp:bfsLayer 4