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


Java Pure类代码示例

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


Pure类属于org.eclipse.xtext.xbase.lib包,在下文中一共展示了Pure类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  ColoringParams other = (ColoringParams) obj;
  if (this.uri == null) {
    if (other.uri != null)
      return false;
  } else if (!this.uri.equals(other.uri))
    return false;
  if (this.infos == null) {
    if (other.infos != null)
      return false;
  } else if (!this.infos.equals(other.infos))
    return false;
  return true;
}
 
开发者ID:smarr,项目名称:SOMns-vscode,代码行数:23,代码来源:ColoringParams.java

示例2: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  Unregistration other = (Unregistration) obj;
  if (this.id == null) {
    if (other.id != null)
      return false;
  } else if (!this.id.equals(other.id))
    return false;
  if (this.method == null) {
    if (other.method != null)
      return false;
  } else if (!this.method.equals(other.method))
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:23,代码来源:Unregistration.java

示例3: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  DidOpenTextDocumentParams other = (DidOpenTextDocumentParams) obj;
  if (this.textDocument == null) {
    if (other.textDocument != null)
      return false;
  } else if (!this.textDocument.equals(other.textDocument))
    return false;
  if (this.text == null) {
    if (other.text != null)
      return false;
  } else if (!this.text.equals(other.text))
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:23,代码来源:DidOpenTextDocumentParams.java

示例4: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  TextDocumentSaveRegistrationOptions other = (TextDocumentSaveRegistrationOptions) obj;
  if (this.includeText == null) {
    if (other.includeText != null)
      return false;
  } else if (!this.includeText.equals(other.includeText))
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:20,代码来源:TextDocumentSaveRegistrationOptions.java

示例5: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  ReferenceParams other = (ReferenceParams) obj;
  if (this.context == null) {
    if (other.context != null)
      return false;
  } else if (!this.context.equals(other.context))
    return false;
  return true;
}
 
开发者ID:smarr,项目名称:SOMns-vscode,代码行数:20,代码来源:ReferenceParams.java

示例6: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  WorkspaceEditCapabilities other = (WorkspaceEditCapabilities) obj;
  if (this.documentChanges == null) {
    if (other.documentChanges != null)
      return false;
  } else if (!this.documentChanges.equals(other.documentChanges))
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:18,代码来源:WorkspaceEditCapabilities.java

示例7: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  ShowMessageRequestParams other = (ShowMessageRequestParams) obj;
  if (this.actions == null) {
    if (other.actions != null)
      return false;
  } else if (!this.actions.equals(other.actions))
    return false;
  return true;
}
 
开发者ID:smarr,项目名称:SOMns-vscode,代码行数:20,代码来源:ShowMessageRequestParams.java

示例8: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  NextArguments other = (NextArguments) obj;
  if (this.threadId == null) {
    if (other.threadId != null)
      return false;
  } else if (!this.threadId.equals(other.threadId))
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:18,代码来源:NextArguments.java

示例9: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  CompletionRegistrationOptions other = (CompletionRegistrationOptions) obj;
  if (this.triggerCharacters == null) {
    if (other.triggerCharacters != null)
      return false;
  } else if (!this.triggerCharacters.equals(other.triggerCharacters))
    return false;
  if (this.resolveProvider == null) {
    if (other.resolveProvider != null)
      return false;
  } else if (!this.resolveProvider.equals(other.resolveProvider))
    return false;
  return true;
}
 
开发者ID:smarr,项目名称:SOMns-vscode,代码行数:25,代码来源:CompletionRegistrationOptions.java

示例10: hashCode

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.id== null) ? 0 : this.id.hashCode());
  result = prime * result + ((this.name== null) ? 0 : this.name.hashCode());
  result = prime * result + ((this.path== null) ? 0 : this.path.hashCode());
  result = prime * result + ((this.isOptimized== null) ? 0 : this.isOptimized.hashCode());
  result = prime * result + ((this.isUserCode== null) ? 0 : this.isUserCode.hashCode());
  result = prime * result + ((this.version== null) ? 0 : this.version.hashCode());
  result = prime * result + ((this.symbolStatus== null) ? 0 : this.symbolStatus.hashCode());
  result = prime * result + ((this.symbolFilePath== null) ? 0 : this.symbolFilePath.hashCode());
  result = prime * result + ((this.dateTimeStamp== null) ? 0 : this.dateTimeStamp.hashCode());
  result = prime * result + ((this.addressRange== null) ? 0 : this.addressRange.hashCode());
  return result;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:18,代码来源:Module.java

示例11: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  LeafInfo other = (LeafInfo) obj;
  if (this.container == null) {
    if (other.container != null)
      return false;
  } else if (!this.container.equals(other.container))
    return false;
  if (this.node == null) {
    if (other.node != null)
      return false;
  } else if (!this.node.equals(other.node))
    return false;
  if (other.newLines != this.newLines)
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:xtext-extras,代码行数:25,代码来源:LeafInfo.java

示例12: toString

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public String toString() {
  ToStringBuilder b = new ToStringBuilder(this);
  b.add("firstTriggerCharacter", this.firstTriggerCharacter);
  b.add("moreTriggerCharacter", this.moreTriggerCharacter);
  b.add("documentSelector", getDocumentSelector());
  return b.toString();
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:10,代码来源:DocumentOnTypeFormattingRegistrationOptions.java

示例13: hashCode

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public int hashCode() {
  final int prime = 31;
  int result = 1;
  result = prime * result + ((this.qualifiedName== null) ? 0 : this.qualifiedName.hashCode());
  return result;
}
 
开发者ID:eclipse,项目名称:xtext-extras,代码行数:9,代码来源:TypeResourceDescription.java

示例14: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  if (!super.equals(obj))
    return false;
  SynchronizationCapabilities other = (SynchronizationCapabilities) obj;
  if (this.willSave == null) {
    if (other.willSave != null)
      return false;
  } else if (!this.willSave.equals(other.willSave))
    return false;
  if (this.willSaveWaitUntil == null) {
    if (other.willSaveWaitUntil != null)
      return false;
  } else if (!this.willSaveWaitUntil.equals(other.willSaveWaitUntil))
    return false;
  if (this.didSave == null) {
    if (other.didSave != null)
      return false;
  } else if (!this.didSave.equals(other.didSave))
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:30,代码来源:SynchronizationCapabilities.java

示例15: equals

import org.eclipse.xtext.xbase.lib.Pure; //导入依赖的package包/类
@Override
@Pure
public boolean equals(final Object obj) {
  if (this == obj)
    return true;
  if (obj == null)
    return false;
  if (getClass() != obj.getClass())
    return false;
  return true;
}
 
开发者ID:eclipse,项目名称:lsp4j,代码行数:12,代码来源:RestartArguments.java


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