org.solovyev.android.properties.Properties Maven / Gradle / Ivy
package org.solovyev.android.properties;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.Collection;
import java.util.Map;
public final class Properties {
private Properties() {
throw new AssertionError();
}
@Nonnull
public static AProperty newProperty(@Nonnull String name, @Nullable String value) {
return APropertyImpl.newInstance(name, value);
}
@Nonnull
public static MutableAProperties newProperties(@Nonnull Collection properties) {
return MutableAPropertiesImpl.newInstance(properties);
}
@Nonnull
public static MutableAProperties newProperties(@Nonnull Map properties) {
return MutableAPropertiesImpl.newInstance(properties);
}
@Nonnull
public static MutableAProperties copyOf(@Nonnull MutableAProperties properties) {
return MutableAPropertiesImpl.copyOf(properties);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy