@Override
  public T find(Predicate<T> predicate) {
    for (T element : getAll()) {
      if (predicate.test(element)) {
        return element;
      }
    }
    return null;
  }
Created by guohao4 on 2017/12/11. Email: Tornaco@163.com
android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/persist/JsonObjectSetRepo.java