Klasse ByteSets.UnmodifiableSet

java.lang.Object
speiger.src.collections.bytes.utils.ByteCollections.UnmodifiableCollection
speiger.src.collections.bytes.utils.ByteSets.UnmodifiableSet
Alle implementierten Schnittstellen:
Iterable<Byte>, Collection<Byte>, Set<Byte>, ByteCollection, ByteIterable, ByteSet, ISizeProvider
Umschließende Klasse:
ByteSets

public static class ByteSets.UnmodifiableSet extends ByteCollections.UnmodifiableCollection implements ByteSet
Unmodifyable Set wrapper that helps is used with unmodifyableSet function
  • Methodendetails

    • copy

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

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