Skip to content

Commit

Permalink
Merge pull request #274 from ajkannan/property-filter-naming
Browse files Browse the repository at this point in the history
Rename operators in PropertyFilter
  • Loading branch information
aozarov committed Oct 20, 2015
2 parents 30992ae + 460948e commit 2665ab5
Showing 1 changed file with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,67 +260,67 @@ public boolean equals(Object obj) {
&& Objects.equals(value, other.value);
}

public static PropertyFilter le(String property, Value<?> value) {
public static PropertyFilter lt(String property, Value<?> value) {
return new PropertyFilter(property, Operator.LESS_THAN, value);
}

public static PropertyFilter le(String property, String value) {
public static PropertyFilter lt(String property, String value) {
return new PropertyFilter(property, Operator.LESS_THAN, of(value));
}

public static PropertyFilter le(String property, long value) {
public static PropertyFilter lt(String property, long value) {
return new PropertyFilter(property, Operator.LESS_THAN, of(value));
}

public static PropertyFilter le(String property, double value) {
public static PropertyFilter lt(String property, double value) {
return new PropertyFilter(property, Operator.LESS_THAN, of(value));
}

public static PropertyFilter le(String property, boolean value) {
public static PropertyFilter lt(String property, boolean value) {
return new PropertyFilter(property, Operator.LESS_THAN, of(value));
}

public static PropertyFilter le(String property, DateTime value) {
public static PropertyFilter lt(String property, DateTime value) {
return new PropertyFilter(property, Operator.LESS_THAN, of(value));
}

public static PropertyFilter le(String property, Key value) {
public static PropertyFilter lt(String property, Key value) {
return new PropertyFilter(property, Operator.LESS_THAN, of(value));
}

public static PropertyFilter le(String property, Blob value) {
public static PropertyFilter lt(String property, Blob value) {
return new PropertyFilter(property, Operator.LESS_THAN, of(value));
}

public static PropertyFilter lte(String property, Value<?> value) {
public static PropertyFilter le(String property, Value<?> value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, value);
}

public static PropertyFilter lte(String property, String value) {
public static PropertyFilter le(String property, String value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter lte(String property, long value) {
public static PropertyFilter le(String property, long value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter lte(String property, double value) {
public static PropertyFilter le(String property, double value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter lte(String property, boolean value) {
public static PropertyFilter le(String property, boolean value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter lte(String property, DateTime value) {
public static PropertyFilter le(String property, DateTime value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter lte(String property, Key value) {
public static PropertyFilter le(String property, Key value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter lte(String property, Blob value) {
public static PropertyFilter le(String property, Blob value) {
return new PropertyFilter(property, Operator.LESS_THAN_OR_EQUAL, of(value));
}

Expand Down Expand Up @@ -356,35 +356,35 @@ public static PropertyFilter gt(String property, Blob value) {
return new PropertyFilter(property, Operator.GREATER_THAN, of(value));
}

public static PropertyFilter gte(String property, Value<?> value) {
public static PropertyFilter ge(String property, Value<?> value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, value);
}

public static PropertyFilter gte(String property, String value) {
public static PropertyFilter ge(String property, String value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter gte(String property, long value) {
public static PropertyFilter ge(String property, long value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter gte(String property, double value) {
public static PropertyFilter ge(String property, double value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter gte(String property, boolean value) {
public static PropertyFilter ge(String property, boolean value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter gte(String property, DateTime value) {
public static PropertyFilter ge(String property, DateTime value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter gte(String property, Key value) {
public static PropertyFilter ge(String property, Key value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, of(value));
}

public static PropertyFilter gte(String property, Blob value) {
public static PropertyFilter ge(String property, Blob value) {
return new PropertyFilter(property, Operator.GREATER_THAN_OR_EQUAL, of(value));
}

Expand Down

0 comments on commit 2665ab5

Please sign in to comment.