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

com.jn.langx.repository.Repository2 Maven / Gradle / Ivy

Go to download

Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang. Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...

There is a newer version: 4.8.2
Show newest version
package com.jn.langx.repository;

import java.util.List;

public interface Repository2 extends Repository {
    boolean has(ID id);

    long count();

    List getByIds(Iterable ids);

    void addAll(Iterable entities);

    void update(Iterable entities);

    void removeByIds(Iterable id);

    @Override
    E getById(ID id);

    @Override
    void add(E entity);

    @Override
    void update(E entity);

    @Override
    void removeById(ID id);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy