@Test public void testNullName() { try { OffHeapResourceIdentifier.identifier(null); fail("Expected NullPointerException"); } catch (NullPointerException e) { } }
public static OffHeapResourceIdentifier identifier(String name) { return new OffHeapResourceIdentifier(name); }
OffHeapResourceIdentifier implements ServiceConfiguration<OffHeapResource> { public static OffHeapResourceIdentifier identifier(String name) { return new OffHeapResourceIdentifier(name); } }
OffHeapResourceIdentifier implements ServiceConfiguration<OffHeapResource> { public static OffHeapResourceIdentifier identifier(String name) { return new OffHeapResourceIdentifier(name); } private  OffHeapResourceIdentifier(String name); }
OffHeapResourceIdentifier implements ServiceConfiguration<OffHeapResource> { public static OffHeapResourceIdentifier identifier(String name) { return new OffHeapResourceIdentifier(name); } private  OffHeapResourceIdentifier(String name); static OffHeapResourceIdentifier identifier(String name); @Override int hashCode(); @Override boolean equals(Object obj); String getName(); @Override Class<OffHeapResource> getServiceType(); @Override String toString(); }
OffHeapResourceIdentifier implements ServiceConfiguration<OffHeapResource> { public static OffHeapResourceIdentifier identifier(String name) { return new OffHeapResourceIdentifier(name); } private  OffHeapResourceIdentifier(String name); static OffHeapResourceIdentifier identifier(String name); @Override int hashCode(); @Override boolean equals(Object obj); String getName(); @Override Class<OffHeapResource> getServiceType(); @Override String toString();  }