Klasse CharSets.UnmodifiableSet

java.lang.Object
speiger.src.collections.chars.utils.CharCollections.UnmodifiableCollection
speiger.src.collections.chars.utils.CharSets.UnmodifiableSet
Alle implementierten Schnittstellen:
Iterable<Character>, Collection<Character>, Set<Character>, CharCollection, CharIterable, CharSet, ISizeProvider
Umschließende Klasse:
CharSets

public static class CharSets.UnmodifiableSet extends CharCollections.UnmodifiableCollection implements CharSet
Unmodifyable Set wrapper that helps is used with unmodifyableSet function
  • Methodendetails

    • copy

      public CharSet copy()
      Beschreibung aus Schnittstelle kopiert: CharCollection
      A Function that does a shallow clone of the Collection itself. This function is more optimized then a copy constructor since the Collection does not have to be unsorted/resorted. It can be compared to Cloneable but with less exception risk
      Angegeben von:
      copy in Schnittstelle CharCollection
      Angegeben von:
      copy in Schnittstelle CharSet
      Setzt außer Kraft:
      copy in Klasse CharCollections.UnmodifiableCollection
      Gibt zurück:
      a Shallow Copy of the collection
    • remove

      public boolean remove(char o)
      Beschreibung aus Schnittstelle kopiert: CharSet
      A Type Specific remove function to reduce boxing/unboxing
      Angegeben von:
      remove in Schnittstelle CharSet
      Parameter:
      o - the element that should be removed
      Gibt zurück:
      true if the element was removed