• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java ReturnsMutableObject类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.helger.commons.annotation.ReturnsMutableObject的典型用法代码示例。如果您正苦于以下问题:Java ReturnsMutableObject类的具体用法?Java ReturnsMutableObject怎么用?Java ReturnsMutableObject使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ReturnsMutableObject类属于com.helger.commons.annotation包,在下文中一共展示了ReturnsMutableObject类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: getSortedInline

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nullable
@ReturnsMutableObject ("design")
@CodingStyleguideUnaware
public static <ELEMENTTYPE extends Comparable <? super ELEMENTTYPE>, LISTTYPE extends List <ELEMENTTYPE>> LISTTYPE getSortedInline (@Nullable final LISTTYPE aList)
{
  if (isNotEmpty (aList))
    aList.sort (null);
  return aList;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:10,代码来源:CollectionHelper.java


示例17: getReverseInlineList

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nullable
@ReturnsMutableObject ("semantics of this method")
@CodingStyleguideUnaware
public static <ELEMENTTYPE, LISTTYPE extends List <ELEMENTTYPE>> LISTTYPE getReverseInlineList (@Nullable final LISTTYPE aList)
{
  if (aList == null)
    return null;

  Collections.reverse (aList);
  return aList;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:12,代码来源:CollectionHelper.java


示例18: getConcatenatedInline

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
@Nonnull
@ReturnsMutableObject ("design")
@SafeVarargs
@CodingStyleguideUnaware
public static <ELEMENTTYPE, COLLTYPE extends Collection <? super ELEMENTTYPE>> COLLTYPE getConcatenatedInline (@Nonnull final COLLTYPE aCont,
                                                                                                               @Nullable final ELEMENTTYPE... aElementsToAdd)
{
  ValueEnforcer.notNull (aCont, "Container");

  if (aElementsToAdd != null)
    Collections.addAll (aCont, aElementsToAdd);
  return aCont;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:14,代码来源:CollectionHelper.java


示例19: directGetBuffer

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
 * @return The internally used byte buffer. Never <code>null</code>. Handle
 *         with care!
 */
@Nonnull
@ReturnsMutableObject
public byte [] directGetBuffer ()
{
  return m_aBuf;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:11,代码来源:NonBlockingByteArrayOutputStream.java


示例20: directGetBuffer

import com.helger.commons.annotation.ReturnsMutableObject; //导入依赖的package包/类
/**
 * @return The internally used char array. Never <code>null</code>. Handle
 *         with care!
 */
@Nonnull
@ReturnsMutableObject ("by design")
public char [] directGetBuffer ()
{
  return m_aBuf;
}
 
开发者ID:phax,项目名称:ph-commons,代码行数:11,代码来源:NonBlockingCharArrayWriter.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ClusterStatusChore类代码示例发布时间:2022-05-23
下一篇:
Java OpenNewClassWizardAction类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap