public static <V> P<V> inside(final V first, final V second) {
        return new AndP<V>(Arrays.asList(new P(Compare.gt, first), new P(Compare.lt, second)));
    }
Determines if a value is within (exclusive) the range of the two specified values.

@since 3.0.0-incubating
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/P.java