@Override public boolean equals(Object o) { if (o instanceof ByteSequence) { ByteSequence obs = (ByteSequence) o; if (this == o) return true; if (length() != obs.length()) return false; return compareTo(obs) == 0; } return false; }
@Override public boolean equals(Object o) { if (o instanceof ByteSequence) { ByteSequence obs = (ByteSequence) o; if (this == o) return true; if (length() != obs.length()) return false; return compareTo(obs) == 0; } return false; }