KllFloatsSketchSerialiser implements ToBytesSerialiser<KllFloatsSketch> { @Override public boolean canHandle(final Class clazz) { return KllFloatsSketch.class.equals(clazz); }  @Override boolean canHandle(final Class clazz); @Override byte[] serialise(final KllFloatsSketch sketch); @Override KllFloatsSketch deserialise(final byte[] bytes); @Override KllFloatsSketch deserialiseEmpty(); @Override boolean preservesObjectOrdering(); @Override boolean isConsistent(); @Override boolean equals(final Object obj); @Override int hashCode();  }
@Test public void testCanHandleKllFloatsSketch() { assertTrue(SERIALISER.canHandle(KllFloatsSketch.class)); assertFalse(SERIALISER.canHandle(String.class)); }