/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified byte array representing * ASCII characters. * @param b the <code>byte[]</code> to compare * * @return true if the comparison succeeded, false otherwise * * @since 2.1.2 */ public boolean equalsIgnoreCase(final byte[] b) { return equalsIgnoreCase(b, 0, b.length); }
/** * Compares the message bytes to the specified String object. * @param s the String to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(String s) { if (s == null) { return false; } switch (type) { case T_STR: return strValue != null && strValue.equalsIgnoreCase(s); case T_CHARS: return charC.equalsIgnoreCase( s ); case T_BYTES: return byteC.equalsIgnoreCase( s ); default: return false; } }
/** * Compares the message bytes to the specified String object ignoring case considerations. * * @param s the String to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final String s) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(s); case Buffer: return bufferChunk.equalsIgnoreCase(s); case String: return stringValue.equalsIgnoreCase(s); case Chars: return charChunk.equalsIgnoreCase(s); default: return false; } }
/** * Compares the message bytes to the specified String object ignoring case considerations. * * @param s the String to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final String s) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(s); case Buffer: return bufferChunk.equalsIgnoreCase(s); case String: return stringValue.equalsIgnoreCase(s); case Chars: return charChunk.equalsIgnoreCase(s); default: return false; } }
/** * Compares the message bytes to the specified String object ignoring case considerations. * * @param s the String to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final String s) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(s); case Buffer: return bufferChunk.equalsIgnoreCase(s); case String: return stringValue.equalsIgnoreCase(s); case Chars: return charChunk.equalsIgnoreCase(s); default: return false; } }
/** * Compares the message data to the specified byte[] ignoring case considerations. * @param bytes the byte[] to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final byte[] bytes, final int start, final int len) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(bytes, start, len); case Buffer: return bufferChunk.equalsIgnoreCase(bytes, start, len); case String: return ByteChunk.equalsIgnoreCase(bytes, start, len, stringValue); case Chars: return charChunk.equalsIgnoreCase(bytes, start, len); default: return false; } }
/** * Compares the message data to the specified byte[] ignoring case considerations. * @param bytes the byte[] to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final byte[] bytes, final int start, final int len) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(bytes, start, len); case Buffer: return bufferChunk.equalsIgnoreCase(bytes, start, len); case String: return ByteChunk.equalsIgnoreCase(bytes, start, len, stringValue); case Chars: return charChunk.equalsIgnoreCase(bytes, start, len); default: return false; } }
/** * Compares the message data to the specified byte[] ignoring case considerations. * @param bytes the byte[] to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final byte[] bytes, final int start, final int len) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(bytes, start, len); case Buffer: return bufferChunk.equalsIgnoreCase(bytes, start, len); case String: return ByteChunk.equalsIgnoreCase(bytes, start, len, stringValue); case Chars: return charChunk.equalsIgnoreCase(bytes, start, len); default: return false; } }
/** * Compares the message data to the specified byte[] ignoring case considerations. * @param bytes the byte[] to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final byte[] bytes, final int start, final int len) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(bytes, start, len); case Buffer: return bufferChunk.equalsIgnoreCase(bytes, start, len); case String: return ByteChunk.equalsIgnoreCase(bytes, start, len, stringValue); case Chars: return charChunk.equalsIgnoreCase(bytes, start, len); default: return false; } }
/** * Compares the message data to the specified byte[] ignoring case considerations. * @param bytes the byte[] to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final byte[] bytes, final int start, final int len) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(bytes, start, len); case Buffer: return bufferChunk.equalsIgnoreCase(bytes, start, len); case String: return ByteChunk.equalsIgnoreCase(bytes, start, len, stringValue); case Chars: return charChunk.equalsIgnoreCase(bytes, start, len); default: return false; } }
/** * Compares the message data to the specified byte[] ignoring case considerations. * @param bytes the byte[] to compare * @return true if the comparison succeeded, false otherwise */ public boolean equalsIgnoreCase(final byte[] bytes, final int start, final int len) { switch (type) { case Bytes: return byteChunk.equalsIgnoreCase(bytes, start, len); case Buffer: return bufferChunk.equalsIgnoreCase(bytes, start, len); case String: return ByteChunk.equalsIgnoreCase(bytes, start, len, stringValue); case Chars: return charChunk.equalsIgnoreCase(bytes, start, len); default: return false; } }