Klasse FloatSets.UnmodifiableSet

java.lang.Object
speiger.src.collections.floats.utils.FloatCollections.UnmodifiableCollection
speiger.src.collections.floats.utils.FloatSets.UnmodifiableSet
Alle implementierten Schnittstellen:
Iterable<Float>, Collection<Float>, Set<Float>, FloatCollection, FloatIterable, FloatSet, ISizeProvider
Umschließende Klasse:
FloatSets

public static class FloatSets.UnmodifiableSet extends FloatCollections.UnmodifiableCollection implements FloatSet
Unmodifyable Set wrapper that helps is used with unmodifyableSet function
  • Methodendetails

    • copy

      public FloatSet copy()
      Beschreibung aus Schnittstelle kopiert: FloatCollection
      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 FloatCollection
      Angegeben von:
      copy in Schnittstelle FloatSet
      Setzt außer Kraft:
      copy in Klasse FloatCollections.UnmodifiableCollection
      Gibt zurück:
      a Shallow Copy of the collection
    • remove

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