Skip to content

Instantly share code, notes, and snippets.

View Verifying my Peepeth
Verifying my identity on Peepeth.com 0x649059db9e9d6d3c73f0982335c0c0812a7727cc
View keybase.md

Keybase proof

I hereby claim:

  • I am yonilevy on github.
  • I am yonilevy (https://keybase.io/yonilevy) on keybase.
  • I have a public key ASAE4qZQyiQX42HNhJ6LKQ8Wq16QGh2B4dBXYzd4yhaQjQo

To claim this, I am signing this object:

View QueryWhereBuilder.java
public class QueryWhereBuilder<T,U> {
private final Map<String, Object> whereTerms = new HashMap<>();
private final QueryBuilder<T, U> qb;
public QueryWhereBuilder(QueryBuilder<T,U> qb) {
this.qb = qb;
}
public void add(String key, Object val) {
whereTerms.put(key, val);
View gist:964682
// convenience SI typedefs:
typedef ratio<1, 1000000000000000000000000> yocto; // conditionally supported
typedef ratio<1, 1000000000000000000000> zepto; // conditionally supported
typedef ratio<1, 1000000000000000000> atto;
typedef ratio<1, 1000000000000000> femto;
typedef ratio<1, 1000000000000> pico;
typedef ratio<1, 1000000000> nano;
typedef ratio<1, 1000000> micro;
typedef ratio<1, 1000> milli;
typedef ratio<1, 100> centi;