本文整理了Java中com.io7m.jnull.Nullable
类的一些代码示例,展示了Nullable
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Nullable
类的具体详情如下:
包路径:com.io7m.jnull.Nullable
类名称:Nullable
暂无
代码示例来源: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.jcamera/com.io7m.jcamera.examples.jogl
@Override
public void dispose(
final @Nullable GLAutoDrawable drawable)
{
// Nothing.
}
代码示例来源:origin: com.io7m.jcanephora/com.io7m.jcanephora.lwjgl3
@Nullable
LWJGL3IndexBuffer indexBuffer()
{
synchronized (this.index_buffer_lock) {
return this.index_buffer;
}
}
代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom
/**
* Called upon creation of the XHTML body element. If the function returns
* an element, then the returned element becomes the new parent of any
* subsequently generated elements (effectively becoming the "container" for
* the generated document).
*
* @return The element that will be used as the container for the generated
* document
* @param body
* The XHTML body element
*/
@Nullable Element onBodyStart(
final Element body);
代码示例来源:origin: com.io7m.blueberry/io7m-blueberry-gui
/**
* @return The URI for the project, if any.
*/
public @Nullable URI getProjectURI()
{
return this.project_uri;
}
代码示例来源:origin: com.io7m.jcamera/com.io7m.jcamera.examples.jogl
@Override
public void dispose(
final @Nullable GLAutoDrawable drawable)
{
// Nothing
}
代码示例来源:origin: com.io7m.jvvfs/io7m-jvvfs-core
final @Nullable Archive<T> getArchive()
{
return this.archive;
}
代码示例来源: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.jfunctional/io7m-jfunctional-core
@Override
public boolean equals(
final @Nullable Object obj)
{
return this == obj || obj != null && this.getClass() == obj.getClass();
}
代码示例来源:origin: com.io7m.jfunctional/io7m-jfunctional-core
@Override
public boolean equals(
final @Nullable Object obj)
{
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
return this.getClass() == obj.getClass();
}
代码示例来源:origin: com.io7m.jstructural/io7m-jstructural-xom
@Override
public void error(
final @Nullable SAXParseException e)
throws SAXException
{
assert e != null;
SDocumentParser.LOG.error(e + ": " + e.getMessage());
this.exception = e;
}
代码示例来源:origin: com.io7m.jvvfs/io7m-jvvfs-core
private @Nullable ZipEntry expensiveDirectoryLookup(
final String name)
{
final Enumeration<? extends ZipEntry> entries = this.zip.entries();
while (entries.hasMoreElements()) {
final ZipEntry e = entries.nextElement();
final String entry_name = e.getName();
if (entry_name.startsWith(name)) {
return e;
}
}
return null;
}
代码示例来源: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());
}
内容来源于网络,如有侵权,请联系作者删除!