text
stringlengths
7
995k
/* * JBoss, Home of Professional Open Source * Copyright 2009, Red Hat, Inc. and/or its affiliates, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * y...
import org.checkerframework.checker.nullness.qual.*; class AnnotatedGenerics3 { class Cell<T extends @Nullable Object> { T f; Cell(T i) { f = i; } void setNull(Cell<@Nullable T> p) { p.f = null; } void indirect(Cell<T> p) { // :...
package net.bramp.ffmpeg.nut; import com.google.common.base.Objects; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; public class Packet { static final Logger LOG = LoggerFactory.getLogger(Packet.class); public enum Startcode { MAIN(0x7A561F5F04ADL + (((long) ('N' << 8)...
/* * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
package com.commercetools.api.client; import io.vrap.rmf.base.client.ApiHttpClient; import io.vrap.rmf.base.client.utils.Generated; @Generated(value = "io.vrap.rmf.codegen.rendring.CoreCodeGenerator", comments = "https://github.com/vrapio/rmf-codegen") public class ByProjectKeyMePasswordResetRequestBuilder { pri...
/* * Copyright (C) 2016 AriaLyy(https://github.com/AriaLyy/Aria) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * $HeadURL$ * $Id$ * Copyright (c) 2006-2013 by Public Library of Science http://plos.org http://ambraproject.org * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at http://www.apache.org/...
package fr.project.multimodule.restapi; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.data.jpa.repository.config.EnableJpaRepositories; @ComponentScan(baseP...
/* * Copyright 2019 - JCoder Ltd */ package io.jcoder.tutorials.ch05.inheritance.methodsandfields; /** * Example class used to show methods and fields when inheritance is involved. * * <p> * https://jcoder.io/content/course/java/beginners/ch05/inheritancemethodsandfields * </p> * * @author Camilo Gonzalez ...
/* * Copyright (C) 2015 Square, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
package com.sirma.javacourse.reflection.arrangmentofobjects; /** * A parent class with an overridden compareTo method, to support sorting of the array of child * classes from their annotations. */ class ParentClass { }
package weibo4j.org.json; import java.util.Collection; import java.util.Iterator; import java.util.Map; import java.io.StringWriter; /** * Test class. This file is not formally a member of the org.json library. * It is just a casual test tool. */ public class Test { /** * Entry point. * @param args ...
// // ======================================================================== // Copyright (c) 1995-2018 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
package com.mpri.aio.system.utils; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.image.BufferedImage; import java.util.HashMap; import java.util.Map; import java.util.Random; /** * 验证码生成工具 * @author Cary * @date 2018年8月3日 */ public class CaptchaUtil { private static i...
package org.apache.flink.connector.redis.mapper; import org.apache.flink.api.common.typeinfo.TypeInformation; import org.apache.flink.table.types.DataType; import java.io.Serializable; import java.util.Set; public interface RedisMapper extends Serializable { RedisCommand getCommand(); Integer getKeyTtl(); ...
package com.thc.domain; import java.util.List; public class PageBean { private int pageNo;//当前页数 private int pageSize;//每页显示的数量 private int totalCount;//一共有多少个商品信息数据 private int totalPage;//一共有多少页数据 private List<Product> products;//商品信息数据的集合 public int getPageNo() { return pageNo; ...
package com.koch.ambeth.cache.util; /*- * #%L * jambeth-cache * %% * Copyright (C) 2017 Koch Softwaredevelopment * %% * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache....
/* * Copyright (c) 2002-2021 Gargoyle Software Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
/* * Copyright 2006-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
<!-- Copyright 2020 Kansaneläkelaitos Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
/* * Copyright (c) 2010-2021 Allette Systems (Australia) * http://www.allette.com.au * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0...
/** * Copyright 2020 Alibaba Group Holding Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
package org.tat.fni.api.common.emumdata; public enum EndorsementStatus { REPLACE("Replace"), TERMINATE_BY_CUSTOMER("Terminate By Customer"), TERMINATE_BY_INSURER("Terminate By Insurer"), TERMINATE("Terminate"), TERMINATE_BY_RENEWAL("Terminate By Renewal"), EDIT("Edit"), NEW("New"); private String label;...
/** * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com). * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * <p> * http://www.apache.org/licenses/LICENSE-2.0 * <p> * Unl...
package com.example.jingbin.cloudreader.ui.menu; import android.Manifest; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.view.View; import com.example.jingbin.cloudreader.R; import com.example.jingbin.cloudreader.app.Cons...
/* * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under t...
package beans; public class User { private String password; private String username; public User(String username, String password) { this.username = username; this.password = password; } /** * @return the password */ public String getPassword() { return password; } /** * @param password the pas...
package havis.app.modbus.reader.api; public class ModuleException extends Exception { private static final long serialVersionUID = -7616644322343256345L; public ModuleException(String message, Throwable cause) { super(message, cause); } public ModuleException(String message) { super(message); } }
/* * The MIT License (MIT) * * Copyright (c) 2017 Comapi (trading name of Dynmark International Limited) * * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated * documentation files (the "Software"), to deal in the Software without restriction, including w...
package nom.tam.fits.compression.algorithm.quant; /* * #%L * nom.tam FITS library * %% * Copyright (C) 1996 - 2015 nom-tam-fits * %% * This is free and unencumbered software released into the public domain. * * Anyone is free to copy, modify, publish, use, compile, sell, or * distribute this software, either...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package hr.yeti.notebook.index; import java.util.HashSet; import java.util.Set; import java.util.StringTokenizer; public class Tokenizer { public static Set<String> tokenize(String text) { Set<String> tokens = new HashSet<>(); String lowercase = text.toLowerCase(); String alphanumeric = lowercase.repla...
package aQute.bnd.differ; import static aQute.bnd.service.diff.Delta.CHANGED; import static aQute.bnd.service.diff.Delta.IGNORED; import static aQute.bnd.service.diff.Delta.MAJOR; import static aQute.bnd.service.diff.Delta.MICRO; import static aQute.bnd.service.diff.Delta.MINOR; import static aQute.bnd.service.diff.Ty...
package com.gitee.bullshit.code; import com.baomidou.mybatisplus.core.toolkit.Wrappers; public class PreAfterList { // 需求:根据 ID 获取指定 ID 文章,包括当前 ID 及上一条和下一条的内容集合 // 原样贴出天才同事的操作如下,看完肺都气炸了!! 看官们你觉得正确做法是什么?? public ArticleVO getArticleVO(Long id) { ArticleVO vo = new ArticleVO(getById(id)); L...
package gov.uk.courtdata.laastatus.impl; import gov.uk.courtdata.dto.CourtDataDTO; import gov.uk.courtdata.laastatus.processor.UpdateDefendantInfoProcessor; import gov.uk.courtdata.laastatus.processor.UpdateOffenceInfoProcessor; import gov.uk.courtdata.laastatus.processor.UpdateWqCoreInfoProcessor; import gov.uk.court...
package org.voltdb.iotcars; import java.util.Arrays; import org.voltdb.client.Client; public class SimpleIOTDemo extends BaseIOTDemo { public static void main(String[] args) { msg("Parameters:" + Arrays.toString(args)); if (args.length != 1) { msg("Usage: hostnames"); ...
package io.quarkus.micrometer.runtime.binder.vertx; import io.quarkus.micrometer.runtime.binder.HttpRequestMetric; import io.vertx.core.Context; import io.vertx.core.Handler; import io.vertx.core.Vertx; import io.vertx.ext.web.RoutingContext; /** * High priority handler that sets the Vertx RouterContext * attribute...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
package com.eventyay.organizer.core.organizer.update; import androidx.annotation.VisibleForTesting; import androidx.lifecycle.LiveData; import androidx.lifecycle.ViewModel; import com.eventyay.organizer.common.livedata.SingleEventLiveData; import com.eventyay.organizer.common.rx.Logger; import com.eventyay.organizer....
package com.base.basepedo.service; import android.app.Service; import android.content.Intent; import android.os.IBinder; /** * DO NOT do anything in this Service!<br/> * * */ public class DaemonService extends Service{ @Override public IBinder onBind(Intent intent) { return null; } @Over...
/** * Implementations of {@link * org.anchoranalysis.image.feature.bean.object.single.FeatureSingleObject} that use {@link * org.anchoranalysis.core.identifier.provider.store.SharedObjects} for calculations, and measure * the degree of intersection between objects. */ package org.anchoranalysis.plugin.image.featur...
/* Copyright 2020-2021. Huawei Technologies Co., Ltd. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License") you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Un...
package interpreter.expr; public enum RelOp { EqualsOp, NotEqualsOp, LowerThanOp, LowerEqualOp, GreaterThanOp, GreaterEqualOp, ContainsOp };
package org.guess.showcase.cms.controller; import java.util.List; import java.util.Map; import java.util.Set; import javax.servlet.http.HttpServletRequest; import org.guess.core.orm.Page; import org.guess.core.orm.PropertyFilter; import org.guess.core.web.BaseController; import org.guess.showcase.cms.model.Link; imp...
package com.direwolf20.buildinggadgets.tools; import com.direwolf20.buildinggadgets.Config; import com.direwolf20.buildinggadgets.ModBlocks; import com.direwolf20.buildinggadgets.items.BuildingTool; import com.direwolf20.buildinggadgets.items.ExchangerTool; import com.direwolf20.buildinggadgets.items.FakeBuilderWorld;...
/* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.example.android.bluetoothlegatt; public final class R { public static final class attr { /** <p>Must be a color v...
package com.sbansal.todoappsb; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.widget.AdapterView; import android.widget.ArrayAdapter; import android.widget.EditTex...
package ezvcard.property; import java.io.File; import java.io.IOException; import java.io.InputStream; import ezvcard.parameter.ImageType; /* Copyright (c) 2012-2021, Michael Angstadt All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided tha...
/* * * * Copyright 2020 New Relic Corporation. All rights reserved. * * SPDX-License-Identifier: Apache-2.0 * */ package com.newrelic.agent.instrumentation.classmatchers; import com.google.common.base.Supplier; import com.google.common.collect.Multimaps; import com.google.common.collect.SetMultimap; import com...
/* * Copyright 2017 LINE Corporation * * LINE Corporation licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
/* Copyright 2016 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
/* * Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "lice...
/* $This file is distributed under the terms of the license in LICENSE$ */ package edu.cornell.mannlib.vitro.webapp.controller.freemarker; import javax.servlet.ServletContext; import javax.servlet.ServletContextEvent; import javax.servlet.ServletContextListener; import org.apache.commons.logging.Log; import org.apac...
/* ******************************************************************************* * Copyright (c) 2019 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the ...
/* * Copyright 2019-2020 Guangxing * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
package de.mpg.cbs.jist.segmentation; import edu.jhu.ece.iacl.jist.pipeline.AlgorithmRuntimeException; import edu.jhu.ece.iacl.jist.pipeline.CalculationMonitor; import edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm; import edu.jhu.ece.iacl.jist.pipeline.parameter.ParamCollection; import edu.jhu.ece.iacl.jist.pipel...
/* * OpenAPI Petstore * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-gener...
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
/* List.addAll() has a side effect, and so it should not be removed when identified as a dead store. */ import java.util.List; import java.util.ArrayList; public class ShouldNotRemoveListAddAll { public List<Integer> concatenate(List<Integer> lhs, List<Integer> rhs) { List<Integer> base = new ArrayList<>...
/* * Licensed to Metamarkets Group Inc. (Metamarkets) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Metamarkets licenses this file * to you under the Apache License, Version 2.0 (the * "License"); yo...
package ysoserial.payloads.util; import java.io.File; import java.util.concurrent.Callable; import ysoserial.Deserializer; import ysoserial.Serializer; import static ysoserial.Deserializer.deserialize; import static ysoserial.Serializer.serialize; import ysoserial.payloads.ObjectPayload; import ysoserial.payloads.Obj...
package io.micronaut.docs.function.aws; import io.micronaut.context.annotation.Factory; import io.micronaut.function.FunctionBean; import java.util.function.Function; @Factory public class FunctionsFactory { @FunctionBean("reverse") public Function<String, String> helloWorld() { return FunctionsFactor...
package com.mhlab.br.utils; import com.mhlab.br.jpa.entity.Account; import lombok.extern.slf4j.Slf4j; import javax.servlet.http.HttpSession; import java.util.Optional; /** * HttpSession 관련 처리 클래스 * * Created by MHLab on 2017. 11. 30.. */ @Slf4j public class SessionHelper { public static final String S_IN_A...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Softwar...
/** * Copyright 2021 Shulie Technology, Co.Ltd * Email: shulie@shulie.io * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requi...
package org.openprovenance.prov.tutorial.tutorial6; import static org.openprovenance.prov.template.expander.ExpandUtil.TMPL_NS; import static org.openprovenance.prov.template.expander.ExpandUtil.VAR_NS; import java.io.InputStream; import java.util.Collection; import java.util.Collections; import java.util.LinkedList;...
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you m...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * <p>This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ package com.parteone; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient; import com.face...
package datawave.query.jexl.visitors; import datawave.query.jexl.JexlNodeFactory; import org.apache.commons.jexl2.parser.ASTJexlScript; import org.apache.commons.jexl2.parser.ASTNumberLiteral; import org.apache.commons.jexl2.parser.ASTUnaryMinusNode; import org.apache.commons.jexl2.parser.JexlNode; import org.apache....
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ package com...
package org.drools.brms.client; /* * Copyright 2005 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * 作者:钟勋 (e-mail:zhongxunking@163.com) */ /* * 修订记录: * @author 钟勋 2017-12-19 10:06 创建 */ package org.antframework.common.util.query.annotation; import org.antframework.common.util.query.QueryParam; import org.antframework.common.util.query.annotation.operator.*; import org.junit.Assert; import org.junit.Test;...
/** * Copyright © 2017 Jeremy Custenborder (jcustenborder@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
package com.sciatta.dev.java.nio.gateway.impl.outbound.asynchttpclient; import java.util.concurrent.ThreadFactory; import java.util.concurrent.atomic.AtomicInteger; /** * Created by yangxiaoyu on 2020/11/4<br> * All Rights Reserved(C) 2017 - 2020 SCIATTA<br><p/> * NamedThreadFactory */ public class NamedThreadFac...
/** * Copyright 2009-2021 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
package com.iteratec.springbootservice.dto; import lombok.Builder; import lombok.Data; import lombok.experimental.Tolerate; @Data @Builder public class BaseDto { private Long id; private String payload; @Tolerate public BaseDto() { // Empty } }
package com.dar.nclientv2.components; import android.content.Context; import org.acra.config.CoreConfiguration; import org.acra.sender.ReportSender; import org.acra.sender.ReportSenderFactory; import androidx.annotation.NonNull; public class MySenderFactory implements ReportSenderFactory{ @NonNull @Override...
package com.littlecorgi.my.logic; import android.content.SharedPreferences; import com.littlecorgi.commonlib.logic.TencentServerRetrofitKt; import com.littlecorgi.commonlib.util.UserSPConstant; import com.littlecorgi.my.logic.model.SignUpResponse; import com.littlecorgi.my.logic.model.Student; import com.littlecorgi.m...
package com.atguigu.gmall.sms.entity; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.math.BigDecimal; import java.io.Serializable; import java.util.Date; import...
/* * Copyright (c) 2013-2018, Bingo.Chen (finesoft@gmail.com). * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
/** * */ package bor.vulkan.sweet; /** * @author Alessandro Borges * */ public class PipelineLayout { }
/* * [The "BSD licence"] * Copyright (c) 2017 ZhaoHai * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, th...
package org.glob3.mobile.generated; // // ByteBufferBuilder.cpp // G3MiOSSDK // // Created by Diego Gomez Deck on 1/3/13. // // // // ByteBufferBuilder.hpp // G3MiOSSDK // // Created by Diego Gomez Deck on 1/3/13. // // //class IByteBuffer; public class ByteBufferBuilder { private java.util.ArrayList<Byte...
package edu.rosehulman.android.directory.model; import android.os.Parcel; import android.os.Parcelable; public class PersonScheduleItem implements Parcelable { public String course; public String courseName; public int section; public int hourStart; public int hourEnd; public String room; public PersonSchedu...
package de.onestydirect.openiban.data.loader.services; import de.onestydirect.openiban.data.loader.model.BankData; import de.onestydirect.openiban.data.loader.model.repository.BankDataRepository; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; import jav...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
//package com.example.dreamteam.beergram.tabs; // //import android.os.Bundle; //import android.support.design.widget.TabLayout; //import android.support.v4.app.Fragment; //import android.support.v4.app.FragmentManager; //import android.support.v4.app.FragmentPagerAdapter; //import android.support.v4.view.ViewPager; //i...
package com.mall.fegin.entity; import lombok.Data; import java.math.BigDecimal; /** * @author cheng * @date 2020/5/13 12:16 */ @Data public class EsUserInfo { private Integer id; private String username; private String email; private BigDecimal earning; private Integer familyPop; pri...
package com.utils; import java.io.Serializable; import java.util.List; import java.util.Map; import com.baomidou.mybatisplus.plugins.Page; /** * 分页工具类 */ public class PageUtils implements Serializable { private static final long serialVersionUID = 1L; //总记录数 private long total; //每页记录数 private int pageSize; ...
/* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * * The contents of this file are subject to the terms of either the GNU * General Public License Version 2 only ("GPL") or the Common * Development and Distribution License("CDDL") (col...
package graphql.language; import graphql.Internal; import graphql.PublicApi; import graphql.util.TraversalControl; import graphql.util.TraverserContext; import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.function.Consumer; import static graphql....
/* * Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
package org.sagebionetworks.repo.manager; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers....
package com.lrtech.consensus.validation; import lombok.AllArgsConstructor; import lombok.Data; @Data @AllArgsConstructor public class Violation { public static final Violation SUCCESS = new Violation(0, "操作成功"); int code; String message; }
package me.katherinelazar.parstagram; import android.content.Context; import android.support.test.InstrumentationRegistry; import android.support.test.runner.AndroidJUnit4; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; /** * Instrumented test, which will execute on an An...
package uk.co.omegaprime.mdbi; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; /** The whole point of this interface is to give {@link Statement} and {@link PreparedStatement} a common API for use in {@link BatchRead}. */ public interface Statemen...
class A{ { String xxxx; String a = <caret> } }
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.ccr.action; import com.carrotsearch.hppc.Long...
package com.shsrobotics.omicronsquark.commands; public class RaiseBlocker extends CommandBase { public RaiseBlocker() { requires(blocker); } protected void initialize() { blocker.raise(); } protected void execute() { } protected boolean isFinished() { return false; } protected void end() { interr...