com.atlassian.crowd.embedded.impl
Class IdentifierSet

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.google.common.collect.ForwardingCollection<E>
          extended by com.google.common.collect.ForwardingSet<String>
              extended by com.atlassian.crowd.embedded.impl.IdentifierSet
All Implemented Interfaces:
Iterable<String>, Collection<String>, Set<String>

public class IdentifierSet
extends com.google.common.collect.ForwardingSet<String>

This class behaves like a HashSet with lower-case String values. All element arguments are lower-cased before further processing.


Constructor Summary
IdentifierSet()
           
IdentifierSet(int expectedSize)
           
 
Method Summary
 boolean add(String element)
           
 boolean addAll(Collection<? extends String> strings)
           
 boolean contains(Object object)
           
 boolean containsAll(Collection<?> collection)
           
protected  Set<String> delegate()
           
 boolean remove(Object object)
           
 boolean removeAll(Collection<?> collection)
           
 boolean retainAll(Collection<?> collection)
           
 
Methods inherited from class com.google.common.collect.ForwardingSet
equals, hashCode, standardEquals, standardHashCode
 
Methods inherited from class com.google.common.collect.ForwardingCollection
clear, isEmpty, iterator, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRemoveAll, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
 
Methods inherited from class com.google.common.collect.ForwardingObject
toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
clear, isEmpty, iterator, size, toArray, toArray
 

Constructor Detail

IdentifierSet

public IdentifierSet()

IdentifierSet

public IdentifierSet(int expectedSize)
Method Detail

delegate

protected Set<String> delegate()
Overrides:
delegate in class com.google.common.collect.ForwardingSet<String>

removeAll

public boolean removeAll(Collection<?> collection)
Specified by:
removeAll in interface Collection<String>
Specified by:
removeAll in interface Set<String>
Overrides:
removeAll in class com.google.common.collect.ForwardingCollection<String>

contains

public boolean contains(Object object)
Specified by:
contains in interface Collection<String>
Specified by:
contains in interface Set<String>
Overrides:
contains in class com.google.common.collect.ForwardingCollection<String>

add

public boolean add(String element)
Specified by:
add in interface Collection<String>
Specified by:
add in interface Set<String>
Overrides:
add in class com.google.common.collect.ForwardingCollection<String>

remove

public boolean remove(Object object)
Specified by:
remove in interface Collection<String>
Specified by:
remove in interface Set<String>
Overrides:
remove in class com.google.common.collect.ForwardingCollection<String>

containsAll

public boolean containsAll(Collection<?> collection)
Specified by:
containsAll in interface Collection<String>
Specified by:
containsAll in interface Set<String>
Overrides:
containsAll in class com.google.common.collect.ForwardingCollection<String>

addAll

public boolean addAll(Collection<? extends String> strings)
Specified by:
addAll in interface Collection<String>
Specified by:
addAll in interface Set<String>
Overrides:
addAll in class com.google.common.collect.ForwardingCollection<String>

retainAll

public boolean retainAll(Collection<?> collection)
Specified by:
retainAll in interface Collection<String>
Specified by:
retainAll in interface Set<String>
Overrides:
retainAll in class com.google.common.collect.ForwardingCollection<String>


Copyright © 2013 Atlassian. All Rights Reserved.