Example #1
0
 static ByteIterable getNotNullValue(@NotNull final INode ln) {
   final ByteIterable value = ln.getValue();
   if (value == null) {
     throw new ExodusException("Value can't be null");
   }
   return value;
 }
Example #2
0
 @Override
 public boolean add(@NotNull final INode ln) {
   return add(ln.getKey(), getNotNullValue(ln));
 }
Example #3
0
 @Override
 public void putRight(@NotNull final INode ln) {
   putRight(ln.getKey(), getNotNullValue(ln));
 }