/** * Creates a monotonic map. * * @see #DocumentBasedMonotonicValue(DocumentEventRouter, Object, Serializer, String, String) */ public static <E, C extends Comparable<C>> DocumentBasedMonotonicValue<E, C> create( DocumentEventRouter<? super E, E, ?> router, E entryContainer, Serializer<C> serializer, String entryTagName, String valueAttrName) { DocumentBasedMonotonicValue<E, C> value = new DocumentBasedMonotonicValue<E, C>( router, entryContainer, serializer, entryTagName, valueAttrName); router.addChildListener(entryContainer, value); value.load(); return value; }