87888990919293949596
ByteVector result = a.copy(factory); ByteVectorIterator it = b.nonZeroIterator(); while (it.hasNext()) { it.next(); result.update(it.index(), ByteVectors.asMinusFunction(it.get())); } return result; } }
ByteVector result = a.copy(factory); ByteVectorIterator it = b.nonZeroIterator(); while (it.hasNext()) { it.next(); result.update(it.index(), ByteVectors.asPlusFunction(it.get())); } return result; } }