Search in sources :

Example 1 with Index

use of com.alexstyl.gsc.Index in project Memento-Calendar by alexstyl.

the class CharacterNode method addDate.

@Override
public void addDate(String name, Date date) {
    Index index = new Index(name.length());
    if (index.hasNotStarted()) {
        if (dates == null) {
            dates = new NameCelebrations(name);
        }
    }
    index.stepUp();
    addDateInternal(index, name, date);
}
Also used : NameCelebrations(com.alexstyl.specialdates.events.namedays.NameCelebrations) Index(com.alexstyl.gsc.Index)

Aggregations

Index (com.alexstyl.gsc.Index)1 NameCelebrations (com.alexstyl.specialdates.events.namedays.NameCelebrations)1