Class ByteSetOfOne

  • All Implemented Interfaces:
    ByteSet

    final class ByteSetOfOne
    extends java.lang.Object
    implements ByteSet
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte ch  
    • Constructor Summary

      Constructors 
      Constructor Description
      ByteSetOfOne​(java.util.Set<java.lang.Character> set)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean containsKey​(byte b)
      Returns true if the set contains the specified byte.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • ch

        private final byte ch
    • Constructor Detail

      • ByteSetOfOne

        ByteSetOfOne​(java.util.Set<java.lang.Character> set)
    • Method Detail

      • containsKey

        public boolean containsKey​(byte b)
        Description copied from interface: ByteSet
        Returns true if the set contains the specified byte.
        Specified by:
        containsKey in interface ByteSet
        Parameters:
        b - a byte
        Returns:
        true if the byte is in the set