JHashSet<$E extends JObject?>
extension type
from: java.util.HashSet
- on
- Implemented types
- Available extensions
Constructors
- JHashSet()
-
from:
public void <init>()The returned object must be released after use, by calling the release method.factory - JHashSet.new$1(int i)
-
from:
public void <init>(int i)The returned object must be released after use, by calling the release method.factory - JHashSet.new$2(int i, double f)
-
from:
public void <init>(int i, float f)The returned object must be released after use, by calling the release method.factory -
JHashSet.new$3(JCollection<
$E?> ? collection) -
from:
public void <init>(java.util.Collection<? extends E> collection)The returned object must be released after use, by calling the release method.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic boolean isEmpty()no setter - isReleased → bool
-
no setterinherited
- jClass → JClass
-
Returns JClass corresponding to concrete class of this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
$E? object) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean add(E object) -
add(
$E? object) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic boolean add(E object) -
add(
$E? object) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean add(E object) -
addAll(
JCollection< $E?> ? collection) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean addAll(java.util.Collection<? extends E> collection) -
addAll(
JCollection< $E?> ? collection) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean addAll(java.util.Collection<? extends E> collection) -
addAll(
JCollection< $E?> ? collection) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic abstract boolean addAll(java.util.Collection<? extends E> collection) -
as<
T extends JObject> (JType< T> type, {bool releaseOriginal = false}) → T -
Casts this object to another
type.inherited -
asDart(
) → Set< E> -
Available on JSet<
Wraps this JSet in an adapter that implements a Set.E> , provided by the JSetToAdapter extension -
clear(
) → void -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract void clear() -
clear(
) → void -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract void clear() -
clear(
) → void -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic void clear() -
clone(
) → JObject? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic java.lang.Object clone()The returned object must be released after use, by calling the release method. -
contains(
JObject? object) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean contains(java.lang.Object object) -
contains(
JObject? object) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic boolean contains(java.lang.Object object) -
contains(
JObject? object) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean contains(java.lang.Object object) -
containsAll(
JCollection< JObject?> ? collection) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean containsAll(java.util.Collection<?> collection) -
containsAll(
JCollection< JObject?> ? collection) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean containsAll(java.util.Collection<?> collection) -
containsAll(
JCollection< JObject?> ? collection) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic abstract boolean containsAll(java.util.Collection<?> collection) -
equals(
JObject? object) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean equals(java.lang.Object object) -
equals(
JObject? object) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean equals(java.lang.Object object) -
equals(
JObject? object) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic abstract boolean equals(java.lang.Object object) -
hashCode$1(
) → int -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract int hashCode() -
hashCode$1(
) → int -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract int hashCode() -
hashCode$1(
) → int -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic abstract int hashCode() -
isA<
T extends JObject> (JType< T> type) → bool -
Whether this object is of the given
typeignoring the type parameters.inherited -
isEmpty(
) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean isEmpty() -
isEmpty(
) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean isEmpty() -
isInstanceOf(
JClass jclass) → bool -
Whether this object is of the type of the given
jclass.inherited -
iterator(
) → JIterator< $E?> ? -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract java.util.Iterator<E> iterator()The returned object must be released after use, by calling the release method. -
iterator(
) → JIterator< $E?> ? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic java.util.Iterator<E> iterator()The returned object must be released after use, by calling the release method. -
iterator(
) → JIterator< $E?> ? -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract java.util.Iterator<E> iterator()The returned object must be released after use, by calling the release method. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parallelStream(
) → JObject? -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic java.util.stream.Stream<E> parallelStream()The returned object must be released after use, by calling the release method. -
parallelStream(
) → JObject? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic java.util.stream.Stream<E> parallelStream()The returned object must be released after use, by calling the release method. -
parallelStream(
) → JObject? -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic java.util.stream.Stream<E> parallelStream()The returned object must be released after use, by calling the release method. -
release(
) → void -
Releases the underlying
reference.inherited -
releasedBy(
Arena arena) → void -
Registers this object to be released at the end of
arena's lifetime.inherited -
remove(
JObject? object) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean remove(java.lang.Object object) -
remove(
JObject? object) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean remove(java.lang.Object object) -
remove(
JObject? object) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic boolean remove(java.lang.Object object) -
removeAll(
JCollection< JObject?> ? collection) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean removeAll(java.util.Collection<?> collection) -
removeAll(
JCollection< JObject?> ? collection) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic abstract boolean removeAll(java.util.Collection<?> collection) -
removeAll(
JCollection< JObject?> ? collection) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean removeAll(java.util.Collection<?> collection) -
removeIf(
JObject? predicate) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic boolean removeIf(java.util.function.Predicate<? super E> predicate) -
removeIf(
JObject? predicate) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic boolean removeIf(java.util.function.Predicate<? super E> predicate) -
removeIf(
JObject? predicate) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic boolean removeIf(java.util.function.Predicate<? super E> predicate) -
retainAll(
JCollection< JObject?> ? collection) → bool -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic abstract boolean retainAll(java.util.Collection<?> collection) -
retainAll(
JCollection< JObject?> ? collection) → bool -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract boolean retainAll(java.util.Collection<?> collection) -
retainAll(
JCollection< JObject?> ? collection) → bool -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract boolean retainAll(java.util.Collection<?> collection) -
size(
) → int -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic int size() -
size(
) → int -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract int size() -
size(
) → int -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract int size() -
spliterator(
) → JObject? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic java.util.Spliterator<E> spliterator()The returned object must be released after use, by calling the release method. -
spliterator(
) → JObject? -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic java.util.Spliterator<E> spliterator()The returned object must be released after use, by calling the release method. -
spliterator(
) → JObject? -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic java.util.Spliterator<E> spliterator()The returned object must be released after use, by calling the release method. -
stream(
) → JObject? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic java.util.stream.Stream<E> stream()The returned object must be released after use, by calling the release method. -
stream(
) → JObject? -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic java.util.stream.Stream<E> stream()The returned object must be released after use, by calling the release method. -
stream(
) → JObject? -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic java.util.stream.Stream<E> stream()The returned object must be released after use, by calling the release method. -
toArray(
) → JArray< JObject?> ? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic java.lang.Object[] toArray()The returned object must be released after use, by calling the release method. -
toArray(
) → JArray< JObject?> ? -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract java.lang.Object[] toArray()The returned object must be released after use, by calling the release method. -
toArray(
) → JArray< JObject?> ? -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract java.lang.Object[] toArray()The returned object must be released after use, by calling the release method. -
toArray$1<
$T extends JObject?> (JArray< $T?> ? objects) → JArray<$T?> ? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic T[] toArray(T[] objects)The returned object must be released after use, by calling the release method. -
toArray$1<
$T extends JObject?> (JArray< $T?> ? objects) → JArray<$T?> ? -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic abstract T[] toArray(T[] objects)The returned object must be released after use, by calling the release method. -
toArray$1<
$T extends JObject?> (JObject? intFunction) → JArray< $T?> ? -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic T[] toArray(java.util.function.IntFunction<T[]> intFunction)The returned object must be released after use, by calling the release method. -
toArray$2<
$T extends JObject?> (JObject? intFunction) → JArray< $T?> ? -
Available on JHashSet<
from:$E> , provided by the JHashSet$$Methods extensionpublic T[] toArray(java.util.function.IntFunction<T[]> intFunction)The returned object must be released after use, by calling the release method. -
toArray$2<
$T extends JObject?> (JArray< $T?> ? objects) → JArray<$T?> ? -
Available on JCollection<
from:$E> , provided by the JCollection$$Methods extensionpublic abstract T[] toArray(T[] objects)The returned object must be released after use, by calling the release method. -
toArray$2<
$T extends JObject?> (JObject? intFunction) → JArray< $T?> ? -
Available on JSet<
from:$E> , provided by the JSet$$Methods extensionpublic T[] toArray(java.util.function.IntFunction<T[]> intFunction)The returned object must be released after use, by calling the release method. -
toDartSet(
{Object convertOther(JObject) = _defaultDartConverter}) → Set< Object?> -
Available on JSet<
Deep converts this JSet to a Dart Set.JObject?> , provided by the JSetToDartSet extension -
toString(
) → String -
A string representation of this object.
inherited
-
use<
R> (R callback(T)) → R -
Available on T, provided by the JObjectUseExtension extension
Appliescallbackon this object and then deletes the underlying JNI reference, returning the result ofcallback.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
copyOf<
$E extends JObject?> (JCollection< $E?> ? collection) → JSet<$E?> ? -
from:
static public java.util.Set<E> copyOf(java.util.Collection<? extends E> collection)The returned object must be released after use, by calling the release method. -
newHashSet<
$T extends JObject?> (int i) → JHashSet< $T?> ? -
from:
static public java.util.HashSet<T> newHashSet(int i)The returned object must be released after use, by calling the release method. -
of<
$E extends JObject?> () → JSet< $E?> ? -
from:
static public java.util.Set<E> of()The returned object must be released after use, by calling the release method. -
of$1<
$E extends JObject?> ($E? object) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object)The returned object must be released after use, by calling the release method. -
of$10<
$E extends JObject?> ($E? object, $E? object1, $E? object2, $E? object3, $E? object4, $E? object5, $E? object6, $E? object7, $E? object8, $E? object9) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2, E object3, E object4, E object5, E object6, E object7, E object8, E object9)The returned object must be released after use, by calling the release method. -
of$11<
$E extends JObject?> (JArray< $E?> ? objects) → JSet<$E?> ? -
from:
static public java.util.Set<E> of(E[] objects)The returned object must be released after use, by calling the release method. -
of$2<
$E extends JObject?> ($E? object, $E? object1) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1)The returned object must be released after use, by calling the release method. -
of$3<
$E extends JObject?> ($E? object, $E? object1, $E? object2) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2)The returned object must be released after use, by calling the release method. -
of$4<
$E extends JObject?> ($E? object, $E? object1, $E? object2, $E? object3) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2, E object3)The returned object must be released after use, by calling the release method. -
of$5<
$E extends JObject?> ($E? object, $E? object1, $E? object2, $E? object3, $E? object4) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2, E object3, E object4)The returned object must be released after use, by calling the release method. -
of$6<
$E extends JObject?> ($E? object, $E? object1, $E? object2, $E? object3, $E? object4, $E? object5) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2, E object3, E object4, E object5)The returned object must be released after use, by calling the release method. -
of$7<
$E extends JObject?> ($E? object, $E? object1, $E? object2, $E? object3, $E? object4, $E? object5, $E? object6) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2, E object3, E object4, E object5, E object6)The returned object must be released after use, by calling the release method. -
of$8<
$E extends JObject?> ($E? object, $E? object1, $E? object2, $E? object3, $E? object4, $E? object5, $E? object6, $E? object7) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2, E object3, E object4, E object5, E object6, E object7)The returned object must be released after use, by calling the release method. -
of$9<
$E extends JObject?> ($E? object, $E? object1, $E? object2, $E? object3, $E? object4, $E? object5, $E? object6, $E? object7, $E? object8) → JSet< $E?> ? -
from:
static public java.util.Set<E> of(E object, E object1, E object2, E object3, E object4, E object5, E object6, E object7, E object8)The returned object must be released after use, by calling the release method.