@Test(expected = IllegalArgumentException.class) public void testObjectIdParsedInvalidNull() { ObjectId.parseObjectId(null); }
public static byte[] parseObjectId(String s) { if (s == null) { throw new IllegalArgumentException("Argument 's' cannot be null."); } return StringUtil.fromHex(s); }
ObjectId { public static byte[] parseObjectId(String s) { if (s == null) { throw new IllegalArgumentException("Argument 's' cannot be null."); } return StringUtil.fromHex(s); } }
ObjectId { public static byte[] parseObjectId(String s) { if (s == null) { throw new IllegalArgumentException("Argument 's' cannot be null."); } return StringUtil.fromHex(s); } ObjectId(byte[] identifier); }
ObjectId { public static byte[] parseObjectId(String s) { if (s == null) { throw new IllegalArgumentException("Argument 's' cannot be null."); } return StringUtil.fromHex(s); } ObjectId(byte[] identifier); byte[] getBytes(); @Override String toString(); static byte[] parseObjectId(String s); static byte[] secureRandomBytes(int size); @Override int hashCode(); @Override boolean equals(Object obj); }
ObjectId { public static byte[] parseObjectId(String s) { if (s == null) { throw new IllegalArgumentException("Argument 's' cannot be null."); } return StringUtil.fromHex(s); } ObjectId(byte[] identifier); byte[] getBytes(); @Override String toString(); static byte[] parseObjectId(String s); static byte[] secureRandomBytes(int size); @Override int hashCode(); @Override boolean equals(Object obj);  }