@Test public void testGetIndex() { ColorSerializer i = new ColorSerializer(); _serializers.registerSerializer(i); Assert.assertEquals(_serializers.getIndex(Color.class), 0); }
int getIndex(Class cls) { return getSerializerWrapper(cls).index; }
Serializers implements Serializable { int getIndex(Class cls) { return getSerializerWrapper(cls).index; } }
Serializers implements Serializable { int getIndex(Class cls) { return getSerializerWrapper(cls).index; } Serializers(); }
Serializers implements Serializable { int getIndex(Class cls) { return getSerializerWrapper(cls).index; } Serializers(); synchronized void registerSerializer(Serializer serializer); Serializer getSerializer(Class cls); @Override boolean equals(Object o); }
Serializers implements Serializable { int getIndex(Class cls) { return getSerializerWrapper(cls).index; } Serializers(); synchronized void registerSerializer(Serializer serializer); Serializer getSerializer(Class cls); @Override boolean equals(Object o);  }