All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.yin.flags.ClassMetadataIndex Maven / Gradle / Ivy

Go to download

Easy to use command-line parser, which enables you to define cmdline flags directly the class they are used in.

There is a newer version: 0.3.0-beta2
Show newest version
package com.github.yin.flags;

import com.google.common.collect.Maps;

import java.util.Map;

/**
 * Stores metadata for classes scanned by java-flags. This class gives the client direct access
 * to the underlying {@link Map} for the time being. Accessing an internal collection directly is
 * generally considered dangerous, so this API is not stable yet.
 *
 * @author yin
 */
public class ClassMetadataIndex {
    private final Map classes = Maps.newTreeMap();
    // TODO yin: Don't allow direct access to the MAP
    public Map classes() {
        return classes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy