com.io7m.jnull.Nullable.<init>()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(4.3k)|赞(0)|评价(0)|浏览(136)

本文整理了Java中com.io7m.jnull.Nullable.<init>()方法的一些代码示例,展示了Nullable.<init>()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Nullable.<init>()方法的具体详情如下:
包路径:com.io7m.jnull.Nullable
类名称:Nullable
方法名:<init>

Nullable.<init>介绍

暂无

代码示例

代码示例来源:origin: com.io7m.blueberry/io7m-blueberry-gui

/**
 * @return The qualifier, if any.
 */
public @Nullable String getQualifier()
{
 return this.qualifier;
}

代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom

public
@Nullable
SAXParseException getException()
{
 return this.exception;
}

代码示例来源:origin: com.io7m.jcanephora/com.io7m.jcanephora.fake

@Nullable
FakeIndexBuffer indexBuffer()
{
 synchronized (this.index_buffer_lock) {
  return this.index_buffer;
 }
}

代码示例来源:origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl

@Override
public void init(
 final @Nullable GLAutoDrawable drawable)
{
 // Nothing
}

代码示例来源:origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl

@Override
 public void reshape(
  final @Nullable GLAutoDrawable drawable,
  final int x,
  final int y,
  final int width,
  final int height)
 {
  // Nothing
 }
});

代码示例来源:origin: com.io7m.blueberry/io7m-blueberry-gui

/**
 * @return The icon for the project, if any.
 */
public @Nullable URI getProjectIcon()
{
 return this.project_icon;
}

代码示例来源:origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl

@Override
public void dispose(
 final @Nullable GLAutoDrawable drawable)
{
 // Nothing.
}

代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom

@Override
 public void warning(
  final @Nullable SAXParseException e)
  throws SAXException
 {
  assert e != null;
  SDocumentParser.LOG.warn(e + ": " + e.getMessage());
  this.exception = e;
 }
}

代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom

@Override
public void fatalError(
 final @Nullable SAXParseException e)
 throws SAXException
{
 assert e != null;
 SDocumentParser.LOG.error(e + ": " + e.getMessage());
 this.exception = e;
}

代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom

private static
@Nullable
Elements getElements(
 final Element element,
 final String name)
{
 return element.getChildElements(name, SXML.XML_URI.toString());
}

代码示例来源:origin: com.io7m.jsx/io7m-jsx-parser

@Override
public void add(
 final int index,
 final @Nullable SExpressionType element)
{
 this.data.add(index, NullCheck.notNull(element));
}

代码示例来源:origin: com.io7m.blueberry/io7m-blueberry-gui

@Override public void actionPerformed(
  final @Nullable ActionEvent e)
 {
  final TestCollectionRunner r = runner.get();
  if (r != null) {
   executor.execute(r);
   ButtonRun.this.setEnabled(false);
  }
 }
});

代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom

private static
@Nullable
Integer widthAttribute(
 final Element ec)
{
 final Attribute a = ec.getAttribute("width", SXML.XML_URI.toString());
 if (a == null) {
  return null;
 }
 return Integer.valueOf(a.getValue());
}

代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom

private static
@Nullable
Integer heightAttribute(
 final Element ec)
{
 final Attribute a = ec.getAttribute("height", SXML.XML_URI.toString());
 if (a == null) {
  return null;
 }
 return Integer.valueOf(a.getValue());
}

代码示例来源:origin: com.io7m.jsx/io7m-jsx-parser

@Override
public SExpressionType set(
 final int index,
 final @Nullable SExpressionType element)
{
 return NullCheck.notNull(this.data.set(index, NullCheck.notNull(element)));
}

代码示例来源:origin: com.io7m.jvvfs/io7m-jvvfs-core

FileReference(
 final @Nullable Archive<T> in_archive,
 final PathVirtual in_path,
 final FileReference.Type in_type)
{
 this.archive = in_archive;
 this.path = NullCheck.notNull(in_path, "Path");
 this.type = NullCheck.notNull(in_type, "type");
}

代码示例来源:origin: com.io7m.jwhere/io7m-jwhere-core

@Override public int compareTo(final @Nullable CatalogDiskID o)
 {
  return this.getValue().compareTo(NullCheck.notNull(o).getValue());
 }
}

代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom

private static
@Nullable
SID idAttribute(
 final Element e)
{
 final Attribute eid =
  e.getAttribute("id", "http://www.w3.org/XML/1998/namespace");
 if (eid == null) {
  return null;
 }
 return SID.newID(eid.getValue());
}

代码示例来源:origin: com.io7m.jwhere/io7m-jwhere-core

@Override
 default int compareTo(final @Nullable CatalogVerificationReportItemType o)
 {
  return this.getPath().compareTo(NullCheck.notNull(o).getPath());
 }
}

代码示例来源:origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl

@Override
public void mousePressed(
 final @Nullable MouseEvent e)
{
 assert e != null;
 if (e.isButtonDown(2)) {
  this.saved = Vector2I.of(e.getX(), e.getY());
  this.input.setTargetMovingContinuousForward(0.0);
  this.input.setTargetMovingContinuousRight(0.0);
  this.renderer.sendWantWarpPointer();
 }
}

相关文章