Interface ShortLookupContainer

    • Method Detail

      • contains

        boolean contains​(short e)
        Description copied from interface: ShortContainer
        Lookup a given element in the container. This operation has no speed guarantees (may be linear with respect to the size of this container).
        Specified by:
        contains in interface ShortContainer
        Returns:
        Returns true if this container has an element equal to e.