本文整理汇总了Java中com.helger.commons.annotation.ReturnsMutableObject类的典型用法代码示例。如果您正苦于以下问题:Java ReturnsMutableObject类的具体用法?Java ReturnsMutableObject怎么用?Java ReturnsMutableObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ReturnsMutableObject类属于com.helger.commons.annotation包,在下文中一共展示了ReturnsMutableObject类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getDataFlavors
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Override
@Nonnull
@ReturnsMutableObject ("design")
protected ActivationDataFlavor [] getDataFlavors ()
{
return FLAVORS;
}
示例2: getBusinessCard
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* @return The mutable {@link PD1BusinessCardType} object as provided in the
* constructor (or the converted object). Never <code>null</code>.
*/
@Nonnull
@ReturnsMutableObject ("design")
public PD1BusinessCardType getBusinessCard ()
{
return m_aBusinessCard;
}
示例3: directGetSource
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
protected Collection <ELEMENTTYPE> directGetSource ()
{
return m_aSrc;
}
示例4: directGetSource
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
protected Set <ELEMENTTYPE> directGetSource ()
{
return m_aSrc;
}
示例5: directGetSource
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
protected List <ELEMENTTYPE> directGetSource ()
{
return m_aSrc;
}
示例6: directGetRealEigenvalues
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* Return the real parts of the eigenvalues
*
* @return real(diag(D))
*/
@SuppressFBWarnings ("EI_EXPOSE_REP")
@Nonnull
@ReturnsMutableObject ("took code as is")
public double [] directGetRealEigenvalues ()
{
return m_aEVd;
}
示例7: directGetImagEigenvalues
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* Return the imaginary parts of the eigenvalues
*
* @return imag(diag(D))
*/
@SuppressFBWarnings ("EI_EXPOSE_REP")
@Nonnull
@ReturnsMutableObject ("took code as is")
public double [] directGetImagEigenvalues ()
{
return m_aEVe;
}
示例8: wrappedErrorList
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* @return The error list object passed in the constructor. Never
* <code>null</code>.
*/
@Nonnull
@ReturnsMutableObject ("design")
public ErrorList wrappedErrorList ()
{
return m_aErrorList;
}
示例9: directGetAllChildren
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* @return The writable list of all child nodes - handle with care. May be
* <code>null</code>.
*/
@Nullable
@ReturnsMutableObject ("efficient access")
protected final ICommonsList <IMicroNode> directGetAllChildren ()
{
return m_aChildren;
}
示例10: if
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* Returns one of the _SOMETHING_ALPHABET byte arrays depending on the options
* specified. It's possible, though silly, to specify ORDERED <b>and</b>
* URLSAFE in which case one of them will be picked, though there is no
* guarantee as to which one will be picked.
*/
@Nonnull
@ReturnsMutableObject ("design")
private static byte [] _getAlphabet (final int options)
{
if ((options & URL_SAFE) == URL_SAFE)
return _URL_SAFE_ALPHABET;
if ((options & ORDERED) == ORDERED)
return _ORDERED_ALPHABET;
return _STANDARD_ALPHABET;
}
示例11: httpHeaders
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* @return The mutable HTTP header map used inside
*/
@Nonnull
@ReturnsMutableObject
public HttpHeaderMap httpHeaders ()
{
return m_aHTTPHeaders;
}
示例12: internalGetAllLocales
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("Internal use only")
@CodingStyleguideUnaware
protected final Set <Locale> internalGetAllLocales ()
{
return m_aTexts.keySet ();
}
示例13: entries
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
* @return The internal modifiable list of entries. Never <code>null</code>.
* @since 9.0.0
*/
@Nonnull
@ReturnsMutableObject
public ICommonsList <AbstractChangeLogEntry> entries ()
{
return m_aEntries;
}
示例14: if
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("internal use only")
private ICommonsMap <Class <?>, ITypeConverter <?, ?>> _getOrCreateConverterMap (@Nonnull final Class <?> aClass)
{
ICommonsMap <Class <?>, ITypeConverter <?, ?>> ret = m_aRWLock.readLocked ( () -> m_aConverter.get (aClass));
if (ret == null)
{
// Try again in write lock
// Weak hash map because key is a class
ret = m_aRWLock.writeLocked ( () -> m_aConverter.computeIfAbsent (aClass, k -> new CommonsWeakHashMap <> ()));
}
return ret;
}
示例15: entrySet
import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Override
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
public Set <Map.Entry <K, V>> entrySet ()
{
final Set <Map.Entry <K, SoftValue <K, V>>> aSrcEntrySet = m_aSrcMap.entrySet ();
return new SoftEntrySet<> (aSrcEntrySet, m_aQueue);
}