当前位置: 首页>>代码示例>>Java>>正文


Java ReturnsMutableObject类代码示例

本文整理汇总了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;
}
 
开发者ID:phax,项目名称:ph-as4,代码行数:8,代码来源:DataContentHandlerSoap12.java

示例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;
}
 
开发者ID:phax,项目名称:peppol-directory,代码行数:11,代码来源:PDExtendedBusinessCard.java

示例3: directGetSource

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
protected Collection <ELEMENTTYPE> directGetSource ()
{
  return m_aSrc;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:8,代码来源:WrappedCollection.java

示例4: directGetSource

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
protected Set <ELEMENTTYPE> directGetSource ()
{
  return m_aSrc;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:8,代码来源:WrappedSet.java

示例5: directGetSource

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
protected List <ELEMENTTYPE> directGetSource ()
{
  return m_aSrc;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:8,代码来源:WrappedList.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:13,代码来源:EigenvalueDecomposition.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:13,代码来源:EigenvalueDecomposition.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:11,代码来源:WrappedCollectingValidationEventHandler.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:11,代码来源:AbstractMicroNodeWithChildren.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:17,代码来源:Base64.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:10,代码来源:WSClientConfig.java

示例12: internalGetAllLocales

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("Internal use only")
@CodingStyleguideUnaware
protected final Set <Locale> internalGetAllLocales ()
{
  return m_aTexts.keySet ();
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:8,代码来源:AbstractReadOnlyMapBasedMultilingualText.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:11,代码来源:ChangeLog.java

示例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;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:15,代码来源:TypeConverterRegistry.java

示例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);
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:9,代码来源:AbstractSoftMap.java


注:本文中的com.helger.commons.annotation.ReturnsMutableObject类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。