com.neeve.util
Class UtlMisc

java.lang.Object
  extended by com.neeve.util.UtlMisc

public final class UtlMisc
extends Object

Contains singled out methods that do not quite fit in any other of utility classes.

This class IS NOT intended to be used by end users.


Constructor Summary
UtlMisc()
           
 
Method Summary
static Object coalesce(Object value, Object defaultValue)
          Coalesces input value to itself or to specified default value when null.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtlMisc

public UtlMisc()
Method Detail

coalesce

public static final Object coalesce(Object value,
                                    Object defaultValue)
Coalesces input value to itself or to specified default value when null.

Parameters:
value - Value to coalesce.
defaultValue - Value to use if input value is null.
Returns:
Coalesced value.


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.