text
stringlengths
3.08k
15.2k
package cc.fasttext.io; import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.UncheckedIOException; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.util.*; import java.util.stream.Stream; import java.util.stream.StreamSupport; /** * Th...
package com.wisdom.common.adapter; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.TypeReference; import com.wisdom.common.tools.request.RequestUtil; import com.wisdom.config.dto.HttpModelDto; import com.wisdom.config.enums.HttpEnum; import com.wisdom.config.except...
package blockmatrix.controllers; import java.security.PrivateKey; import java.security.PublicKey; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Map; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import org.springframework.beans.factory.annotation.A...
package com.wokebryant.anythingdemo.laifeng.newerchannel.presenter; import android.util.Log; import com.wokebryant.anythingdemo.laifeng.newerchannel.NewerChannelContract; import com.wokebryant.anythingdemo.laifeng.newerchannel.NewerChannelUtil; import com.wokebryant.anythingdemo.laifeng.newerchannel.interactor.NewerC...
/******************************************************************************* * Copyright 2011, 2012 <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.or...
package com.example.demo.db; import com.example.demo.PayrollApplication; import com.example.demo.config.TestContainersConfig; import com.example.demo.defaultapp.model.Animal; import com.example.demo.defaultapp.model.Bird; import com.example.demo.defaultapp.model.Feline; import com.example.demo.defaultapp.model.Zoo; im...
package jp.sinya.transition.demo.library.expose.base; import android.content.Context; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.PorterDuff; import android.graphics.PorterDuffXfermode; import android.graphics.RectF; import android.graphics.Xfe...
package com.github.forkerknights; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.Button; impo...
/* * 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-2019 Icbcom * * 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 t...
package com.example.activity_assistant_logger; import android.content.Context; import android.os.FileUtils; import java.io.BufferedReader; import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IO...
package webcrypt.crypto; /** * The LinearTrans Kernel is an alphabetic block cipher of arbitrary sized * (but not too big because of the slow alogorithm used for matrix inversion) * text blocks. Blocks of letters are considered to be base-26 vectors * thus the block * * BAMBA = (1,0,12,1,0) (mod ...
package chapter15.landscape; import java.awt.Color; import java.awt.Font; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.io.File; import ja...
package org.opt4j.optimizers.ea.aeseh; import java.util.ArrayList; import java.util.Collection; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Random; import java.util.Set; import org.opt4j.core.Individual; import org.opt4j.core.Objective; import org.opt4j.core.Objectives; imp...
import java.util.Random; import java.util.List; import java.util.LinkedList; public class TreeTest { private static Node<String> createTree() { Node<String> root = new Node<>("root"); Node<String> node1 = root.addChild(new Node<String>("node 1")); Node<String> node11 = node1.addChild(new Node<...
package com.example.tictactoe; import android.annotation.SuppressLint; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Paint; import android.util.AttributeSet; import android.view.MotionEvent; import android.view.View; import android.widget...
/* * 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 finalProject; import java.util.Random; /** * * @author josht */ public class Carnivore { // we need variab...
package com.opencore.dsfinvk.models.kassenabschluss; import java.math.BigDecimal; import java.util.StringJoiner; import javax.validation.constraints.Digits; import javax.validation.constraints.NotNull; import javax.validation.constraints.Positive; import javax.validation.constraints.Size; import com.opencore.dsfinvk....
/* * Copyright 2009 <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 writin...
/* * 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.client4j.publisher.server; import ca.weblite.tools.io.ArchiveUtil; import ca.weblite.tools.io.FileUtil; import ca.weblite....
// Copyright (C) 2017 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 applicable ...
/* * Copyright (c) 2005-2011 Grameen Foundation USA * 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 * * Unl...
package com.example.construct360deg.model; import java.sql.Blob; public class AllUsers { private int userid; public String getCususername() { return cususername; } public void setCususername(String cususername) { this.cususername = cususername; } String cususername; priv...
package com.example.walkinclinic; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.EditText; import android.widget.ListView; import android.widget.Button; import android.widget.Spinner; import android.widget.Toast; import androidx.appcompat.app.AppCompatActi...
package intellij_awk; import com.intellij.codeInsight.completion.InsertHandler; import com.intellij.codeInsight.lookup.Lookup; import com.intellij.codeInsight.lookup.LookupElement; import com.intellij.lang.ASTNode; import com.intellij.openapi.editor.EditorModificationUtil; import com.intellij.openapi.project.Project; ...
/******************************************************************************* * Copyright (c) 2004 Actuate Corporation. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is availabl...
package de.vitagroup.num.service; import de.vitagroup.num.domain.Cohort; import de.vitagroup.num.domain.CohortGroup; import de.vitagroup.num.domain.ProjectCategories; import de.vitagroup.num.domain.Type; import de.vitagroup.num.domain.admin.User; import de.vitagroup.num.domain.dto.ProjectDto; import de.vitagroup.num.d...
/* * Copyright 2012 <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 wr...
package com.project.convertedCode.globalNamespace.namespaces.Psy.namespaces.Reflection.classes; import com.runtimeconverter.runtime.passByReference.PassByReferenceArgs; import com.runtimeconverter.runtime.nativeFunctions.pcre.function_preg_replace; import com.runtimeconverter.runtime.classes.StaticBaseClass; import co...
package com.sixtyfour.extensions.x16; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import com.sixtyfour.elements.Variable; import com.sixtyfour.elements.commands.Command; import com.sixtyfour.elements.functions.Function; im...
/** * SqlJetPragmasHandler.java * Copyright (C) 2009-2010 TMate Software Ltd * * This program 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; version 2 of the License. * * This program is distributed ...
package gNetInterface; import gNetwork.*; import gNetUtil.*; import gNetMenu.*; import java.io.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; public class GoConnection extends JDialog implements ActionListener { private String addressStr = ""; private String ...
/*----------------------------------------------------------------------------*/ /* Copyright (c) 2018 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
import java.awt.image.BufferedImage; import java.awt.image.PixelGrabber; import java.io.ByteArrayInputStream; import java.io.IOException; import javax.imageio.ImageIO; import net.runelite.mapping.Export; import net.runelite.mapping.ObfuscatedName; import net.runelite.mapping.ObfuscatedSignature; @ObfuscatedName("dw") ...
/** * Copyright (C) 2010-2012 <NAME> (aka r3gis - www.r3gis.fr) * This file is part of CSipSimple. * * CSipSimple 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 3 of the License, or *...
package org.telegram.bot.cbox; import org.telegram.bot.messaging.Emoticons; import org.telegram.bot.util.concurrent.Function; import org.telegram.bot.util.concurrent.IntegerFieldUpdater; import org.telegram.bot.util.concurrent.TimeProperty; import static org.telegram.bot.messaging.Emoticons.*; /** * @author ahmad ...
/* * MIT License * * Copyright (c) 2018 Tassu <<EMAIL>> * * 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, ...
/* * Copyright (C) 2012 <NAME> * * See the file LICENSE at the root directory of this project for copying * permission. */ package group.pals.desktop.app.apksigner.ui.prefs; import group.pals.desktop.app.apksigner.i18n.Messages; import group.pals.desktop.app.apksigner.i18n.R; import group.pals.desktop.a...
package edu.umn.cs.crisys.tb.codegen.common.emitters.Port.VMSharedMem; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; import org.stringtemplate.v4.ST; import org.stringtem...
import java.util.Scanner; /** * World class will use Player and Territory class to create methods. */ public class World { public static final Scanner keyboard = new Scanner(System.in); private Territory territory1; private Territory territory2; private Territory territory3; private Territory te...
/* * Copyright 2017 <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 w...
/** * Copyright 2012 <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 agree...
package com.hazelcast.samples.eureka.partition.groups; import com.hazelcast.nio.Address; import com.hazelcast.spi.discovery.DiscoveryNode; import com.hazelcast.spi.discovery.SimpleDiscoveryNode; import com.hazelcast.spi.discovery.integration.DiscoveryService; import lombok.extern.slf4j.Slf4j; import org.springframewor...
package io.hyperfoil.core.handlers; import java.util.function.Consumer; import java.util.function.Function; import org.kohsuke.MetaInfServices; import io.hyperfoil.api.config.BenchmarkDefinitionException; import io.hyperfoil.api.config.InitFromParam; import io.hyperfoil.api.config.Locator; import io.hyperfoil.api.co...
package com.smalldata.rater; import android.Manifest; import android.app.AlertDialog; import android.app.ProgressDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphi...
/* * Copyright 2004 Outerthought bvba and Schaubroeck nv * * 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) 2018 - Manifold Systems 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
/* * Copyright 2007 Outerthought bvba and Schaubroeck nv * * 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...
package com.wvkity.mybatis.core.snowflake.sequence; import com.wvkity.mybatis.core.snowflake.clock.MillisecondsClock; import com.wvkity.mybatis.core.snowflake.factory.ElasticSequenceFactory; import java.time.Instant; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; i...
package li.strolch.utils; import javax.mail.*; import javax.mail.internet.AddressException; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import java.io.UnsupportedEncodingException; import java.text.MessageFormat; import java.util.*; import java.util.stream.Collectors; import or...
package io.opensphere.wps; import java.util.Collection; import java.util.Collections; import org.apache.commons.lang3.StringUtils; import io.opensphere.core.PluginLoaderData; import io.opensphere.core.Toolbox; import io.opensphere.core.api.adapter.PluginAdapter; import io.opensphere.core.event.EventListene...
package org.foney.lovespace.model; import java.util.Date; import javax.persistence.Column; import javax.persistence.Embeddable; /** * LoveToldId entity. @author MyEclipse Persistence Tools */ @Embeddable public class LoveToldId implements java.io.Serializable { // Fields private Integer id; private String name...
package me.axieum.mcmod.minecord.api.util; import java.text.CharacterIterator; import java.text.StringCharacterIterator; import java.util.Optional; import java.util.function.Function; import java.util.regex.MatchResult; import java.util.regex.Pattern; import com.vdurmont.emoji.EmojiParser; import net.dv8tion.jda.api....
package franco.gutierrez.ie.instagramfg.Fragments; /** * Created by Franco on 9/17/2016. */ import android.content.Context; import android.net.Uri; import android.os.Bundle; import android.support.annotation.Nullable; import android.support.v4.app.Fragment; import android.support.v7.widget.LinearLayoutManager; impo...
/* * Copyright (c) 2010-2015 Pivotal Software, Inc. 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 req...
package au.gov.qld.fire.jms.uaa.domain.firu; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.IdClass; import javax.persistence.Table; import javax.persistence.Temporal; import javax.persistence.TemporalType; impo...
/* * Generated by the Jasper component of Apache Tomcat * Version: Apache Tomcat/7.0.47 * Generated at: 2016-07-06 20:58:44 UTC * Note: The last modified time of this file was set to * the last modified time of the source file after * generation to assist with modification tracking. */ package org.ap...
/* * Copyright 2021 <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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
/* * Copyright 2018 The Feast 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
package com.pendola.touchsynth; import uk.org.mangotsfieldschool.t.aylott.butonsound.R; import android.annotation.SuppressLint; import android.app.Activity; import android.media.AudioFormat; import android.media.AudioManager; import android.media.AudioTrack; import android.os.Bundle; import android.view.Men...
/* * Copyright 2007 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 w...
/* * Copyright © 2005 - 2021 Schlichtherle IT Services. * All rights reserved. Use is subject to license terms. */ package net.java.truevfs.kernel.spec.mock; import edu.umd.cs.findbugs.annotations.DischargesObligation; import net.java.truecommons.cio.*; import net.java.truecommons.cio.Entry.Access; import net.java....
package com.gousade.utils; import com.itextpdf.text.Document; import com.itextpdf.text.DocumentException; import com.itextpdf.text.pdf.*; import javax.servlet.http.HttpServletResponse; import java.io.*; import java.util.Map; import java.util.Map.Entry; /** * 生成pdf文件工具类 */ public class GeneratePDFUtil { /** ...
package org.openidl.etl; import java.io.File; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.Set; import org.apache.commons.collections4.MultiMap; import org.apache.commons.lang3.StringUtils; i...
package cn.elwy.eplus.core.entity; import cn.elwy.common.entity.CommonEntity; public class GridInfo extends CommonEntity { private static final long serialVersionUID = 1L; private String gridCode; // 表格代码 private String columnCode; // 代码 private String columnName; // 名称 private String property; // 属性 private ...
/* $Id$ * * Copyright (c) 2016 <NAME> * All rights reserved. See LICENSE for details. */ package de.thaw.util; import java.io.Closeable; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import java.util.Proper...
/* * Copyright (c) IBM Corporation 2017. All Rights Reserved. * Project name: java-async-util * This project is licensed under the Apache License 2.0, see LICENSE. */ package com.ibm.asyncutil.flow; import java.io.IOException; import java.util.ArrayList; import java.util.List; import java.util.concurrent.Completable...
/* * 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 net.minecraft.command; import java.util.List; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.command.WrongUsageException; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.network.p...
/* * * This file is part of TokenManager, licensed under the MIT License. * * Copyright (c) Realized * Copyright (c) contributors * * 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...
/** * @author <NAME> * @email <EMAIL> * * Least-recently used (LRU) queue device * Clients and workers are shown here in-process * * While this example runs in a single process, that is just to make * it easier to start and stop the example. Each thread has its own * context and conceptually acts as a separat...
/* * Copyright 2002-2012 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
package cornflakes.compiler; import java.util.ArrayList; import static org.objectweb.asm.Opcodes.*; import java.util.List; import org.objectweb.asm.MethodVisitor; public class CompileUtils { public static class VariableDeclaration { private DefinitiveType variableType; private Object value; private Definitive...
/* Copyright 2009 NEERC 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 agreed t...
package com.github.oliverschen.olirpc.extension; import com.github.oliverschen.olirpc.annotaion.OliSPI; import com.github.oliverschen.olirpc.exception.OliException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.util.CollectionUtils; import org.springframework.util.StringUtils; im...
/** * 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 com.schemafactor.rogueserver.network; import java.net.*; import java.nio.charset.StandardCharsets; import java.io.*; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.schemafactor.rogueserver.common.JavaTools; import com.schemafactor.rogueserver.entities.clients.ClientTe...
package util; import java.util.Arrays; import java.util.Optional; import org.junit.Assert; import org.junit.Test; import net.imglib2.FinalInterval; import net.imglib2.Interval; import net.imglib2.RealPoint; import net.imglib2.util.Intervals; public class TestFieldOfViewUtil { public static Optional<double[]> noDo...
package engine; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ConcurrentLinkedQueue; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; /** * A task manager spawns a set of threads and manages them. Tasks can t...
package com.sihenzhang.crockpot.integration.jei.gui; import com.mojang.blaze3d.matrix.MatrixStack; import mezz.jei.api.gui.drawable.IDrawable; import net.minecraft.client.Minecraft; import net.minecraft.client.renderer.BufferBuilder; import net.minecraft.client.renderer.Tessellator; import net.minecraft.client.rendere...
/******************************************************************************* * Copyright (c) 2015, 2016, 2017, 2018 <NAME> * This project is free software: you can redistribute it and/or modify it under the terms of * the Apache License, Version 2.0. You can find a copy of the license at * http://www. apache.or...
package Preg1; import java.util.ArrayList; import java.util.Collections; import java.util.LinkedList; public class Arbol { private Nodo Raiz; public Arbol(int padre){ //Crea el árbol con raíz=padre Raiz = new Nodo(padre); } public void delHojaCercana(int x){ //** Preg 1. ...
package com.sensorsdata.analytics; import android.content.Context; import android.text.TextUtils; import android.util.Log; import com.sensorsdata.analytics.android.sdk.SAConfigOptions; import com.sensorsdata.analytics.android.sdk.SensorsAnalyticsAutoTrackEventType; import com.sensorsdata.analytics.android.sdk.Sensor...
package koroshiya.com.lswipe.adapters.abstracts; import android.content.Context; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.graphics.Color; import android.graphics.drawable.Drawable; import android.os.Build; import android.support.v7.app.AlertDialog; import android....
// Copyright 2008 Google Inc. 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 applicable...
/* * Copyright (c) 2010 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 ...
/* * 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 org.cidarlab.raven.communication; import java.io.File; import java.io.IOException; import java.io.PrintWriter; import java.uti...
package com.hanker.dsp_scheduler.ui; import processing.core.PApplet; import processing.core.PImage; import java.util.HashMap; public class ProcessingUI extends PApplet { int itemSize = 68; // Diameter of rect int itemX = 12; int itemY = 7; int itemLiquidSize = 38; int itemLiquidX = 15; in...
package com.sjitportal.home.portal; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; import android.util.Log; import android.view.LayoutInflater; import android.view.Menu; import android.v...
/* * Copyright 2015 Red Hat, Inc. and/or 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 License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
/* * 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 logic; import co.edu.uniandes.csw.partyServices.ejb.EventoLogic; import co.edu.uniandes.csw.partyServices.ejb.EventoPr...
/* * 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 org.reploop.translator.json.bean; import com.github.rvesse.airline.SingleCommand; import com.github.rvesse.airline.annotations.Command; import com.github.rvesse.airline.annotations.Option; import com.google.common.base.CaseFormat; import org.antlr.v4.runtime.CharStream; import org.antlr.v4.runtime.CharStreams;...
package org.broadinstitute.hellbender.tools.exome.germlinehmm; import org.apache.commons.math3.linear.MatrixUtils; import org.apache.commons.math3.linear.RealMatrix; import org.apache.commons.math3.util.FastMath; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.broadinstit...
/** * Copyright DataStax, Inc. * * Please see the included license file for details. */ package com.datastax.mgmtapi.resources; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.client.Entity; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; impor...
package com.spring1024.bean; import java.io.Serializable; /** * 查询条件 * * @author hss * */ public class BQueryVo implements Serializable { private static final long serialVersionUID = 1L; // 每页记录数 private Integer ps; // 每页显示数据的开始行号 private Integer offset; // 排序字段 private String sort; // 排序方式 private St...
package com.example.demo.controller; import com.alibaba.fastjson.JSON; import com.example.demo.dao.AddressDao; import com.example.demo.model.Address; import com.example.demo.model.LogisticRequest; import com.example.demo.service.AddressService; import com.example.demo.utils.*; import com.example.demo.vo.Query; import ...
/* * MIT License * * Copyright (c) 2016 BotMill.io * * 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, co...
package com.oguzdev.hnclient; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import org.jsoup.select.Elements; import java.io.IOException; import java.util.ArrayList; public class Comments { public static final int MAXIMUM_DEEPNESS = 50; private String pageUrl; private...
package com.svtlabs; import java.util.ArrayList; import java.util.BitSet; import java.util.Collections; import java.util.List; import java.util.TreeSet; class MoveHelper { static List<List<Move>> MOVES = new ArrayList<>(Board.SLOTS); private static final int[] ROW_LENGTHS = {3, 5, 7, 7, 7, 5, 3, 99}; // Map of...