Package org.apache.webbeans.util
Class UrlSet
java.lang.Object
org.apache.webbeans.util.UrlSet
A
Set which only takes the externalForm
as key instead the very expensive hashCode.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends URL> c) voidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
equals, hashCode, spliterator
-
Constructor Details
-
UrlSet
public UrlSet()
-
-
Method Details
-
add
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<URL>- Specified by:
containsAllin interfaceSet<URL>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear()
-