Class Graph.Hidden
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.structure.Graph.Hidden
-
-
Constructor Summary
Constructors Constructor Description Hidden()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stringhide(String key)Turn the provided key into a hidden key.static booleanisHidden(String key)Determines whether the provided key is a hidden key or not.static StringunHide(String key)Turn the provided hidden key into an non-hidden key.
-
-
-
Method Detail
-
hide
public static String hide(String key)
Turn the provided key into a hidden key. If the key is already a hidden key, return key.- Parameters:
key- The key to make a hidden key- Returns:
- The hidden key
-
unHide
public static String unHide(String key)
Turn the provided hidden key into an non-hidden key. If the key is not a hidden key, return key.- Parameters:
key- The hidden key- Returns:
- The non-hidden representation of the key
-
isHidden
public static boolean isHidden(String key)
Determines whether the provided key is a hidden key or not.- Parameters:
key- The key to check for hidden status- Returns:
- Whether the provided key is a hidden key or not
-
-