text stringlengths 3.08k 15.2k |
|---|
package juejin.netty.netty.client;
import io.netty.bootstrap.Bootstrap;
import io.netty.channel.*;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
import io.netty.util.AttributeKey;
import juejin.netty.netty.codec.MyProto... |
package eu.the5zig.mod.gui;
import com.google.common.collect.Lists;
import eu.the5zig.mod.I18n;
import eu.the5zig.mod.The5zigMod;
import eu.the5zig.mod.gui.elements.IButton;
import eu.the5zig.mod.gui.elements.IFileSelector;
import eu.the5zig.mod.gui.elements.ITextfield;
import eu.the5zig.mod.util.FileSelectorCallback;... |
package com.jshell;
import java.lang.annotation.Annotation;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.lang.reflect.Parameter;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
im... |
package detNodulos;
import detNodulos.util.Util;
import javafx.scene.control.Alert.AlertType;
import javafx.scene.image.Image;
import javafx.scene.image.PixelReader;
import javafx.scene.image.PixelWriter;
import javafx.scene.image.WritableImage;
import javafx.scene.paint.Color;
public class Segmentacao {
public ... |
package com.a007.robot.icanhelp.Login;
import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import and... |
package org.xfh.mid.db.po;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import org.apache.tomcat.util.buf.StringUtils;
/**
* 商品实例表. 每一个模型对应多个实例, 两者是 1:n的关系
*
* @author cys
*
*/
public class Product {
public static final int ST... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2015 <NAME>
*
* 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 us... |
package com.pzp.manage.test;
import com.pzp.manage.bean.es.EsIndexFail;
import com.pzp.manage.bean.es.EsIndexSuccess;
import com.pzp.manage.bean.es.EsResult;
import com.pzp.manage.bean.User;
import com.pzp.manage.util.JsonUtil;
import org.junit.Test;
/**
* <p>Project: pzp-operation-manage-system</p>
* <p>Package: c... |
// The MIT License (MIT)
// Copyright © 2015 AppsLandia. All rights reserved.
// 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
... |
package com.acme;
import java.net.HttpURLConnection;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import com.acme.dto.Records;
import com.acme.dto.RecordsResponse;
import com.acme.dto.StringDisplayType;
import com.acme... |
package org.researchstack.backbone.ui.views;
import android.annotation.TargetApi;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.DashPathEffect;
import android.graphics.Paint;
import android.util.AttributeSet;
import android.view.View;
import org... |
package de.jdaclient;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import de.jdaclient.entities.JDAClientInfo;
import de.jdaclient.entities.JDAClientSelfInfo;
import de.jdaclient.utils.DiscordTimeUtil;
import de.jdaclient.utils.Request;
import de.jdaclient.utils.enums.DiscordCode;
import de.j... |
/**
* Project Name:java11_in_action
* File Name:StringToDate.java
* Package Name:luozix.start.java8.problems.string
* Date:2021年2月28日下午6:43:31
* Copyright (c) 2021, <EMAIL> All Rights Reserved.
*
*/
/**
* @Title: StringToDate.java
* @Package luozix.start.java8.problems.string
* @Description... |
/**
* The MIT License (MIT)
*
* Copyright (c) 2015 <NAME>
*
* 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... |
package org.apache.nutch.fetch;
import org.apache.commons.codec.digest.DigestUtils;
import org.apache.hadoop.conf.Configuration;
import org.apache.nutch.fetch.data.FetchTask;
import org.apache.nutch.fetch.service.FetchResult;
import org.apache.nutch.metadata.Nutch;
import org.apache.nutch.protocol.Protocol;
import org... |
package weathersim.base;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import weathersim.orography.Orography;
import weathersim.orography.api.Coordinate;
import weathersim.util.LookupTable;
public class Grid {
priv... |
/*
* Copyright (C) 2016, Google Inc.
* and other copyright owners as documented in the project's IP log.
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Distribution License v1.0 which
* accompanies this distribution, is reproduced below, and is
* available at ... |
/*
* #!
* Ontopia Engine
* #-
* Copyright (C) 2001 - 2013 The Ontopia 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... |
/*******************************************************************************
* Copyright 2011 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.apa... |
/**
* 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 fr.stack.grosmanginvo.ascastdemo.services;
import fr.stack.grosmanginvo.ascastdemo.models.*;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestClientException;
import java.util.LinkedList;
import java.util.List;
import java.util.Objects;... |
package simulation.SlimeMolds;
import java.util.Comparator;
import java.util.List;
import cells.ThreeStateCell;
import cellsociety_team13.Location;
import cellsociety_team13.Society;
import javafx.scene.paint.Color;
public abstract class SlimeMoldsCell extends ThreeStateCell {
public static final int prioritySlime ... |
/*
* CKFinder
* ========
* http://cksource.com/ckfinder
* Copyright (C) 2007-2015, CKSource - <NAME>. All rights reserved.
*
* The software, this file and its contents are subject to the CKFinder
* License. Please read the license.txt file before using, installing, copying,
* modifying or distribute this file o... |
package com.shang.app.apiVersion;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;
import org.springframework.web.method.HandlerMethod;
import org.springframework.web.servlet.ModelAndView;
import org.s... |
package org.lcsim.recon.tracking.seedtracker;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.lcsim.constants.Constants;
import org.lcsim.fit.helicaltrack.HelicalTrackHit;
import org.lcsim.geometry.subdetector.BarrelEndcapFlag;
/**
*
* @author <NAME>
*/... |
package com.touyan.investment.adapter;
import android.content.Context;
import android.os.Handler;
import android.os.Message;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.LinearLayout;
import android.widge... |
package com.gmail.woodyc40.minions.data;
import com.eatthepath.uuid.FastUUID;
import com.gmail.woodyc40.minions.Minions;
import com.gmail.woodyc40.minions.mode.Mode;
import com.gmail.woodyc40.minions.mode.ModeProvider;
import com.gmail.woodyc40.minions.mode.ModeType;
import com.zaxxer.hikari.HikariDataSource;
import o... |
import org.junit.Test;
import sh.hell.jsmtp.client.SMTPClient;
import sh.hell.jsmtp.content.SMTPAddress;
import sh.hell.jsmtp.content.SMTPContent;
import sh.hell.jsmtp.content.SMTPEncoding;
import sh.hell.jsmtp.content.SMTPMail;
import sh.hell.jsmtp.content.SMTPMultipartContent;
import sh.hell.jsmtp.content.SMTPTextCon... |
package schmitt_florian.schoolplanner.gui;
import android.content.Context;
import android.content.Intent;
import android.content.pm.ActivityInfo;
import android.net.Uri;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.v4.app.Fragment;
import android.support.v7.widget.Toolbar... |
package com.mixpanel.android.mpmetrics;
import android.content.Intent;
import java.util.List;
/* package */ class MixpanelNotificationData {
public static final int NOT_SET = -1;
public static final String DEFAULT_CHANNEL_ID = "mp";
private int mIcon = NOT_SET;
private int mWhiteIcon = NOT_SET;
... |
/*******************************************************************************
* © Copyright 2017-2022 Micro Focus or one of its affiliates.
* 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 Licen... |
package richellin.revien.android.viewmodel;
import android.content.Context;
import android.databinding.ObservableField;
import android.databinding.ObservableInt;
import android.support.annotation.NonNull;
import android.view.View;
import com.google.gson.Gson;
import java.text.DateFormat;
import java.text.ParseExcept... |
package com.skscd91.advent2016.advents;
import java.io.BufferedReader;
import java.util.*;
import java.util.function.BooleanSupplier;
import java.util.regex.*;
import java.util.stream.Stream;
/**
* Created by <NAME> on 12/11/16.
* Find the minimum number of steps to move all the equipment to the top floor.
*/
publ... |
package com.sailthru.android.sdk.impl.client;
import android.content.Context;
import com.sailthru.android.sdk.impl.utils.SecurePreferences;
/**
* Created by <NAME> on 5/20/14.
*
* Stores and manages client data using Secure Preferences
*/
public class AuthenticatedClient {
private static AuthenticatedClient... |
package com.zhixin.rd.memory.web.controller.wjdc;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.commons.beanutils.PropertyUtils;
import org.springframework.beans.factory.annotation... |
/**
* MIT License
*
* Copyright (c) 2020, 2021 <NAME>
*
* 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, mo... |
/*
* Copyright (c) 2016, The Dattack team (http://www.dattack.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 requi... |
package org.javers.repository.jql;
import org.javers.common.collections.Lists;
import org.javers.common.validation.Validate;
import org.javers.core.metamodel.object.CdoSnapshot;
import org.javers.shadow.Shadow;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.*;
import java.util.stream.Stream... |
/*******************************************************************************
* This software is provided as a supplement to the authors' textbooks on digital
* image processing published by Springer-Verlag in various languages and editions.
* Permission to use and distribute this software is granted under the B... |
package com.brg.controller;
import com.brg.BusinessRuleGenerator;
import com.brg.ServiceProvider;
import javafx.application.Application;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.FXMLLoader;
import j... |
/*
* Copyright 2003 - 2019 The eFaps Team
*
* 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 ... |
package br.skylight.cucs.plugins.vehiclecontrol;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import br.skylight.commons.CUCSControl;
import br.skylight.commons.ControllableElement;
import br.skylight.commons.Payload;
import br.skylight.commons.StringH... |
/*
* act.web.api
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: v1
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class man... |
/**
* MIT License
Copyright (c) 2015 <NAME>
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, merge, publish, ... |
/*
* Copyright (c) 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 appl... |
/* Copyright (c) 2006 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... |
/*
* Copyright 2018 <NAME>.
*
* 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 ... |
package selim.rifts.gui;
import java.io.IOException;
import java.util.List;
import org.lwjgl.input.Mouse;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.GuiButton;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import selim.rifts.api.docs.Doc... |
package strategy;
import model.*;
import java.util.*;
public class Status {
private int resource; // count of resource
private int populationUse; // population that user use
private int populationProvide; // population that buildings provide
private int houseSize; // size of HOUSE
private int bas... |
/* Copyright © 2014 <NAME>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following discla... |
package com.android.jtblk;
import android.support.test.runner.AndroidJUnit4;
import android.util.Log;
import com.android.jtblk.client.Remote;
import com.android.jtblk.client.Transaction;
import com.android.jtblk.client.bean.Account;
import com.android.jtblk.client.bean.AccountInfo;
import com.android.jtblk.c... |
/**
** Copyright 2016 General Electric Company
**
**
** 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... |
package net.eymbra.entities.model;
import net.eymbra.entities.IchthyosaurusEntity;
import net.minecraft.client.model.ModelPart;
import net.minecraft.client.render.VertexConsumer;
import net.minecraft.client.render.entity.model.EntityModel;
import net.minecraft.client.util.math.MatrixStack;
public class IchthyosaurusE... |
package vn.iadd.oim.user.test;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
impor... |
/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2017 by <NAME> : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "Lic... |
package com.majruszs_difficulty.events.undead_army;
import com.majruszs_difficulty.Instances;
import com.majruszs_difficulty.RegistryHandler;
import com.mlib.TimeConverter;
import com.mlib.WorldHelper;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.nbt.C... |
/**
* jVT220 - Java VT220 terminal emulator.
*
* (C) Copyright 2012 - <NAME>, <<EMAIL>>.
*/
package nl.lxtreme.jvt220.terminal.vt220;
import java.io.*;
import junit.framework.*;
/**
* Test cases for {@link VT220Terminal}.
*/
public class VT220TerminalTest extends TestCase
{
// VARIABLES
private VT220Ter... |
package controls.body;
import adapters.*;
import javafx.geometry.*;
import javafx.scene.Node;
import javafx.scene.control.*;
import javafx.scene.layout.*;
public final class FrontUpdatePassControls implements IFrontUpdatePassControls
{
private final Label updatePassHeaderLabel;
private final Label studIdLabe... |
// Copyright (c) 1996-99 The Regents of the University of California. All
// Rights Reserved. Permission to use, copy, modify, and distribute this
// software and its documentation without fee, and without a written
// agreement is hereby granted, provided that the above copyright notice
// and this paragraph appear in... |
/*
* Copyright 2017 wshunli
*
* 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 ... |
package fca.gui.rule;
import java.util.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.Icon;
import javax.swing.table.AbstractTableModel;
import fca.core.rule.Rule;
import fca.gui.util.constant.LMIcons;
import fca.messages.GUIMessages;
public class RuleTableModel extends Abstra... |
/**
* Copyright 2015 Confluent 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 ... |
/*
* Copyright © 2017, 2018 IBM 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 ... |
package signature.my;
import org.apache.commons.codec.binary.Base64;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncoding... |
package com.example.bookswap;
import android.app.Notification;
import android.content.Intent;
import android.support.design.widget.TabLayout;
import android.support.v4.app.NotificationCompat;
import android.support.v4.app.NotificationManagerCompat;
import android.support.v4.view.ViewPager;
import android.support.v7.ap... |
package net.cmlzw.nineteen.controller;
import net.cmlzw.nineteen.domain.Quiz;
import net.cmlzw.nineteen.domain.Token;
import net.cmlzw.nineteen.domain.TokenType;
import net.cmlzw.nineteen.domain.User;
import net.cmlzw.nineteen.repository.QuizRepository;
import net.cmlzw.nineteen.repository.TokenRepository;
import net.... |
/*
* Copyright 2003 by the Massachusetts Institute of Technology.
*
* Permission to use, copy, modify, and distribute this
* software and its documentation for any purpose and without
* fee is hereby granted, provided that the above copyright
* notice appear in all copies and that both that copyright
* notice an... |
package assimp.common;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
/**
* Defines bitmap format helper for textures.<p>
* Used for file formats which embed their textures into... |
package com.ticka.application;
import android.Manifest;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android... |
package sample.math;
public class KomplexeZahlKartesisch {
private double real;
private double imag;
public KomplexeZahlKartesisch() {
real = 0.0;
imag = 0.0;
}
public KomplexeZahlKartesisch(double real, double imag) {
this.real = real;
this.imag = i... |
/*
* Copyright (c) 2020, VRAI Labs and/or its affiliates. All rights reserved.
*
* This software is licensed under the Apache License, Version 2.0 (the
* "License") as published by the Apache Software Foundation.
*
* You may not use this file except in compliance with the License. You may
* obtain a copy of the ... |
package com.it.soul.lab.unit.test;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import com.it.soul.lab.connect.JDBConnection;
import co... |
/*
* Copyright(c) 2020 <NAME> (AuroraLS3)
*
* The MIT License(MIT)
*
* 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 u... |
package com.serenegiant.muxer;
/*
* AudioVideoRecordingSample
* Sample project to cature audio and video from internal mic/camera and save as MPEG4 file.
*
* Copyright (c) 2014-2015 saki <EMAIL>
*
* File name: AndroidMediaMuxer.java
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may ... |
package ACM.AccordianPatience;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Stack;
/**
* Created with IntelliJ IDEA.
* User:ChengLiang
* Date:2017/7/13
* Time:19:00
* <p>
* 把52张牌从左到右排好,每张牌自成一个牌堆(pile)。当某张牌与它左边那张牌或者
* 左边第3张牌“match”(花色suit或者点数rank相同)时,就把这张牌移到那张牌上面。移动之
* 后还要查看是否可以进行其他... |
package org.clinical3PO.learn.fasta;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.nio.charset.Charset;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeMap;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.io.NullW... |
/* ###
* IP: GHIDRA
*
* 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 writin... |
package contest.y2021.m04.dw;
/**
* @Author: 轩辕龙儿
* @Date: 2021/4/17 22:13
* @Description:
*/
public class SolutionD50 {
public int minOperations(int[] nums) {
int left = nums[0] - 1;
int sum = 0;
for (int num : nums) {
if (num <= left) {
sum += left - num + ... |
package com.canoetravel.entities;
import java.sql.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
@Entity
@Table(name = "flight_info")
public class Fl... |
package org.smartcactus.kluegir;
import edu.umass.cs.ciir.cluetator.ClueToken;
import edu.umass.cs.ciir.cluetator.DocumentReader;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import java.io.IOException;
import java.util.*;
/**
* User: dietz
* * Date: 3/5/15
* Time: 12:15 PM
*/
p... |
/*
* Copyright 2000-2017 JetBrains s.r.o.
*
* 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 es.upm.oeg.librairy.nlp.service.annotator;
import com.google.common.base.CharMatcher;
import com.google.common.base.Strings;
import es.upm.oeg.librairy.nlp.annotators.ixa.*;
import es.upm.oeg.librairy.nlp.annotators.wordnet.*;
import es.upm.oeg.librairy.nlp.error.LanguageNotFoundException;
import eus.ixa.ixa.p... |
package api;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import com.google.gson.Gson;
import com.wordnik.swagger.annotations.Api;
import com.wor... |
package com.boubei.tssx.wx;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.httpclient.HttpClient;
import org.apache.commons.httpclient.HttpException;
import org.apache.commons.httpc... |
package pers.brian.mall.modules.ums.controller;
import cn.hutool.core.collection.CollUtil;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springfr... |
/*
* 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 cn.detach.api.builder;
import cn.detach.api.annoation.RemoteApi;
import cn.detach.api.annoation.RemoteApiBody;
import cn.detach.api.annoation.RemoteForm;
import cn.detach.api.annoation.RemoteHeader;
import cn.detach.api.annoation.RemoteParameter;
import cn.detach.api.annoation.RemoteUrl;
import cn.detach.api.c... |
// Copyright 2019 Google LLC
//
// 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 or agreed to in ... |
package com.example.snowtamair.view;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.net.Uri;
import android.os.Bundle;
import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;
import android.util.Log;
import android.view.Layout... |
/**
* Copyright © 2015, University of Washington
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this ... |
/*-------------------------------------------------------------------------
* rbe.ImageReader.java
* <NAME>
* 10/5/99
*
* ECE902 Fall '99
*
* TPC-W emulated browser.
*------------------------------------------------------------------------
*
* This is part of the the Java TPC-W distribution,
* written by <NA... |
package com.same.lib.checkbox;
import android.animation.ObjectAnimator;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import an... |
package org.gwtbootstrap3.demo.client.application.extras;
/*
* #%L
* GwtBootstrap3
* %%
* Copyright (C) 2013 - 2015 GwtBootstrap3
* %%
* 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
... |
package com.gempukku.swccgo.cards.set213.light;
import com.gempukku.swccgo.cards.AbstractUsedInterrupt;
import com.gempukku.swccgo.cards.GameConditions;
import com.gempukku.swccgo.common.Icon;
import com.gempukku.swccgo.common.Side;
import com.gempukku.swccgo.common.TargetingReason;
import com.gempukku.swccgo.common.U... |
package cn.edu.neu.controller;
import cn.edu.neu.pojo.*;
import cn.edu.neu.service.BedService;
import cn.edu.neu.service.FloorService;
import cn.edu.neu.service.StructureService;
import cn.edu.neu.service.WardService;
import cn.edu.neu.service.impl.BedServiceImpl;
import cn.edu.neu.service.impl.FloorServiceImpl;
impor... |
/**
* ModifiedSequenceBuilder.java
* @author <NAME>
* Jul 30, 2009
* @version 1.0
*/
package org.yeastrc.ms.service;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.yeastrc.ms.domain.search.MsResidueModification;
import... |
/*******************************************************************************
"FreePastry" Peer-to-Peer Application Development Substrate
Copyright 2002-2007, Rice University. Copyright 2006-2007, Max Planck Institute
for Software Systems. All rights reserved.
Redistribution and use in source and binary forms, ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.lucasramon.inmte;
import javax.swing.JOptionPane;
import com.lucasramon.inmte.RelatórioMetereológico;
/**
*
* @author Luc... |
/*
*
* License Terms
*
* Copyright (c) 2013-2016, California Institute of Technology ("Caltech").
* U.S. Government sponsorship acknowledged.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... |
/*
* Copyright 2018 <NAME>
*
* 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, merge, publish, distribute, subl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.