Skip to content

Commit 7f40fc3

Browse files
committed
Add RefPropertyMap.get() with reusable ref
1 parent 429b9d9 commit 7f40fc3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/main/java/org/mastodon/properties/RefPropertyMap.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ public T get( final O key )
7979
return map.get( key );
8080
}
8181

82+
public T get( final O key, final T ref )
83+
{
84+
return map.get( key, ref );
85+
}
86+
8287
@Override
8388
public boolean isSet( final O key )
8489
{

0 commit comments

Comments
 (0)