text stringlengths 7 1.01M |
|---|
package com.qf.service;
import com.qf.dto.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient("shop-search-service")
public interface ISearchService {
@RequestM... |
/**
* Copyright 2018 LinkedIn Corporation. All rights reserved. Licensed under the BSD-2 Clause license.
* See LICENSE in the project root for license information.
*/
package com.linkedin.tony;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import static com.linkedin.tony.Constants.S... |
package com.fasterxml.jackson.dataformat.xml.ser;
import java.io.IOException;
import java.util.Set;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.BeanPropertyWri... |
package com.itridtechnologies.resturantapp.model;
public class OrderDetailModel {
private String mQty;
private String mOrderNamel;
private String mPrice;
public OrderDetailModel(String mQty, String mOrderNamel, String mPrice) {
this.mQty = mQty;
this.mOrderNamel = mOrderNamel;
... |
/*
* JAHM - Java Advanced Hierarchical Model
*
* ValidateAction.java
*
* Copyright 2009 Robert Arvin Dunnagan
*
* 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://ww... |
package org.intermine.api.query;
/*
* Copyright (C) 2002-2014 FlyMine
*
* This code may be freely distributed and modified under the
* terms of the GNU Lesser General Public Licence. This should
* be distributed with the code. See the LICENSE file for more
* information or http://www.gnu.org/copyleft/lesser.ht... |
import java.awt.BorderLayout;
import javax.swing.DefaultListSelectionModel;
import javax.swing.JFrame;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.ListSelectionModel;
import javax.swing.table.DefaultTableColumnModel;
import javax.swing.table.TableColumn;
import javax.swing.table.Table... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014 daimajia
* Modifications Copyright(C) 2016 Fred Grott(GrottWorkShop)
*
* 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 restri... |
package com.yunbao.video.interfaces;
import com.yunbao.video.adapter.MusicAdapter;
import com.yunbao.video.bean.MusicBean;
/**
* Created by cxf on 2018/12/7.
*/
public interface VideoMusicActionListener {
void onPlayMusic(MusicAdapter adapter, MusicBean bean, int position);
void onStopMusic();
void o... |
package com.xtoon.boot.infrastructure.persistence.mybatis.repository.impl;
import com.xtoon.boot.domain.repository.UserRepository;
import org.junit.jupiter.api.Test;
import org.junit.runner.RunWith;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
... |
package invtweaks;
import cpw.mods.fml.common.Loader;
import invtweaks.api.IItemTree;
import invtweaks.api.IItemTreeItem;
import invtweaks.api.SortingMethod;
import invtweaks.api.container.ContainerSection;
import invtweaks.forge.InvTweaksMod;
import net.minecraft.client.Minecraft;
import net.minecraft.client.audio.Po... |
/*
* @(#)file RmiConnectorServerObject.java
* @(#)author Sun Microsystems, Inc.
* @(#)version 1.18
* @(#)date 07/10/01
*
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.
*
* The contents of this file are subject ... |
package com.pengxl.petassistant;
import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ComponentName;
import android.content.Intent;
import android.graphics.Bitmap;
import and... |
package net.catchpole.web.servlet;
// Copyright 2014 catchpole.net
//
// 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
//
// ... |
/*
*
*/
package net.community.chest.dom.xpath.test;
import java.io.PrintStream;
import java.util.Collection;
import net.community.chest.dom.DOMUtils;
import net.community.chest.dom.xpath.manip.XPathManipulationData;
import net.community.chest.dom.xpath.manip.XPathManipulationListener;
import org.w3c.dom.Attr;
impo... |
/*
* Copyright 2017-2017 Spotify AB
* Copyright 2017-2019 The Last Pickle Ltd
*
* 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
*
* ... |
package com.example.kuouweather.util;
import android.text.TextUtils;
import com.example.kuouweather.db.City;
import com.example.kuouweather.db.County;
import com.example.kuouweather.db.Province;
import com.example.kuouweather.gson.Weather;
import com.google.gson.Gson;
import org.json.JSONArray;
import org.json.JSONE... |
/*
* Copyright 2012-2019 MarkLogic Corporation
*
* 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... |
package com.google.android.gms.internal.ads;
final class zzbeq extends zzben {
zzbeq() {
}
private static int zza(byte[] bArr, int i, long j, int i2) {
if (i2 == 0) {
return zzbem.zzda(i);
}
if (i2 == 1) {
return zzbem.zzz(i, zzbek.zza(bArr, j));
}
... |
public class Foo {
void m(int x) {
x.sameKey<caret>
}
} |
package ai.api.test;
/**
* ********************************************************************************************************************
* <p/>
* API.AI Android SDK - client-side libraries for API.AI
* =================================================
* <p/>
* Copyright (C) 2014 by Speaktoit, Inc. (https:... |
/*
* Copyright 2015-2020 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 "licen... |
package csu.standard.simplePartition;
public class StandardPoint<T extends Number> {
private T x_;
private T y_;
public StandardPoint(T x, T y) {
this.x_ = x;
this.y_ = y;
}
public T getX() {
return x_;
}
public void setX(T x) {
this.x_ = x;
}
public T getY() {
return y_;
}
public void setY(T... |
/**
* Logback: the reliable, generic, fast and flexible logging framework.
* Copyright (C) 1999-2015, QOS.ch. All rights reserved.
*
* This program and the accompanying materials are dual-licensed under
* either the terms of the Eclipse Public License v1.0 as published by
* the Eclipse Foundation
*
* ... |
package com.zhangxin.study.mvp.presenter.impl;
import com.zhangxin.study.mvp.model.LoginModel;
import com.zhangxin.study.mvp.model.entities.User;
import com.zhangxin.study.mvp.model.impl.LoginModelImpl;
import com.zhangxin.study.mvp.presenter.LoginPresenter;
import com.zhangxin.study.mvp.presenter.OnLoginFinishedListe... |
package com.gc.nfc.component;
import android.content.Context;
import android.util.Log;
import com.alibaba.sdk.android.push.AliyunMessageIntentService;
import com.alibaba.sdk.android.push.notification.CPushMessage;
import java.util.Map;
import static com.gc.nfc.component.MyMessageReceiver.REC_TAG;
/**
* Created b... |
package net.glowstone.scoreboard;
import net.glowstone.util.nbt.CompoundTag;
import net.glowstone.util.nbt.NbtOutputStream;
import org.bukkit.scoreboard.DisplaySlot;
import org.bukkit.scoreboard.Objective;
import org.bukkit.scoreboard.Score;
import org.bukkit.scoreboard.Team;
import java.io.DataOutputStream;
import j... |
package br.com.caelum.tubaina.parser.html;
import br.com.caelum.tubaina.chunk.TodoChunk;
import br.com.caelum.tubaina.parser.Tag;
public class TodoTagTemplate implements Tag<TodoChunk> {
private TodoTagTemplate template = new TodoTagTemplate();
@Override
public String parse(TodoChunk chunk) {
return template.... |
/*
* SPDX-License-Identifier: Apache-2.0
*
* The OpenSearch Contributors require contributions made to
* this file be licensed under the Apache-2.0 license or a
* compatible open source license.
*/
package org.opensearch.indices.replication;
import org.opensearch.OpenSearchException;
import org.opensearch.actio... |
package net.haesleinhuepf.clij2.converters.helptypes;
public class Char1 {
public char[] data;
public Char1(char[] data) {
this.data = data;
}
}
|
import java.util.*;
import java.io.*;
public class Main
{
public static void main(String[] arg)
{
new Main();
}
public Main()
{
Scanner cin=new Scanner(new BufferedInputStream(System.in));
int m=cin.nextInt(),k=cin.nextInt();
int[] d=new int[m],s=new int[m];
for (int i=0;i<m;i++)
{
... |
package org.zstack.sdk;
import java.util.HashMap;
import java.util.Map;
import org.zstack.sdk.*;
public class DeletePortForwardingRuleAction extends AbstractAction {
private static final HashMap<String, Parameter> parameterMap = new HashMap<>();
private static final HashMap<String, Parameter> nonAPIParamete... |
package com.dream.work.entity;
/**
* Created by Dream on 2017/3/3.
*/
public class UserInfo {
//用户id
private int uid;
//用户昵称
private String uname;
// 用户手机
private long mobile;
// 用户个性签名
private String uintro;
// 用户头像地址
private String uavatar;
// 用户年龄
privat... |
/*
* 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... |
/*
* 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 ... |
package shittymcsuggestions.mixin.block;
import net.minecraft.block.Block;
import net.minecraft.block.Blocks;
import net.minecraft.block.PistonBlock;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
import shittymcsuggesti... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/speech/v1beta1/cloud_speech.proto
package com.google.cloud.speech.v1beta1;
public final class SpeechProto {
private SpeechProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registr... |
/*-
* ============LICENSE_START=======================================================
* SDC
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
* ===================================================================... |
/*
* 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
* "Lic... |
/*
* 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 ... |
// Tags: JDK1.4
// Copyright (C) 2004 David Gilbert (david.gilbert@object-refinery.com)
// This file is part of Mauve.
// Mauve is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2, or (at your o... |
package io.gomint.server.world.block;
import io.gomint.inventory.item.ItemStack;
import io.gomint.math.BlockPosition;
import io.gomint.math.Location;
import io.gomint.math.MathUtils;
import io.gomint.math.Vector;
import io.gomint.server.entity.EntityLiving;
import io.gomint.server.util.random.WeightedRandom;
import io... |
/*
* Copyright (c) 2020 GeekXYZ.
* All rights reserved.
*/
package io.geekshop.mapper;
import io.geekshop.entity.StockMovementEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* Created on Nov, 2020 by @author bobo
*/
@Mapper
public interface StockM... |
package frontend.user.features;
import frontend.common.demographic_information.DemographicInformationView;
import frontend.print.BloodBookPrinter;
import frontend.user.features.all_blood_donor_request.AllActiveBloodDonorRequestView;
import frontend.user.features.all_blood_receiver_request.AllActiveBloodReceiverRequest... |
package com.xxxifan.devbox.library.callbacks;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import java.io.IOException;
/**
* Created by xifan on 15-7-25.
*/
public class HttpCallbackHandler extends Handler {
private HttpCallback mHttpCallback;
public HttpCallbackHandler(... |
package com.github.set.demo5;
/**
* @author 许大仙
* @version 1.0
* @since 2021-09-29 14:30
*/
public class Person implements Comparable<Person> {
private String name;
private int age;
public Person() {}
public Person(String name, int age) {
this.name = name;
this.age = age;
}
... |
package de.fau.clients.orchestrator.nodes;
/**
* Enum to internally distinguish between (un-)supported MIME types.
*/
public enum InternalContentType {
/**
* No support for the given content type.
*/
UNSUPPORTED,
/**
* Unknown content type.
*/
UNKNOWN,
/**
* Supported ima... |
package net.icelane.amplifire.database.sql;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.HashMap;
import net.icelane.amplifire.player.AudioFile;
import java.io.File;
/**
* amplifier - Audio-Player Project
*
* @author Oliver Daus / Luca Madonia
*
*/
public class Lo... |
package com.alipay.api.response;
import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.AuthApiDTO;
import com.alipay.api.AlipayResponse;
/**
* ALIPAY API: alipay.open.app.api.query response.
*
* @autho... |
package com.mmzsblog.springboot.controller;
import com.mmzsblog.springboot.service.SendMail;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
@RestController
public class SendMailController {
@Resource
privat... |
/*
// Licensed to Julian Hyde under one or more contributor license
// agreements. See the NOTICE file distributed with this work for
// additional information regarding copyright ownership.
//
// Julian Hyde licenses this file to you under the Apache License,
// Version 2.0 (the "License"); you may not use this file e... |
package okhttp3.spring.boot;
import java.net.ProxySelector;
import java.net.Socket;
import java.time.Duration;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.springframework.boot.context.properties.ConfigurationProperties;
import lombok.Data;
import okhttp3.ConnectionPool;
import... |
package com.digitalchannelforum.drupalcon.model;
import com.digitalchannelforum.drupalcon.model.data.Event;
import com.digitalchannelforum.drupalcon.model.data.Speaker;
import com.digitalchannelforum.drupalcon.model.data.TimeRange;
import com.digitalchannelforum.drupalcon.model.data.Track;
import com.digitalchannelfor... |
/**
* Copyright 2017 LinkedIn Corp. 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... |
package io.deephaven.db.v2;
import io.deephaven.base.FileUtils;
import io.deephaven.datastructures.util.CollectionUtil;
import io.deephaven.datastructures.util.SmartKey;
import io.deephaven.io.logger.Logger;
import io.deephaven.io.logger.StreamLoggerImpl;
import io.deephaven.db.tables.ColumnDefinition;
import io.deeph... |
/*
* Copyright 2011 castLabs, Berlin
*
* 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 o... |
/**
* TLS-Attacker - A Modular Penetration Testing Framework for TLS
*
* Copyright 2014-2017 Ruhr University Bochum / Hackmanit GmbH
*
* Licensed under Apache License 2.0
* http://www.apache.org/licenses/LICENSE-2.0
*/
package de.rub.nds.tlsattacker.core.https;
import de.rub.nds.tlsattacker.core.constants.Proto... |
// Targeted by JavaCPP version 1.5.6: DO NOT EDIT THIS FILE
package org.bytedeco.ale;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import static org.bytedeco.ale.global.ale.*;
@Opaque @Properties(inherit = org.byt... |
package com.iqarr.maven.plugin.utils;
import java.io.File;
import java.util.List;
import com.iqarr.maven.plugin.constant.JCVConstant;
import com.iqarr.maven.plugin.domain.JCVConfig;
import com.iqarr.maven.plugin.domain.JCVFileInfo;
import com.iqarr.maven.plugin.domain.JCVMethodEnum;
/**
* @author
* zhangyo... |
package com.example.projectsix;
public class NewsData {
private String mTitle;
private String mSectionName;
private String mWebURL;
private String mDate;
private String mTime;
private String mAuthor;
public NewsData(String title, String webUrl, String sectionName, String date, String tim... |
package seedu.address.storage;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import seedu.address.commons.exceptions.IllegalValueException;
import seedu.address.model.classid.ClassId;
import seedu.address.model.note.ClassType;
import seedu.address.model.not... |
package edu.iastate.metnet.metaomgraph.ui;
import java.awt.EventQueue;
import java.awt.Font;
import javax.swing.JInternalFrame;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JLabel;
import java... |
package elucent.rootsclassic.item;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.init.Items;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public class ItemBowlFood extends ItemFood {
public ItemBowlFood(int amount, float saturation)... |
package org.blackdev.bloodbank_college;
import android.content.Intent;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Adapter;
import android.widget.AdapterView;
import android.widget.EditText;
import android.widge... |
/*
* The MIT License
*
* Copyright 2015 misakura.
*
* 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 without limitation the rights
* to use, copy, modify... |
package com.example;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
@RunWith(SpringRunner.class)
@SpringBootTest
public class SpringBootAngular2ApplicationTests {
@Test
public void con... |
/*
* 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 net.bytebuddy.instrumentation.attribute;
import net.bytebuddy.instrumentation.attribute.annotation.AnnotationAppender;
import net.bytebuddy.instrumentation.field.FieldDescription;
import net.bytebuddy.instrumentation.type.TypeDescription;
import org.objectweb.asm.FieldVisitor;
import java.lang.annotation.Anno... |
package cn.wildfirechat.app.github.pojo;
import com.google.gson.Gson;
public class PullRequestEvent {
public PullRequest pull_request;
public Repository repository;
public User sender;
public static PullRequestEvent fromJson(String jsonStr) {
return new Gson().fromJson(jsonStr, PullRequestEve... |
//
// OpenForecast - open source, general-purpose forecasting package.
// Copyright (C) 2002-2011 Steven R. Gould
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// ve... |
package yang.weiwei.tools;
import java.io.IOException;
import yang.weiwei.preprocess.Tokenizer;
public class ToolTokenizer extends ToolInterface
{
private String modelFileName="";
private String corpusFileName="";
private String outputFileName="";
public void parseCommand(String[] args)
{
help=findArg("--he... |
package com.siriusxi.ms.store.ps;
import com.siriusxi.ms.store.api.core.product.Product;
import com.siriusxi.ms.store.ps.controller.ProductMapper;
import com.siriusxi.ms.store.ps.persistence.ProductEntity;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.*;
public class MapperTests {... |
package com.ws.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ws.bean.Sys_record_commissioner;
import org.springframework.stereotype.Repository;
@Repository
public interface CommissionerMapper extends BaseMapper<Sys_record_commissioner> {
}
|
package eu.datlab.worker.parser;
import eu.datlab.dataaccess.dao.DAOFactory;
import eu.datlab.dataaccess.dto.parsed.ParsedBudgetItem;
import eu.dl.dataaccess.dao.ParsedDAO;
import eu.dl.dataaccess.dao.RawDAO;
import eu.dl.dataaccess.dao.TransactionUtils;
import eu.dl.dataaccess.dto.raw.RawData;
import eu.dl.worker.par... |
/**
* Copyright (C) 2015 The Gravitee team (http://gravitee.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 requ... |
/*
* 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 ... |
/*
Copyright 2018 The Trustees of University of Arizona
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 applica... |
package com.ketai.gmall.pms.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.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 品牌
*
*... |
/*
* Copyright (C) 2021 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) 2017-2018 THL A29 Limited, a Tencent company. 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
*
* http://www.apache.org/licenses/LICENSE-2.0
... |
package com.zshuai.util;
import com.zshuai.pojo.Comment;
import org.springframework.beans.BeanUtils;
import java.util.ArrayList;
import java.util.List;
/**
* 评论格式化工具
*/
public class CommentUtil {
/**
* 循环每个顶级的评论节点
* @param comments
* @return
*/
public static List<Comment> eachComment(Li... |
package cells;
public class ForagingAntsCell extends CellWithPatch {
private boolean myFoodItem;
private int myNestPheromones;
private int myFoodPheromones;
private int myLives;
private int[] myNeighborLocations;
private int myNumberOfAnts;
private boolean isNest;
private boolean isFoo... |
/*
* Copyright 2014-2017 See AUTHORS file.
*
* 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 agr... |
/*
* Copyright 2017 Apereo
*
* 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 wr... |
package com.bankass.bankass.model;
import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import c... |
package cn.hutool.json;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;
import org.junit.Assert;
import org.junit.Test;
import cn.hutool.core.collection.CollectionUtil;
import cn.hutool.core.date.DateUtil;
import cn.hutool.core.map.MapUtil;
import cn.hu... |
package an.devhp.ui.fragment.select.android.db;
import android.os.Bundle;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Toast;
import java.util.Arra... |
/**
* vertigo - application development platform
*
* Copyright (C) 2013-2020, Vertigo.io, team@vertigo.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/li... |
/*
* Copyright 2017-2022 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 "licen... |
package everyos.browser.spec.jcss.intf;
public interface StyleSheet {
String getType();
String getHref();
Object getOwnerNode();
CSSStyleSheet getParentStyleSheet();
String getTitle();
MediaList getMedia();
boolean getDisabled();
boolean setDisabled(boolean disabled);
}
|
/*! ******************************************************************************
*
* Hop : The Hop Orchestration Platform
*
* http://www.project-hop.org
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you ... |
package intensiveteamhslee;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import feign.Param;
@RepositoryRestResource(collectionResourceRel="marketings", path="marketings")
public interface MarketingRepository exte... |
package tools;
import java.awt.Graphics;
import java.awt.event.KeyEvent;
import java.awt.event.MouseEvent;
import java.awt.event.MouseWheelEvent;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import backgroundThreads.Thumbnail_Reader;
import main.Data_Access;
import main.IMP;
import file.Inp... |
/*
* Copyright 2016, gRPC Authors 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... |
/*
* 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 n... |
package org.springframework.transaction.config;
import java.io.Serializable;
import org.springframework.transaction.annotation.Transactional;
/**
* @author Rob Harrop
* @author Juergen Hoeller
*/
@SuppressWarnings("serial")
public class TransactionalService implements Serializable {
@Transactional("synch")
p... |
package org.robolectric.fakes;
import android.webkit.WebSettings;
/**
* Robolectric implementation of {@link android.webkit.WebSettings}.
*/
public class RoboWebSettings extends WebSettings {
private boolean blockNetworkImage = false;
private boolean javaScriptEnabled = false;
private boolean javaScriptCanOpe... |
package spelling;
import java.util.LinkedList;
/**
* A class that implements the Dictionary interface using a LinkedList
*
*/
public class DictionaryLL implements Dictionary {
private LinkedList<String> dict;
private int size;
// TODO: Add a constructor
public DictionaryLL() {
dict = n... |
package io.home.service;
import io.home.model.LogFile;
import io.home.model.Profile;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Supplier;
public class ProfileRunner implements S... |
package net.minecraft.client.model;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.passive.EntityOcelot;
import net.minecraft.util.MathHelper;
public class ModelOcelot extends ModelBase {
/** The back ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.